• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The source code of react-native weather app

Weather-App-React-Native

iOS app for comparing weather forecast with historical data built with react-native. The source code is published for knowledge sharing purposes.

Demo

Weather-App-React-Native Get invite on Apple TestFlight

Used components

  • react-native
  • redux
  • d3.js (interpolate, scale, shape)
  • react-native-svg

Check package.json for details

Used API

  • DarkSky for weather forecast and historical data
  • Mapbox for city search

Install

  • clone repo
  • type$ npm install
  • create file ./credentials.json
{
    "DARK_SKY_API_KEY": "{DARK_SKY_API_KEY}",
    "MAPBOX_API_KEY": "{MAPBOX_API_KEY}"
}
  • setup FacebookSDK as described here
  • type $ ./node_modules/.bin/react-native link

Then you can follow react-native docs to run on device. Or just download it from AppStore and try.