using python, fastapi and mongodb
- run
pip install -r requirements.txt
- mongodb database named
weather-app
with following collections:temps
for storing the temperatureslast_temp
for storing the last measured temperature
.env
file, use.env.example
as an example- run it inside
app
directory withuvicorn main:app --reload
, omit--reload
if it's in production