avi_rnkit
v1.0.0
Published
⚛️ React Native Boilerplate: Jumpstart your app development with essential configurations for React Native projects. Includes libraries, navigation, state management. Streamline your workflow and focus on building amazing mobile experiences! 📱✨
Downloads
1
Readme
rnKit
⚛️ React Native Boilerplate: Jumpstart your app development with essential configurations for React Native projects. Includes libraries, navigation, state management. Streamline your workflow and focus on building amazing mobile experiences! 📱✨
Key Features
- Handle state management using redux-toolkit: Redux Toolkit offers a powerful and efficient way to handle complex state logic.
- Localization: Easily localize your app with internationalization support.
- Authentication Stack: Boilerplate includes authentication stack for user authentication.
- Main Stack: Configured main stack for navigation and UI structure.
- And Many More: Additional features and configurations to streamline development.
Quick Start ⚡
To create a new project using the boilerplate simply run :
npx react-native@latest init MyApp --template react-native-kit
Libraries Using BrewRNKit 📚
- @react-navigation/native
- react-native-screens
- react-native-safe-area-context
- @react-navigation/native-stack
- react-native-mmkv
- react-redux
- @reduxjs/toolkit
- i18next
- @os-team/i18next-react-native-language-detector
- intl-pluralrules
- react-i18next
Requirements
Node 18 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.
You also need to install the dependencies required by React Native.
Go to the React Native environment setup, then select React Native CLI Quickstart
tab.
Follow instructions for your given development OS
and target OS
.
Getting Started
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
Step 1: Start the Metro Server
First, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command from the root of your React Native project:
# using npm
npm install
npm start
# OR using Yarn
yarn install
yarn start
Step 2: Start your Application
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
For Android
# using npm
npm run android
# OR using Yarn
yarn android
For iOS
# using npm
cd ios
pod install
npm run ios
# OR using Yarn
cd ios
pod install
yarn ios