Boilerplate code for your next ReactNative app! 🚀
-
Clone the repository:
git clone https://github.com/coloredcow/reactnative-boilerplate project-name
-
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").
-
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
-
Update the files
src/env/debug.js
andsrc/env/release.js
to set up environment variables. -
Install the dependencies:
yarn install
-
Build the app and launch the Android emulator:
npx react-native run-android --verbose