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/tranduyduong/project-base/tree/boilerplate-fetching-api - Check out code to boilerplate-fetching-api branch: Run
git checkout boilerplate-fetching-api - Run
yarn installfrom root directory - Start the app
yarn iosoryarn 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
/src- Contains our React Native App codebase/actions- Shared Action Types and Action Creators/constants- Shared Images, Fonts and others/containers- Smart components -/index.js-/counter- - - Action.js - - - Constants.js - - - index.js - - - Reducer.js -/googleNews- - - Action.js - - - Constants.js - - - index.js - - - Reducer.js/reducers- Reducers -/index.js/stores- Store/index.js
