Skip to content

delfrrr/weather-app-react-native

Repository files navigation

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.