The future of Linux distributions
- Add Caddyfile with self-signed TLS for local development - Configure reverse_proxy to FastAPI on localhost:8000 - Add security headers (HSTS, X-Content-Type-Options, X-Frame-Options) - Enable HTTP to HTTPS redirect on port 80 - Add Caddy service to docker-compose.yml with host networking - Configure admin API on localhost:2019 for future route management |
||
|---|---|---|
| .planning | ||
| backend | ||
| docs | ||
| .env.example | ||
| Caddyfile | ||
| 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