A boilerplate for React Native projects, with these following libraries integrated:
Development libraries:
- React native navigation v2: https://github.com/wix/react-native-navigation
- React native localize: https://github.com/react-native-community/react-native-localize
- Redux: https://github.com/reduxjs/redux
- Redux saga: https://github.com/redux-saga/redux-saga
- Formik: https://github.com/jaredpalmer/formik
- React theme: https://github.com/agiletechvn/react-theme
- React native codepush: https://github.com/Microsoft/react-native-code-push
Testing libraries:
- Mocha: https://github.com/mochajs/mocha
- Detox: https://github.com/wix/Detox
Other supporting libraries:
- Babel
- Flow
- Install javascript dependencies
yarn
- Run the app
react-native run-ios
react-native run-android
- Install json-server
yarn global add json-server
- Run this command from the project root folder (which contains the
db.json
file)
json-server --watch db.json