FastAPI | Blog | PropelAuth

FastAPI Posts

Articles and insights about FastAPI from the PropelAuth team.

Topics

All Product Authentication Coding Guide B2B FastAPI

FastAPI vs Flask vs Django in 2025

FastAPI vs Flask vs Django in 2025
If you are starting a new project in Python, there’s three major contenders for your web framework: Django, Flask, and FastAPI.
While there are many differences between these frameworks, which one you choose can be boiled down to a few personal preference questions.

FastAPI in Prod: Handling DB migrations, auth, and more

FastAPI in Prod: Handling DB migrations, auth, and more
FastAPI is a modern Python framework known for its speed, developer-friendly features, and (my personal favorite) automatic OpenAPI schema generation.

FastAPI Auth with Dependency Injection

FastAPI Auth with Dependency Injection
FastAPI is a modern web framework for building APIs in Python. It’s one of my personal favorite web frameworks as it has built-in support for OpenAPI.

Guide to Dependency Injection with FastAPI's Depends

Guide to Dependency Injection with FastAPI's Depends
One of the first concepts I learned at my first job was dependency injection. In this post we'll go over what it is and how to effectively use it.

React/FastAPI Starter Guide

React/FastAPI Starter Guide
This guide walks through the process of setting up authentication using PropelAuth on top of a product built in FastAPI & React.

Writing Clean Code with FastAPI Dependency Injection

Writing Clean Code with FastAPI Dependency Injection
Before anyone else read the code that I wrote, “clean code” wasn’t really a thing for me. I had no issues reading my code because, well, I wrote it.

Building a Multi-Tenant App with FastAPI, SQLModel, and PropelAuth

Building a Multi-Tenant App with FastAPI, SQLModel, and PropelAuth
Building a multi-tenant product can be trickier than building for consumers. Instead of handling users as individuals.

FastAPI Authentication Guide

FastAPI Authentication Guide
FastAPI is a modern web framework for building out APIs using Python. It’s fast, lightweight, and quick to build with.

Using PugSQL and FastAPI

Using PugSQL and FastAPI
Most of the tutorials/guides that I read about FastAPI and Python web frameworks in general use SQLAlchemy directly. While SQLAlchemy is great, I personally prefer using PugSQL.

Production-ready Backend with dbmate, PugSQL, PropelAuth, and FastAPI

Production-ready Backend with dbmate, PugSQL, PropelAuth, and FastAPI
In this post, we’ll build a fully production-ready backend complete with DB migrations, B2B authentication, showcasing all the cool features that FastAPI offers.