/react-native-boilerplate

🚀 React Native Boilerplate Updated 0.57.1

Primary LanguageJavaScriptMIT LicenseMIT

🚀 React Native Boilerplate - September 2018

React Native React Navigation V2

React Native Boilerplate is a starting point for React Native application. This project is configured with redux, redux saga and redux persist. Latest version of react-navigation (v2.16) with NavigationService instead of Redux Integration.

Features

Projects using this BoilerPlate

Prerequisites

Getting Started

  1. Clone this repo, git clone https://github.com/victorkvarghese/react-native-boilerplate.git <your project name>

  2. Go to project's root directory, cd <your project name>

  3. Remove .git folder, rm -rf .git

  4. Open package.json and change the name property with your project name

  5. Run yarn or npm install to install dependencies

  6. Run react-native upgrade to upgrade and add iOS & Android Folders.

  7. Run react-native link

  8. Open index.js and replace 'ReactNativeBoilerPlate' by your project name

  9. Start the packager with npm start

  10. Connect a mobile device to your development machine

  11. Run the test application:

  • On Android:
    • Run react-native run-android
  • On iOS:
    • Open ios/YourReactProject.xcodeproj in Xcode
    • Hit Run after selecting the desired device
  1. Enjoy!!!

Contributing

PRs are welcome