GuideIntermediate
FastAPI Fundamentals Guide
This guide teaches you FastAPI from installation all the way to building a complete CRUD API. You'll learn path operations, parameter handling, validation with Pydantic, professional error handling and CORS configuration. It's the core of the Backend Python Developer path.
- 52
- lessons
- 7
- modules
- English · Spanish
- available in
- Included in the Club
- access
Outcomes
What you'll be able to do
- Setup: Installation, project structure, uvicorn, interactive docs
- Path Operations: GET, POST, PUT, DELETE, PATCH
- Request/Response: Path params, query params, request body
- Pydantic: Models, automatic validation, serialization
- Error Handling: HTTPException, custom handlers, status codes
- CORS: Configuration for frontend/mobile
Before you start
What you need to bring
Requirements and materials
- Python Essentials Guide completed
- REST APIs & HTTP Fundamentals Guide completed
- Python 3.9+ installed
- A terminal and a code editor
Content
The syllabus, module by module
Open any of them to see its lessons.
- Introducción al Módulo 1: Setup y Primera API
- ¿Qué es FastAPI?
- Instalación y Setup
- Instalación y Estructura de Proyecto
- Primer Endpoint y Uvicorn
- uvicorn y Servidor de Desarrollo
- Documentación Automática
- Primer Endpoint, JSON y Docs
- Proyecto: Hello World API
- Introducción al Módulo 2: Path Operations
- GET: Listar y Obtener Recursos
- POST: Crear Recursos
- PUT y PATCH: Actualizar Recursos
- PUT, PATCH and DELETE
- DELETE: Eliminar Recursos
- Proyecto: CRUD Endpoints Completo
- Proyecto: CRUD Básico — API de Libros
- Introducción al Módulo 3: Request y Response
- Path Parameters: Validación y Tipos Avanzados
- Query Parameters in FastAPI
- Path(), Query(), Body() — Control Avanzado de Parámetros
- Request Body: JSON, Dict y Combinación de Parámetros
- Headers, Cookies and Response Structure
- Proyecto: Books API con Filtros, Búsqueda y Paginación
- Proyecto: API de Productos con Filtros y Paginación
- Módulo 4: Pydantic y Validación
- BaseModel — El corazón de Pydantic
- Field, constraints y validators
- Modelos anidados y listas
- Request vs Response models
- Proyecto: API de contactos con validación completa
- Introducción al Módulo 4: Pydantic y Validación
- BaseModel and Field() — Defining Data Models
- Custom Validators and Nested Models
- Separate Models for Request and Response
- Proyecto: API de Librería con Validación Pydantic
- Introducción al Módulo 5: Error Handling y CORS
- HTTPException and Semantic Status Codes
- Custom Exception Handlers, a Consistent Format, and Basic Logging
- CORS and Middleware — Cross-Origin Access
- Respuestas Consistentes
- Proyecto: Books API Robusta
- Proyecto Final: To-Do List API
- Paso 1: Setup y Modelos
- Paso 1: Setup, Modelos y Datos
- Paso 2: CRUD Endpoints
- Modelos Pydantic y Capa de Datos
- Paso 3: Filtros, Búsqueda y Paginación
- Paso 2: Endpoints CRUD
- Paso 4: Error Handling, CORS y Documentación
- Proyecto Final: To-Do List API — Implementación de Referencia
- Entrega y Evaluación
Where it fits
This guide is part of something bigger
It's studied inside these programs, with support and dates.
Common questions
What people usually ask
As long as your Club subscription is active. If you cancel and come back later, you get the access and your progress back.
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 Club's WhatsApp group, and every two weeks there's a live with an instructor where questions get worked through.
No. This guide is self-paced with no dates. The bootcamp is live, by cohort, with work someone reviews.
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!