The data for this app is taken from [https://openweathermap.org/api]
- Docker
- Docker-compose
- Make
- Duplicate the
app/.template.env
toapp/.env
- Run
make build
Run make run
and go to [http://0.0.0.0:8000/] in your browser to see the swagger UI
build
: build the docker imagerun
: run the app, go to 0.0.0.0:8000/docs to see the swagger UItests
: run the teststests.debug
: run the tests in debugging modecoverage
: generate the coverage test report.- Go to
<PATH_TO_PROJECT>/weather_challenge/htmlcov/index.html
in your browser to see the 100% of test coverage.
- Go to