FastAPI, Vue3, Postgres & Docker…

In some of my older (now removed) posts I’ve been a huge advocate of Rails… I still am as I believe it’s a great platform for developers to quickly get an application up and running, yet it’s a powerful framework which will hold string as the application grows. I believe this is still that case a I regularly get message on LinkedIn about roles needing Rails developers…unless we’re a dying breed 🙁

That said, I made the decision to change our tech stack at work, from Laravel with SQL to a 3-tier approach with FastAPI, Vue3 on the front end and a Postgresql database… containerised with Docker… and I can honestly say I’ve not looked back.

FastAPI takes a little getting used to, especially if you’ve never coded in Python before or if you’re used to a framework as it’s up to you on how you use can configure it – there’s a lot of flexibility, and while there are best practices, it still leaves you with so much room of manoeuvre.

On the flip side, if you’re used to using a framework you can follow some of the same structure (Models, Controllers, Routes etc.) and keep it familiar.

we’re about to record a series of screencasts where we’ll build an application using FastAPI, including authentication using JWT, OAuth flow (likely via Google) however as I work with Marketing APIs day to day we’ll integrating some Facebook Marketing API calls and building a little dashboard out.

We’re trying to get a bank of the screencasts built before we push live, but I’ll be posting all the walkthroughs here.

I think that’s about it for now!