This project supports features that support stats using Spotify API.
Install the git commit hooks
pre-commit install && pre-commit install -t pre-push
Run the following command to setup your environment:
poetry installRunning the linter:
poetry run flake8 src/Auto-fix linting problems:
poetry run black src/Running the app locally:
poetry run python runserver.pyThe SwaggerUI will be avaliable at http://localhost:8081/api/docs.
For easier configuration while running locally, you can create a .env file at the root of the project populated with the dsired parameters.
For example:
DEBUG=true
Code improvmenets are suggested in the doc-strings and prefaced with TODO.