/reactnative-init

Boilerplate code for ReactNative apps

Primary LanguageJavaScript

ColoredCow ReactNative

Boilerplate code for your next ReactNative app! 🚀

Pre-requisites

  1. Node && NPM
  2. Yarn

Installation

  1. Clone the repository:

    git clone https://github.com/coloredcow/reactnative-boilerplate project-name
  2. Rename the files and foler for your project To find out the files and directory that needs to be renamed, refer to the changes in this PR (here app "HUGE" is renamed to "AwesomeProject").

  3. Set up the build config files:

    cp src/env/debug.example.js src/env/debug.js
    cp src/env/release.example.js src/env/release.js
  4. Update the files src/env/debug.js and src/env/release.js to set up environment variables.

  5. Install the dependencies:

    yarn install
  6. Build the app and launch the Android emulator:

    npx react-native run-android --verbose