This is a web application for getting weather forecast for Tanzania cities.
The application is now hosted on Google Cloud Run. Click here to view the hosted version.
The application requires OWM_API_KEY
environment variable to be configured. This is an API_KEY that can be aquired from Open Weather API
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ export OWM_API_KEY=XXXX npm run dev
# install dependencies
$ npm install
# build for production and launch server
$ npm run build
$ export OWM_API_KEY=XXXX npm run start
# At the root of the project
$ docker build -t weather-app .
# Run the container
$ docker run --rm -p 3000:3000 -e OWM_API_KEY=XXXX weather-app