The above repository contains a demo version of my FastAPI training for the beginners.
Training scope
- Introduction
- HTTP protocol
- REST API
- Tools overview
- JSON format
- Type annotations in Python
- FastAPI overview (demo available)
- Hello world
- Paths and routing
- POST method, request body
- Pydantic, request body model
- Path parameters
- HTTPException
- JSONResponse, default status_code
- DELETE and PUT methods
- Project structure
- Automatic documentation
- Databases
- SQL, pgAdmin
- Psycopg2
- SQLAlchemy
- Secrets management
- CRUD application
- CRUD letters
- Implementation in psycopg2
- Implementation in SQLAlchemy
- Response model
- Query parameters
- Other topics
- Passwords hashing
- Authentication and authorization
- Middleware
- Application frontend