Simple react-native boilerplate for mobile development.
- Ensure you've followed the React Native - Get Started Guide
- Clone this project
git clone https://github.com/pcofilada/react-native-boilerplate.git
- Install node.js
- Install Xcode and run it once to install command line tools
- Install React Native's CLI (
npm install -g react-native-cli) - Install project dependencies
npm installOr (optional) install and use yarn for faster package management
yarn install- Start the app in an emulator
npm run iosnpm run android- React Native for building mobile apps using Javascript
- Redux a predictable state container for Javascript apps
- Redux Thunk middleware for Redux
- Babel for ES6+ support
- React Navigation navigation for React Native
/android- Android native stuff/ios- iOS native stuff/src- Contains our React Native App codebase/actions- Action Types and Action Creators/assets- Images, Fonts and others/components- Dumb components/common- Shared components
/config- Config files/containers- Smart components/reducers- Reducers/utils- Helpers/App.js- Base component/Router.js- App navigation/Store.js- Store