Skip to content

FastAPI Tutorial · Course Guide ​

This course covers 22 chapters based on the FastAPI 0.14x Official Documentation, from zero foundation to production deployment.

What You Will Learn ​

StageChaptersContent
Beginner01–06Environment setup, routing, path/query/body params, Pydantic validation, response models
Intermediate07–13Forms & files, error handling, dependency injection, middleware, database integration
Advanced14–20OAuth2/JWT security, async concurrency, WebSocket, templates, large project structure, testing
Production21–22Configuration management (Pydantic Settings), lifespan, Docker & deployment

How It Connects to Other Courses ​

  • Chapter 20's testing chapter pairs with the pytest course;
  • Chapter 18's template rendering complements frontend framework courses.

Official Reference Sources ​

This course is written in strict alignment with the following authoritative documentation:

SourceLink
fastapi.tiangolo.comhttps://fastapi.tiangolo.com/
github.comhttps://github.com/fastapi/fastapi/tree/master/docs/en/docs

Content version baseline: FastAPI 0.141+

Prerequisites ​

  • Python basics + familiarity with type annotations (def f(x: int) -> str);
  • Recommended to complete the first 10 chapters of the pytest course — Chapter 20 references them.

👉 Start with Chapter 1.