horao

Development notes

Redoc definition

All of the API calls are commented redoc style in the code. When running with the DEBUG flag, redoc is available at the /docs endpoint.

Python checks

The project is checked with the following tools:

Environments

The project is managed using Poetry. The environment variables are managed via poetry using poetry-dotenv-plugin.

Poetry

There are 3 specific environment flags that are configured in the pyproject.toml file:

Launch tests

After enabling your virtual environment, run the following command:

pip install poetry
poetry install --with test --with dev

Then run the following command:

poetry run pytest