Django Ninja vs DRF vs FastAPI in 2026 — How to Pick
When to pick Django Ninja, DRF, or FastAPI. The strengths, the type-safety story, async maturity, and the team / project shape that fits each.
When to pick Django Ninja, DRF, or FastAPI. The strengths, the type-safety story, async maturity, and the team / project shape that fits each.
A complete, opinionated production layout for FastAPI in 2026. Pydantic v2, async SQLAlchemy 2.0, Alembic, dependency injection, structured errors, settings, logging, and the project skeleton that survives the first 50 endpoints.
A complete, end-to-end RAG backend built on PostgreSQL + pgvector and FastAPI. Real chunking, real embeddings, hybrid (vector + BM25) retrieval, prompt assembly, citations, and production gotchas.
An opinionated, side-by-side comparison of Django and FastAPI covering philosophy, features, performance, and when to pick each (or both).
A practical guide to testing FastAPI: pytest configuration, async HTTP client, transactional database isolation per test, and fixtures for authentication.
An end-to-end JWT auth walkthrough for FastAPI: bcrypt password hashing, access + refresh tokens, dependency-injected current user, and how to avoid common pitfalls.
Build a production-ready FastAPI + SQLAlchemy 2.0 + PostgreSQL stack with async sessions, dependency-injected DB access, and Alembic migrations.
A practical, hands-on introduction to FastAPI covering type-driven routing, Pydantic validation, async I/O, dependency injection, and a sane project layout.