Skip to content

Backend Architecture

Design patterns, dependency injection, routing, and schema conventions for the FastAPI codebase.


Guide Description
Design Patterns ABC/mixins, factory, async-first, layered architecture
Dependency Injection FastAPI Depends(), service chains, parameterized deps
Route Patterns Router organization, response models, query params
Pydantic Schemas Schema hierarchy, validators, nested relationships