delfrrr / weather-app-react-native

The source code of react-native weather app

Home Page:https://itunes.apple.com/us/app/zowni/id1140299292?ls=1&mt=8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The source code of react-native weather app

https://itunes.apple.com/us/app/zowni/id1140299292?ls=1&mt=8


Languages

Language:JavaScript 95.0%Language:Objective-C 3.1%Language:Python 0.9%Language:Java 0.9%