my-rn-kit
v1.0.1
Published
React Native Boilerplate
Downloads
2
Maintainers
Readme
MYRNKit
⚛️ 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! 📱✨
📱 Preview of myapp
https://github.com/avisek123/MYRNKit/assets/62586380/9741e408-1c00-43b5-9625-d6a87d385c43
Key Features ⭐️
- Handle state management using redux-toolkit: Redux Toolkit offers a powerful and efficient way to handle complex state logic.
- MMKV - The fastest key/value storage for React Native: react-native-mmkv is a library for React Native that provides bindings to MMKV, a high-performance key-value storage library for Android and iOS.
- Localization: Easily localize your app with internationalization support.
- react-hook-form: react-hook-form is a library for managing large input field. It's super light weight and optimizable.
- rtk query: RTK Query is a powerful data fetching and caching library built on top of Redux Toolkit.
- @shopify/flash-list: Fast & performant React Native list.
- react-native-fast-image: Boost your app's performance with React Native Fast Image for seamless image loading!
- 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 my-rn-kit
Libraries Using MYRNKit 📚
- @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
🤔 How to contribute
Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
💖 Support my projects
I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
- Starring and sharing the projects you like 🚀
- If you're feeling especially charitable, please follow avisek123 on GitHub.
Thanks! ❤️ avisek123.github.io
Acknowledgements
A big thank you to all users of the MYRNKit React Native Boilerplate. Your support and feedback are invaluable, driving continuous improvement and making this project a success.Your contributions to the React Native development community are greatly appreciated.