DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

2
Comments 2
5 min read
Learning REST API by Building a Tiny HTTP Server in Python

Learning REST API by Building a Tiny HTTP Server in Python

1
Comments
2 min read
FastAPI for AI Engineers - Part 3: Connecting to a database

FastAPI for AI Engineers - Part 3: Connecting to a database

7
Comments 2
6 min read
FastAPI Quickstart in 2026

FastAPI Quickstart in 2026

Comments
2 min read
FastAPI Patterns You Should Be Using in Production

FastAPI Patterns You Should Be Using in Production

Comments
6 min read
Hybrid LLM Routing: Ollama + Claude API Without Quality Degradation

Hybrid LLM Routing: Ollama + Claude API Without Quality Degradation

Comments
4 min read
FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

1
Comments
4 min read
I Built AuthShield and Immediately Knew It Wasn't Enough

I Built AuthShield and Immediately Knew It Wasn't Enough

1
Comments
5 min read
PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

Comments
5 min read
FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

Comments
4 min read
My RAG pipeline couldn't find the CEO — here's how I fixed it with hybrid retrieval

My RAG pipeline couldn't find the CEO — here's how I fixed it with hybrid retrieval

Comments 1
4 min read
Your Python Pre-commit Hook Took 18 Seconds. Ruff Does It in 0.3.

Your Python Pre-commit Hook Took 18 Seconds. Ruff Does It in 0.3.

2
Comments
5 min read
Tratamento de caracteres utf-8 com Python e a flag -Xutf8

Tratamento de caracteres utf-8 com Python e a flag -Xutf8

Comments
2 min read
Building LinkPilot AI Pro: How I Supercharged LinkedIn with AI 🚀

Building LinkPilot AI Pro: How I Supercharged LinkedIn with AI 🚀

Comments
3 min read
Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

2
Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.