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.

April 30, 2026 · 3 min · 452 words · Manvendra Rajpoot

FastAPI + Pydantic v2 + SQLAlchemy 2.0 — Production Patterns for 2026

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.

April 28, 2026 · 8 min · 1521 words · Manvendra Rajpoot

Build a Production RAG App with pgvector and FastAPI in 2026

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.

April 28, 2026 · 8 min · 1679 words · Manvendra Rajpoot

Django vs FastAPI: Which One Should You Pick in 2026?

An opinionated, side-by-side comparison of Django and FastAPI covering philosophy, features, performance, and when to pick each (or both).

April 28, 2026 · 6 min · 1276 words · Manvendra Rajpoot

Testing FastAPI Apps: From Pytest to Database Isolation

A practical guide to testing FastAPI: pytest configuration, async HTTP client, transactional database isolation per test, and fixtures for authentication.

April 28, 2026 · 7 min · 1414 words · Manvendra Rajpoot

JWT Authentication in FastAPI: A Complete Walkthrough

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.

April 28, 2026 · 8 min · 1516 words · Manvendra Rajpoot

FastAPI + SQLAlchemy + PostgreSQL: A Modern Setup

Build a production-ready FastAPI + SQLAlchemy 2.0 + PostgreSQL stack with async sessions, dependency-injected DB access, and Alembic migrations.

April 28, 2026 · 7 min · 1364 words · Manvendra Rajpoot

Getting Started with FastAPI: Modern Python APIs Done Right

A practical, hands-on introduction to FastAPI covering type-driven routing, Pydantic validation, async I/O, dependency injection, and a sane project layout.

April 28, 2026 · 5 min · 1017 words · Manvendra Rajpoot