# FastAPI Posts

Articles and insights about FastAPI from the PropelAuth team.

### Topics

[All](/content/blog/index.html) 
[Product](/content/blog/tag/product/index.html) 
[Authentication](/content/blog/tag/authentication/index.html) 
[Coding](/content/blog/tag/coding/index.html) 
[Guide](/content/blog/tag/guide/index.html) 
[B2B](/content/blog/tag/b2b/index.html) 
[FastAPI](/content/blog/tag/fastapi/index.html)

[FastAPI vs Flask vs Django in 2025](/content/post/fastapi-vs-flask-vs-django-in-2025/index.html)

**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](/content/post/fastapi-in-prod/index.html)

**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](/content/post/fastapi-auth-with-dependency-injection/index.html)

**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](/content/post/a-practical-guide-to-dependency-injection-with-fastapis-depends/index.html)

**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](/content/post/react-fast-api-starter-guide/index.html)

**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](/content/post/fastapi-clean-code/index.html)

**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](/content/post/multi-tenant-fastapi-propelauth/index.html)

**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](/content/post/fastapi-authentication-guide/index.html)

**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](/content/post/using-pugsql-and-fastapi/index.html)

**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](/content/post/production-ready-backend-with-dbmate-pugsql-propelauth-and-fastapi/index.html)

**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.
