Works with node version 5.3.0.
git clone https://github.com/roguezedd/weather.git
cd weather/app
npm install
cd ../proxy
npm install
[ optional ]
vi .env
[ add entries for the following tokens ]
[ see: https://developer.forecast.io/ ]
[ see: https://developers.google.com/maps/documentation/geolocation/intro ]
FORECAST_AUTH=yourTokenHere
GOOGLE_AUTH=yourTokenHere
First terminal
cd weather/app
npm start
Second terminal
cd weather/proxy
npm start --mockApi true
[ or if you added an .env file ]
npm start
In your browser, visit: http://localhost:8080/
cd weather/app
npm run build
Built files are added to the weather/app/build directory.
cd weather/app
npm run test