https://github.com/cbertelegni/weather-challenge
https://github.com/cbertelegni/weather-challenge
fastapi python3
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbertelegni/weather-challenge
- Owner: cbertelegni
- Created: 2024-05-17T04:47:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T20:46:48.000Z (about 2 years ago)
- Last Synced: 2025-01-24T14:18:19.206Z (over 1 year 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.