Guide Home Part 1 - FastAPI Foundations Part 2 - Building Applications Part 3 - Pages and HTML Part 4 - Security and Deployment Part 5 - Going Further Capstone Build Plan Markdown Source All Guides

Chapter 37: Capstone Build Plan

Build RecipeVault in slices. Each slice should have code, tests, and a visible result.

Slice 1: Project Skeleton

Slice 2: Recipe API

Slice 3: Database

Slice 4: Server-Rendered Pages

Slice 5: Authentication

Slice 6: Authorization

Slice 7: API Bearer Tokens

Slice 8: Security Hardening

Slice 9: Observability

Slice 10: Background Work

Slice 11: Deployment

Slice 12: Final Testing Pass

Python Web Ecosystem Map

If you need...Start with...Notes
API-first serviceFastAPIBest default for this guide
Traditional server-rendered app with adminDjangoStrong integrated defaults
Tiny custom app or extension pointFlaskSimple, but you assemble more pieces
Typed validationPydanticUsed heavily by FastAPI
ORM and SQL controlSQLAlchemyExplicit and powerful
Integrated ORM plus adminDjango ORMBest inside Django projects
Durable workersCelery, Dramatiq, ARQChoose based on infrastructure
HTTP clientsHTTPXSync and async APIs
TestspytestDominant Python testing style
  1. Build FastAPI endpoints with Pydantic models.
  2. Learn dependencies and request-scoped database sessions.
  3. Learn SQLAlchemy 2.x and Alembic.
  4. Add Jinja2 templates for server-rendered pages.
  5. Add authentication and authorization.
  6. Add security hardening for browser workflows.
  7. Add tests at domain, service, route, and database levels.
  8. Add deployment and observability.
  9. Learn Django separately so you can recognize when integrated conventions beat assembling pieces yourself.

Source Notes

This guide is an original Python learning path organized around ASP.NET Core concepts. The chapter order mirrors an ASP.NET Core study sequence, but the explanations, examples, and recommendations are Python-specific.

Primary references used for ecosystem alignment: