npm cache clean;
npm install
npm run start;
or yarn
- Development
npm run start
: http://localhost:3000/ - Build
npm run build
- Test
npm run test
📚 Testing
Powered by Mocha, Chai, Enzyme, Sinon.
- Run unit tests
npm run test
✨ Features
- Built using React
- Static compiling
- SASS compiling
- Per component SASS
- Web pack dev & production configs inherit from a common config
- Mocha, Chai & Enzyme testing
- Babel Stage 0 & ES6
- API: OpenWeatherMap 5 Days: http://openweathermap.org/forecast5
- The free version of the openweathermap API does not support SSL and github pages only supports HTTPS - therefore you will need to click the shield for this work
- Fix tests, time was short
- Strip back the imported react framework, its overkill in places
- Error handling in fetchJSON
- Error handling when the API doesn't work (e.g. load unsafe scripts work around)