Skip to content

harishileaf/React-Native-CodeFormat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 React Native Boilerplate And Code format - July 2019

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 (3.11.0).

Features

Prerequisites

Getting Started

  1. Clone this repo, git clone https://github.com/ileafsolutions/React-Native-CodeFormat.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. Open app.json and change the name and displayName property with your project name
  9. Run react-native eject to update the project name to android and ios
  10. Run react-native link
  11. Open index.js and replace 'ReactNativeBoilerPlate' by your project name
  12. Start the packager with npm start
  13. Connect a mobile device to your development machine
  14. 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.

About

React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.1%
  • Objective-C 14.3%
  • Ruby 9.8%
  • Java 9.2%
  • Python 6.6%