Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbertelegni/weather-challenge
https://github.com/cbertelegni/weather-challenge
fastapi python3
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbertelegni/weather-challenge
- Owner: cbertelegni
- Created: 2024-05-17T04:47:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T20:46:48.000Z (9 months ago)
- Last Synced: 2024-11-24T13:12:21.119Z (2 months ago)
- Topics: fastapi, python3
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather challenge - Cristian Bertelegni
The data for this app is taken from [https://openweathermap.org/api]
## Prerequisites to run the application
- Docker
- Docker-compose
- Make## Application Setup
- Duplicate the `app/.template.env` to `app/.env`
- Run `make build`## Running the server
Run `make run` and go to [http://0.0.0.0:8000/] in your browser to see the swagger UI
## Make comands
- `build`: build the docker image
- `run`: run the app, go to 0.0.0.0:8000/docs to see the swagger UI
- `tests`: run the tests
- `tests.debug`: run the tests in debugging mode
- `coverage`: generate the coverage test report.
- Go to `/weather_challenge/htmlcov/index.html` in your browser to see the 100% of test coverage.