Skip to content

iLeafSolutionsPvtLtd/react-native-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 React Native Boilerplate - May 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.0.1) included with redux-navigation support .

Features

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. Remove android contents rm -rf /android/*

  7. Remove ios contents rm -rf /ios/*

  8. Run react-native upgrade to update the project name to android and ios build

    • Type y to each prompt
  9. Run react-native link

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

  11. Start the packager with npm start

  12. Connect a mobile device to your development machine

  13. 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

Never commit directly on master, instead use branches and pull requests.

Initial Realease : 0.55.4

Maintained By: Victor