A simple weather app that uses the open weather map API. Build with React.js and Hug.py.
You can check out my other projects here
After cloning the repository, go into the repository roo. Use pwd
and make sure your path is .../OpenWeatherApp
.
Now, do this:
Frontend:
From the repository root:
cd frontend
yarn install
yarn start
Backend:
From the repository root:
cd backend
virtualenv backend_env -p /usr/local/bin/python3
Note: Yourpython3
path might be different. Use apython3
path ashug.py
is not compatible withpython2
.source backend_env/bin/activate
hug -f api_server.py