iOS app for comparing weather forecast with historical data built with react-native
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
Used components
- react-native
- redux
- d3.js (interpolate, scale, shape)
- react-native-svg
Check package.json
for details
Used API
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.