DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Mastering FastAPI Background Tasks: Real‑World Patterns, Testing, and When to Reach for Celery

Mastering FastAPI Background Tasks: Real‑World Patterns, Testing, and When to Reach for Celery

Comments
8 min read
Mastering FastAPI Deployment on Railway – From Docker to CI/CD

Mastering FastAPI Deployment on Railway – From Docker to CI/CD

Comments
6 min read
Mastering FastAPI Error Handling Best Practices – A Hands‑On Guide

Mastering FastAPI Error Handling Best Practices – A Hands‑On Guide

Comments
6 min read
Mastering FastAPI Async Logging: Structured, Rotating, and Worker‑Ready Logs for High‑Performance Apps

Mastering FastAPI Async Logging: Structured, Rotating, and Worker‑Ready Logs for High‑Performance Apps

Comments
8 min read
Fixing “QueuePool limit reached”: Debugging DB Connection Leaks in FastAPI

Fixing “QueuePool limit reached”: Debugging DB Connection Leaks in FastAPI

Comments
4 min read
Why Your FastAPI App Works Locally But Fails in Production

Why Your FastAPI App Works Locally But Fails in Production

Comments
3 min read
FastAPI Async vs Sync – When to Use Each, Benchmarks, and Real‑World Tips

FastAPI Async vs Sync – When to Use Each, Benchmarks, and Real‑World Tips

Comments
8 min read
FastAPI WebSockets: Production-Ready Setup and Scaling

FastAPI WebSockets: Production-Ready Setup and Scaling

Comments
8 min read
AsyncSession Has No Attribute query in SQLAlchemy 2.0 (FastAPI Fix)

AsyncSession Has No Attribute query in SQLAlchemy 2.0 (FastAPI Fix)

Comments
2 min read
FastAPI Lifespan vs Startup Events: The Mistake That Breaks Async Apps

FastAPI Lifespan vs Startup Events: The Mistake That Breaks Async Apps

Comments
3 min read
Building a FastAPI Backend That Serves Live Satellite Imagery and Orbital Position

Building a FastAPI Backend That Serves Live Satellite Imagery and Orbital Position

Comments
11 min read
I built an AI powered API generator with FastAPI, PostgreSQL, Groq and Railway

I built an AI powered API generator with FastAPI, PostgreSQL, Groq and Railway

Comments 1
1 min read
Same PRD, four stacks, zero LLM calls — and EU AI Act Annex IV from the same spec

Same PRD, four stacks, zero LLM calls — and EU AI Act Annex IV from the same spec

Comments
2 min read
FastAPI for AI Engineers - Part 5: Authentication vs Authorization (And Why Most Beginners Confuse Them)

FastAPI for AI Engineers - Part 5: Authentication vs Authorization (And Why Most Beginners Confuse Them)

6
Comments 2
3 min read
FastAPI 다중 클라우드 배포: Cloud Run vs Railway vs Oracle Cloud

FastAPI 다중 클라우드 배포: Cloud Run vs Railway vs Oracle Cloud

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