Quick start
- Create a virtual environment and install dependencies:
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt- Run the server:
uvicorn main:app --reload --host 127.0.0.1 --port 8000or
fastapi dev-
Open http://127.0.0.1:8000 in your browser.
-
Development
# Install pre-commit hooks
pre-commit install
# Run linting and formatting
ruff check --fix .
ruff format .
# Run all pre-commit checks
pre-commit run --all-filesWhat is implemented
- Template routes:
/,/about,/events,/actualites,/communities,/join,/contact - JSON API under
/api/v1:events,news,communities,translations/{lang},join(POST),contact(POST) - Static files served from
/static