I'm always excited to take on new projects and collaborate with innovative minds.
contact@niteshsynergy.com
https://www.niteshsynergy.com/
Intro to ASGI vs WSGI
Install FastAPI + Uvicorn
Directory structure
.env management with python-dotenv
App factory pattern
Path Parameters, Query Parameters
Depends for dependency injection
Response model with Pydantic
GET, POST, PUT, DELETE, PATCH
Form and file uploads
JSON body + validation
Custom Request/Response objects
Header & Cookie extraction
SQLAlchemy 2.0 (declarative model style)
Setup DB config via settings.yml
Pydantic + SQLAlchemy integration
Sync vs Async SQLAlchemy engine
Create entity, repository, service, controller layers
AbstractBaseRepository (generic)
Concrete CRUD repositories
Use Session in service layer only
Auto commit/rollback behavior
Configure multiple databases (PostgreSQL + Redis + SQLite)
Per-model DB bindings
DB router-like logic
Use Alembic for migrations
OAuth2 + JWT tokens (access + refresh)
Password hashing (bcrypt/passlib)
Role-based access control
Dependency-based guards
Third-party login (Google/GitHub OAuth)
httpx.AsyncClient usage
Circuit breaker (Tenacity)
Retry logic
Calling:
Java Spring Boot APIs
Other Python FastAPI services
External 3rd-party APIs
FastAPI BackgroundTasks
APScheduler for cron jobs
Event-driven architecture basics
CORS, Request/Response middleware
Global logging
DB session scoping via middleware
Exception handling + Custom errors
Pytest with FastAPI
Unit + Integration tests
Mock DB / external calls
CI test pipeline setup
Build multiple FastAPI services
Shared models via Pydantic schemas package
Service discovery (via DNS or Consul)
Internal API communication with tokens
Dockerfile (multi-stage)
docker-compose.yml for full stack (FastAPI + DB + Redis)
Environment-specific setup (dev/test/prod)
Helm charts for FastAPI
K8s deployment, service, ingress
Load balancing
Secret & config management via ConfigMap/Secret
async def with asyncpg, httpx, redis
Async session for SQLAlchemy 2.0
RabbitMQ, Kafka integration
Pydantic message schemas
Publisher & Consumer services
Admin UI (FastAPI Admin or external)
Prometheus + Grafana setup
Health check, logging, metrics
Multi-service blog or social media system
Auth service, User service, Feed service
API Gateway with FastAPI or Nginx
Dockerized and deployed via Kubernetes
Unit + integration tests
Github Actions CI/CD