Build modern, high-performance APIs with FastAPI. From fundamentals to production deployment, including authentication, databases, WebSockets, testing, and best practices.
Key concepts: FastAPI, Pydantic, async endpoints, dependency injection, authentication (JWT, OAuth2), SQLAlchemy, testing, deployment.
- Build complete REST APIs with FastAPI and Pydantic models
- Apply dependency injection for reusable, testable components
- Implement JWT and OAuth2 authentication flows
- Integrate SQLAlchemy ORM with async database support
- Write comprehensive tests for FastAPI applications
- Configure production-grade deployments with uvicorn/gunicorn
- FastAPI Intro
- Routing
- Path and Query Params
- Request Body
- Pydantic Models
- Dependency Injection
- Response Models
- File Uploads
- Background Tasks
- WebSockets
- Middleware
- CORS
- Authentication JWT
- OAuth2
- Security Best Practices
- OpenAPI Customization
- Testing FastAPI
- SQLAlchemy Integration
- Async Databases
- Alembic Migrations
- FastAPI Performance
- Uvicorn and Gunicorn
- Rate Limiting
- Redis Caching
- Logging and Monitoring
- Error Handling
- GraphQL (Optional)
- Deployment
56–84 hours
Follow the numerical order for a logical progression from fundamentals to advanced topics.
pip install fastapi uvicorn[standard] pydantic[email] python-jose[cryptography] passlib[bcrypt] sqlalchemy aiosqlite alembic httpx pytest pytest-asyncio