API that adds query improvements to the great PokéApi
This app is part of a coding challenge.
See Project Requirements.
- Python 3.8
- Have a running Redis instance.
- Create a virtual environment on a directory of choice:
python3 -m venv .venv
- Activate virtualenv:
. .venv/bin/activate
- Install dependencies:
pip install -r requirements/development.txt
Create a
.envfile from template example:cp .env-template .env
Start the development server run:
flask run
To run the tests:
python -m pytest --cov=api
Aditional documentation can be found in the docs folder.
Proyect also uses OpenAPI and Swagger UI to document the API's. The docs can be viewed in localhost:5000/docs/
Project can be run using docker. See Docker for more details.