An event-driven asynchronous Express.js Weather app. This is the web application equivalent of Node.js Weather App.
This is part of Andrew Mead's (mead.io) "The Complete Node.js Developer Course".
Return a weather forecast based on user's input location
git update-index --assume-unchanged config/tokens.json
to avoid commiting the tokens to a remote repo# On normal node mode
DARKSKY_TOKEN="your-darksky-token" MAPBOX_TOKEN="<your-mapbox-token>" npm run start
# On nodemon mode
DARKSKY_TOKEN="your-darksky-token" MAPBOX_TOKEN="<your-mapbox-token>" npm run dev
# Locally
http://localhost:3000
# Heroku
https://pmonteiro-weather-service.herokuapp.com/
Useful commands:
heroku login
heroku keys:add
heroku create <UNIQUE_NAME>
git push heroku master