devgrid
-
I have used all technologies you asked to be used
- Python and flask framework
- pytest for automation tests
- schematics for modeling data
- And docker and Docker compose to build everything
-
The cache_ttl and default_max_number are enviroment variables, and can be setted on docker-compose.yml
-
I have used Flask-caching for cache solution
-
Also I have used flasgger for documentation, it can be seen on /apidocs
-
And pycountry to convert country ISO 3166-1 Alpha 2 to Alpha 3
The application was deployed on API
To run automated tests
pytest
To run the project need to run, it will be running on 8080
docker-compose up