firebreak/web
ZTatman dcf60f4082 Add FastAPI lifespan pattern with async SQLAlchemy and Docker setup
- Move get_db to main.py for cleaner separation of concerns
- Remove engine/sessionmaker from database.py (keep only Base class)
- Fix config.py: add +asyncpg to database_url, remove @dataclass
- Add lifespan context manager for engine lifecycle
- Add docker-compose.yml for web + postgres services
- Add web/Dockerfile for containerized FastAPI app
- Add web/.env.example as environment template
2026-04-24 13:27:58 -04:00
..
app Add FastAPI lifespan pattern with async SQLAlchemy and Docker setup 2026-04-24 13:27:58 -04:00
.env.example Add FastAPI lifespan pattern with async SQLAlchemy and Docker setup 2026-04-24 13:27:58 -04:00
.gitignore Add Python web project with FastAPI 2026-04-19 18:58:38 -04:00
.python-version Add Python web project with FastAPI 2026-04-19 18:58:38 -04:00
Dockerfile Add FastAPI lifespan pattern with async SQLAlchemy and Docker setup 2026-04-24 13:27:58 -04:00
pyproject.toml Add FastAPI setup with async SQLAlchemy and Grant model 2026-04-23 17:20:16 -04:00
uv.lock Add FastAPI setup with async SQLAlchemy and Grant model 2026-04-23 17:20:16 -04:00