You can simply clone the project and start with your barebone project
git clone git@github.com:WrathChaos/react-native-redux-boilerplate.git
Rename the project: (Thanks to react-native-name)
npx react-native-rename <your-project-name>
With custom Bundle Identifier (Android only. For iOS, please use Xcode)
npx react-native-rename <your-project-name> -b <bundleIdentifier>
- npm i
- cd ios && pod install
- cd .. && react-native run-ios/android
- npm i
- cd android && mkdir local.properties
- nano local.properties
Make sure that set your right path of Android SDK
ndk.dir=/Users/your-name/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/your-name/Library/Android/sdk
- cd .. & react-native run-ios/android
- Redux
- Redux Services
- NavigationService
- API Usage Service
- Ready to use Styles
- React Navigation v4
- React Navigation Helpers
- HTTP Network Management (Axios)
- Built-in EventEmitter (EventBus)
- Generic React Hooks API Request Service
- Babel Plugin Module Resolver to fix the relative path problem (visit .babelrc)
- colors
- fonts
- spacing
- theme
- font-size
import colors from "colors";
import fonts from "fonts";
import fontSize from "font-size";
import spacing from "spacing";
import theme from "theme";
if you want to call them all at once
import { theme, fonts, colors, spacing, fontSize } from "shared-styles/index";
-
LICENSE - Write an article about the lib on Medium
FreakyCoder, kurayogun@gmail.com
React Native Redux Boilerplate is available under the MIT license. See the LICENSE file for more info.