Skip to content

XiandongHu/react-native-first-app

Repository files navigation

My First React Native App

This is an example for react-native, which display the NBA informations, such as teams, players, and so on. Relative data is from stat.nba.com, you can reference the wiki page of nba_py on github.

This example tells us how to use React Native, Redux, and more.

Requirements

  1. React Native (follow iOS and Android guides)
  • Xcode 7.3+
  1. CocoaPods (only for iOS)
  • Version 1.0+ recommended (gem install cocoapods --pre)

Setup

  1. Clone the repo
$ git clone https://github.com/XiandongHu/react-native-first-app.git
$ cd react-native-first-app
  1. Install dependencies (npm v3+)
$ npm install
$ (cd ios; pod install)       # only for iOS version
  1. Running on Android
$ react-native run-android
$ adb reverse tcp:8081 tcp:8081     # required to ensure the Android app can access the Packager server
  1. Running on iOS
$ react-native run-ios

About

first react native app using redux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages