https://github.com/kodie/reather
A React Weather App Exercise
https://github.com/kodie/reather
geonames gh-pages javascript openweathermap openweathermap-api react react-snapshot reactjs weather
Last synced: 7 months ago
JSON representation
A React Weather App Exercise
- Host: GitHub
- URL: https://github.com/kodie/reather
- Owner: kodie
- License: mit
- Created: 2018-07-30T00:12:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T14:45:18.000Z (almost 7 years ago)
- Last Synced: 2025-01-21T17:33:22.111Z (9 months ago)
- Topics: geonames, gh-pages, javascript, openweathermap, openweathermap-api, react, react-snapshot, reactjs, weather
- Language: JavaScript
- Homepage: https://kodie.github.io/reather
- Size: 2.02 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Reather
[](https://travis-ci.org/kodie/reather) [](LICENSE.md)
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](https://github.com/geelen/react-snapshot) is used to pre-render the app.
## Deployment
The app is automatically tested and then built and pushed to the [gh-pages](https://github.com/kodie/reather/tree/gh-pages) branch (which is served via [GitHub Pages](https://pages.github.com) and available at https://kodie.github.io/reather) via [Travis CI](https://travis-ci.org) 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](LICENSE.md) for more info.