Skip to content

Sajid-Ali/react-native-boilerplate

Repository files navigation

React Native Boilerplate (Basic app structure)

React Native React Navigation V2

React Native Boilerplate is a starting point for React Native application. This project is configured with redux, redux saga.

Scalability Factor

This Type based Architecture scales smoothly for small - medium apps.

Features

Prerequisites

Getting Started

  1. Clone this repo, https://github.com/Sajid-Ali/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. Run yarn or npm install to install dependencies

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

  6. Run react-native link

  7. Start the packager with npm start

  8. Connect a mobile device to your development machine

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