The future of Linux distributions
Find a file
Mikkel Georgsen 81486fc4f8 feat(01-03): configure rate limiting and CSRF protection
- Add slowapi limiter with 100/minute default limit
- Create CsrfSettings Pydantic model for fastapi-csrf-protect
- Add deps.py with get_db re-export and validate_csrf dependency
- Configure secure cookie settings (httponly, samesite=lax)
2026-01-25 20:17:49 +00:00
.planning docs(01-02): complete PostgreSQL database setup plan 2026-01-25 20:13:14 +00:00
backend feat(01-03): configure rate limiting and CSRF protection 2026-01-25 20:17:49 +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