Pre-requisites:
- python3.11 (it is recommended to use Pyenv to install and manage python versions)
- Poetry (it is recommended to install Poetry using the official installer)
Install project's dependencies:
make install
Install pre-commit hooks to automatically format and lint code before each commit:
make hooks
Start the server:
make server
Start the server in development mode with auto-reload:
make dev
Format code:
make format
- NOTE: pre-commit hook will run formatting automatically before each commit
Lint code:
make lint
Lint code and fix issues:
make lint-fix
- NOTE: pre-commit hook will run linting automatically before each commit
Run tests:
make test
Run tests and generate a coverage report:
make coverage