The future of Linux distributions
Find a file
Mikkel Georgsen 0d1a008d2f feat(01-03): apply security middleware stack and database health check
- 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)
2026-01-25 20:20:00 +00:00
.planning docs(01-02): complete PostgreSQL database setup plan 2026-01-25 20:13:14 +00:00
backend feat(01-03): apply security middleware stack and database health check 2026-01-25 20:20:00 +00:00
docs Upload files to "docs" 2026-01-25 01:32:49 +00:00
scripts feat(01-04): create PostgreSQL backup script with 30-day retention 2026-01-25 20:19:17 +00:00
.env.example feat(01-02): set up PostgreSQL with Docker and async session factory 2026-01-25 20:10:18 +00:00
.gitignore feat(01-04): create PostgreSQL backup script with 30-day retention 2026-01-25 20:19:17 +00:00
Caddyfile feat(01-04): configure Caddy reverse proxy with HTTPS 2026-01-25 20:18:02 +00:00
docker-compose.yml feat(01-04): configure Caddy reverse proxy with HTTPS 2026-01-25 20:18:02 +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