The future of Linux distributions
Find a file
Mikkel Georgsen fbcd2bbb8e feat(01-02): set up PostgreSQL with Docker and async session factory
- 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.
2026-01-25 20:10:18 +00:00
.planning docs(01): create phase plan 2026-01-25 19:59:49 +00:00
backend feat(01-02): set up PostgreSQL with Docker and async session factory 2026-01-25 20:10:18 +00:00
docs Upload files to "docs" 2026-01-25 01:32:49 +00:00
.env.example feat(01-02): set up PostgreSQL with Docker and async session factory 2026-01-25 20:10:18 +00:00
docker-compose.yml feat(01-02): set up PostgreSQL with Docker and async session factory 2026-01-25 20:10:18 +00:00
pyproject.toml feat(01-01): initialize Python project with uv and dependencies 2026-01-25 20:08:14 +00:00
README.md feat(01-01): initialize Python project with uv and dependencies 2026-01-25 20:08:14 +00:00

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