Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cbertelegni/weather-challenge


https://github.com/cbertelegni/weather-challenge

fastapi python3

Last synced: 5 days ago
JSON representation

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.