vip-git / react-native-boilerplate

πŸš€ Type Based Architecture for developing React Native Apps [Updated 0.57.4]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ 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.

Scalability Factor

This Type based Architecture scales smoothly for small - medium apps. If you guys are building a very large application I would suggest using the following feature based architecture which will be more developer friendly with ease of scaling.

React-Native-Feature-BoilerPlate

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. Open index.js and replace 'ReactNativeBoilerPlate' by your project name

  6. Open app.json and replace 'ReactNativeBoilerPlate' by your project name

  7. Run yarn or npm install to install dependencies

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

  9. Run react-native link

  10. Start the packager with npm start

  11. Connect a mobile device to your development machine

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

About

πŸš€ Type Based Architecture for developing React Native Apps [Updated 0.57.4]

License:MIT License


Languages

Language:JavaScript 100.0%