Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 632 Bytes

File metadata and controls

24 lines (19 loc) · 632 Bytes

React 5-day weather forecast component

Component based on http://openweathermap.org API.

Demo: http://weather-forecast-react.musicrecon.com/

dev process

  1. clone the repo
  2. cd to project
  3. run 'npm install'
  4. run 'npm start' for dev build
  5. run 'npm run build' for production build

component usage

Component uses http://openweathermap.org/ API to retrieve forecast data.

<WeatherForecast
  apiKey="your openweathermap.org api key here"
  city="London"
  country="GB" />

todo:

  • export as npm plugin