/reather

A React Weather App Exercise

Primary LanguageJavaScriptMIT LicenseMIT

Reather

Travis build status license

A React Weather App Exercise

Installation

$ git clone https://github.com/kodie/reather.git
$ cd reather
$ npm install

Development

$ npm start

The app will start in development mode available at http://localhost:3000 and will automatically refresh if you make any edits.

Test

$ npm test

All API calls are mocked so that tests can be ran offline.

Build

$ npm run build

An optimized production version of the app will be built in the /build folder. react-snapshot is used to pre-render the app.

Deployment

The app is automatically tested and then built and pushed to the gh-pages branch (which is served via GitHub Pages and available at https://kodie.github.io/reather) via Travis CI whenever a commit is pushed to master.

Optionally you can build and deploy manually by running:

$ npm run deploy

License

MIT. See the LICENSE file for more info.