Course curriculum
-
1
Foundations and Modern Setup
- Course introduction and learning outcomes
- What FastAPI is and why it fits GenAI backends
- Python typing and FastAPI basics
- Async Mental Model for AI Applications
- Environment setup and first app
- Interactive docs and OpenAPI overview
- Course Handouts
- Quiz
-
2
Core Request and Response Building Blocks
- REST basics and endpoint design
- Path parameters and query parameters
- Request bodies with Pydantic models
- Response models and status codes
- Error handling
- Headers, forms, and file uploads
- HTTP methods in GenAI examples
- Quiz
-
3
Reusable Application Patterns
- Dependency injection fundamentals
- Dependencies with yield
- Bigger applications with APIRouter
- Settings and environment variables
- Lifespan for startup and shutdown
- Middleware and CORS
- Quiz
-
4
Security, Testing, and Quality
- API key authentication
- OAuth2 and JWT overview
- Rate limiting and cost protection
- Automated testing with pytest and TestClient
- Dependency overrides and async tests
- Postman for manual verification
- Quiz
-
5
State, Persistence, and Long-Running Work
- Stateless versus stateful GenAI systems
- Relational database basics for chat products
- Vector database and retrieval concepts
- Conversation memory patterns
- Background tasks and job patterns
- Logging and observability basics
- Quiz
-
6
Project 1: RAG API for Podcast Transcripts
- System walkthrough and architecture
- Hands-on: RAG API for Podcast Transcripts
-
7
Project 2: Text2SQL and Agentic Patterns
- System explanation and trust boundaries
- Hands-on: Text2SQL and Agentic Patterns
-
8
Production Readiness and Deployment
- Containerization
- Workers, concurrency, and memory tradeoffs
- Cloud deployment
- Versioning, docs hygiene, and release readiness
- Course wrap-up and next steps
- Quiz