SIH Team: Firewalls
Backend for NTRO Problem Statement 26154 (SIH 2026).
| Component | Technology |
|---|---|
| API | FastAPI + Uvicorn |
| Validation | Pydantic v2 + pydantic-settings |
| Database | PostgreSQL (asyncpg) |
| ORM | SQLAlchemy 2.x (async) |
| Migrations | Alembic |
| Containerization | Docker + Docker Compose |
- Python 3.12+
- Docker + Docker Compose
# 1. Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate
# 2. Install dependencies
pip install -e ".[dev]"
# 3. Copy environment template
cp .env.example .env