All you need to start your React Native application. This project is configured with redux, redux saga and redux persist. Latest version of react-navigation with NavigationService.
app/common: common stuff used across applicationapp/common/actions: redux actionsapp/common/api: api calls e.g. login userapp/common/assets: assets (image, audio files, ...) used by the applicationapp/common/components: pure components used in modules e.g. scrollview, spinner, messageapp/common/config: configuration of the applicationapp/common/constants: constants of the application e.g. stringConstantsapp/common/lib: helper libs for components/ reducers e.g. create reducerapp/common/navigation: react navigation ( navigation stck and navigation service )app/common/reducers: redux reducersapp/common/sagas: redux sagasapp/common/services: application services, e.g. application persist informationapp/common/store: configure redux storeapp/common/utils: utilities e.g. scalingapp/modules: functionality wise distribution of container components in the application e.g. auth, home, settings,
- Clone this repo,
git clone https://github.com/shrutikaponde/BoilerPlate.git <your project name> - Go to project's root directory,
cd <your project name> - Remove
.gitfolder,rm -rf .git - Open
package.jsonand change thenameproperty with your project name - Open
index.jsand replace'BoilerPlate'by your project name - Open
app.jsonand replace'BoilerPlate'by your project name - Run
yarnornpm installto install dependencies - Connect a mobile device to your development machine
- Run the test application:
- On Android:
- Run
react-native run-android
- Run
- On iOS:
- Open
ios/YourReactProject.xcodeprojin Xcode - Hit
Runafter selecting the desired device
- Open
- Start coding !!!!
- Node v8.10 (it is recommended to install it via NVM)
- Yarn
- A development machine set up for React Native by following these instructions
Open for PRs