Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/delfrrr/weather-app-react-native

The source code of react-native weather app
https://github.com/delfrrr/weather-app-react-native

d3js historical-data react-native redux weather weather-forecast

Last synced: about 2 months ago
JSON representation

The source code of react-native weather app

Lists

README

        

# Weather-App-React-Native

iOS app for comparing weather forecast with historical data built with [react-native](https://facebook.github.io/react-native/).
The source code is published for knowledge sharing purposes.

# Demo


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

* [Veiw full screencast on YouTube](https://www.youtube.com/watch?v=Z0eKfLKoo7w)
* [Download from AppStore](https://itunes.apple.com/us/app/zowni/id1140299292?ls=1&mt=8)

# Used components

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

Check `package.json` for details

# Used API

* [DarkSky](https://darksky.net/dev/) for weather forecast and historical data
* [Mapbox](https://www.mapbox.com/geocoding/) 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](https://github.com/facebook/react-native-fbsdk)
* type `$ ./node_modules/.bin/react-native link`

Then you can follow [react-native docs to run on device](https://facebook.github.io/react-native/docs/running-on-device-ios.html#content). Or just [download it from AppStore](https://itunes.apple.com/us/app/zowni/id1140299292?ls=1&mt=8) and try.