Careeroza
JobsMentorship

basic

FastAPI Introduction
What is FastAPI?
Installation & First App
Interactive Docs
Python Type Hints
Path & Query Parameters
Path Parameters
Query Parameters
Parameter Validation
Request Body & Pydantic
Pydantic Models
Request Body
Field Validation
Response Models
Responses & Errors
Status Codes
HTTPException
Response Types

medium

Dependencies
Dependency Injection
Dependencies with yield
Class-based & Global Dependencies
Routers & Project Structure
APIRouter
Project Layout
Settings & Configuration
Databases
CRUD with a Database
SQLAlchemy & SQLModel
Middleware & CORS
Middleware
CORS
Static Files

advance

Authentication & Security
Password Hashing
OAuth2 & JWT
API Security Checklist
Async & Background Tasks
async def vs def
Background Tasks
Lifespan Events
Testing
TestClient & pytest
Overriding Dependencies
Deployment
Production Server
Docker Image
Deploy to Cloud Run
Observability

interview-questions

Questions
Basic Interview Questions
Intermediate Interview Questions
Advanced Interview Questions

Production Server

Uvicorn and Workers

CommandUse
fastapi dev main.pydevelopment (auto-reload)
fastapi run main.py --workers 4production on a VM
uvicorn main:app --host 0.0.0.0 --port 8000one process per container (Kubernetes, Cloud Run)

In containers, run one Uvicorn process per container and let the platform scale the number of containers. On a single VM, use several workers (about one per CPU core).