- poetry
- python 3.8
- pytest
- docker
- docker-compose
docker-compose up -dIn order to run development with python, db and redis should should be running, the easy path to do that is running 'docker-compose up db -d' and 'docker-compose up redis -d'
python3 main.py --env local|dev|prod --debugIn order to run test with pytest, db and redis should should be running. The easy path to do that is running 'docker-compose up db -d' and 'docker-compose up redis -d'
poetry install
poetry shell
ENV=test pytest tests/Some swagger documentation is located at:
You could use the swagger authentication in order to call other endpoints to do that just:
