- Install Python 3.12+, uv, Docker.
- Install project dependencies with uv.
uv sync
- Copy settings.example.yaml to settings.yaml and add token:
cp settings.example.yaml settings.yaml
- Start Postgres:
docker compose up db
- Start development server:
cd backend uv run -m src.api
Important
For endpoints requiring authorization, click "Authorize" button in Swagger UI!
Tip
Edit settings.yaml according to your needs, you can view schema in settings.schema.yaml.
- Copy the file with settings:
cp settings.example.yaml settings.yaml. - Change settings in the
settings.yamlfile according to your needs (check settings.schema.yaml for more info). - Install Docker with Docker Compose.
- Build and run docker container:
docker compose up --build.
Tip
Project also includes simple CRUD code generator. See more in corresponding readme