A React 16.3.2 weather service application which consumes data from Open Weather Maps an open source live weather REST API. This project was bootstrapped with Create React App which has been built by the ReactJS devs. The project makes use of ES6 syntax features.
- Node v8.0.0
- NPM v5.6.0
- Yarn v1.6.0
- ReactJS v16.3.2
- Clone my Git repository into your htdocs.
git clone https://github.com/maxsilvauk/reactjs-weather-app.git
- Move to the reactjs-weather-app root folder.
cd reactjs-weather-app
- Install x-code
- Install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install node
brew install node
- Update node
brew update node
- Install yarn
brew install yarn
- Install node dependancies with yarn
yarn install
- Start application
yarn start
- Navigate to application in browser.
http://localhost:8000
- Build application
yarn build
- Navigate to the build folder
reactjs-weather-app/build
- Test application with Jest (Facebook testing suite built on Jasmine) - Need to complete!!
yarn test