The future of Linux distributions
- Add docker-compose.yml with PostgreSQL 16 container (port 5433) - Create async database session factory with connection pooling - Configure SQLAlchemy 2.0 DeclarativeBase for models - Update .env.example with correct database URL Connection pool settings from research: pool_size=10, max_overflow=20, pool_recycle=1800 (30 min), pool_pre_ping=True for validation. |
||
|---|---|---|
| .planning | ||
| backend | ||
| docs | ||
| .env.example | ||
| docker-compose.yml | ||
| pyproject.toml | ||
| README.md | ||
Debate Backend
Backend API for the Debate Linux distribution builder platform.
Development
# Create virtual environment
uv venv
# Activate
source .venv/bin/activate
# Install dependencies
uv pip install -e ".[dev]"
# Run development server
uvicorn backend.app.main:app --reload