The future of Linux distributions
- Add TrustedHostMiddleware for Host header validation - Add CORSMiddleware with configurable origins - Add rate limiting with RateLimitExceeded handler - Add custom middleware for security headers (HSTS, X-Frame-Options, etc.) - Add /health/db endpoint that checks database connectivity - Mark health endpoints as rate limit exempt - Fix linting issues in migration file (Rule 3 - Blocking) |
||
|---|---|---|
| .planning | ||
| backend | ||
| docs | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| 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