Python study project with Fast-API
- Clone the repository.
- Navigate to the root folder
pip install -r requirements.txt
- Create your Weather API key on https://www.weatherapi.com/
- Navigate to the root folder
- Run the project:
WEATHER_API_KEY="your_key" uvicorn app.main:app --reload
orpython3 main.py
. - Access the API documentation on
http://localhost:8000/docs
- Navigate to the root folder
- Run
python3 -m pytest