- Clone the repo
- Install the depndencies
$ npm install
- Start the dev server
$ npm start
- Create optimized build
$ npm run build
- Run the tests
$ npm test
The GH page demo doesn't work because GH pages are served over SSL and openweather API only serves their endpoint over unsecured http. The best way to test this is running the local server and using Firefox (Chrome 56+ doesn't allow getlocation api over non SSL connections). Tried swapping openweather over Dark Sky api but ran out of time.
src/components/EditorContainer.js
src/components/EmbedContainer.js
src/modules/services.js