To run the API, set up a .env
file in the root directory of the project containing the following environment variables:
Then to start the server locally, run:
docker-compose up
The API would now be available at http://localdocker:5000
docker-compose run api python manage.py <command>
To run tests locally, use the following command:
docker-compose run api pytest tests/