GuideBeginner
FastAPI Fundamentals Guide
This guide teaches you FastAPI from installation all the way to building a complete CRUD API. You create the project with uv, start the server with `fastapi dev`, and move forward module by module: path operations, parameters with `Annotated`, `Query()`, `Path()`, and `Body()`, validation with Pydantic v2, professional error handling, and CORS. You finish with a To-Do List API split across several files. All the code is tested with FastAPI 0.143, Pydantic 2.14, and Python 3.13 (October 2026). It's the foundation the backend and AI Engineering guides that build services with FastAPI assume.
- lessons
- 30
- modules
- 6
- available in
- English · Spanish
- certificate
- Yes
- access
- Free

What you'll be able to do
- Setup: a project with uv, `fastapi[standard]`, the `app/` structure, `fastapi dev`, and interactive docs
- Path Operations: GET, POST, PUT, PATCH, and DELETE with the right status codes
- Request/Response: path params, query params, request body, headers, and cookies with `Annotated`
- Pydantic v2: models, `Field()`, `@field_validator`, nested models, `response_model`
- Error Handling: `HTTPException`, custom exception handlers, a consistent error format
- CORS: `CORSMiddleware` configured safely for development and production
What you need to bring
Requirements and materials
- Python Essentials Guide completed
- REST APIs & HTTP Fundamentals Guide completed
- Python 3.12 or newer and uv installed
- A terminal and a code editor
The syllabus, module by module
Open any of them to see its lessons.
Keep going with the full bootcamp.
At your own pace or 1:1, whichever you need.
What people usually ask
No limit. It's an open guide: come in whenever you like, as often as you like.
No. Modules run from easier to harder, but you can jump to the one you need. Progress is saved per lesson.
Whatever is needed is listed under “What you need to bring”, above. If nothing is listed there, you can start from zero.
In the forum and in the community WhatsApp group.
Yes. When you finish every lesson you get a statement of completion. Pass the guide's certification exam and it becomes a certificate, with a verifiable code you can share on LinkedIn.
No. This guide is one piece. The bootcamp puts the whole syllabus in order, with videos and projects, at your own pace.
Start whenever you like
What students say
These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.
No approved reviews yet.
Be the first to share your experience!