React Native & Redux Boilerplate (GraphQL coming soon)
Boilerplate for a React Native project using Redux for state management.
This project also includes multidirectional UI with NavigationExperimental:
![NAVIGATION_DEMO](https://thumbs.gfycat.com/DecimalMeanGonolek-size_restricted.gif)- Provide a quick prototyping environment for React Native apps with similar architectures.
- Demonstrate React Native, Redux, and GraphQL in common use cases and tests.
- Initial redux integration
- Multidirectional UI with Redux
- i18n
- GraphQL integration
- ListView example with GraphQL
- Epics with redux observable
- Caching with GraphQL, Redux, and redux-persist
- Configurable server for prototyping new data types
-
We recommend the following:
- Install Node with NVM.
- Install YARN
- Setting up Atom for a React Native environment using Nuclide, including all additional packages.
- Install React Native.
- Ensure you have all dependencies installed such as Xcode and Android Studio.
- Install React Native Debugger
- Run
yarn install
to install dependencies in the project directory. - Run the React Native Packager:
react-native start
. - Ensure you have started your Android simulator.
- Run both platforms with
npm start
- Or run them individually:
- Run iOS with
yarn run ios
. - Run Android with
yarn run android
.
- Run iOS with
- To run tests run
npm test