Overview:
This project is a React Native boilerplate that provides an architecture optimized for building solid cross-platform mobile applications. It aims to simplify the process of setting up a new project by automating the installation of common packages and implementing best practices learned from experienced developers in the React Native community. The boilerplate separates the UI from the business logic, allowing for better organization and scalability. It also provides documentation and a storybook feature for easier development and testing.
Features:
- Architecture optimized for building cross-platform mobile applications
- Separation of concerns between UI and business logic
- Automation of project setup and installation of common packages
- Extensible to suit any workflow
- Documentation and explanation of project structure
- Storybook feature for visualizing and testing components
- Contributions welcome from the community
Installation:
To install the boilerplate, follow these steps:
- Clone the repository by typing the following command in the terminal:
git clone [repository_url]
- Optional: Remove the existing git history and initialize the project with your own.
- Install the dependencies by running the following command:
npm install
- For Android, run the following command while the emulator is open or a device is connected via adb.
react-native run-android
- For iOS, run the following commands to install pods and run the app on iPhone simulator.
cd ios && pod install && cd ..
react-native run-ios
- Rename the project with the name and bundle identifier of your choosing. It is recommended to do this in a new branch.
Summary:
This React Native boilerplate provides a structured and optimized architecture for building cross-platform mobile applications. It automates the setup process and includes common packages and best practices from the React Native community. With the separation of concerns between the UI and business logic, developers can easily organize and scale their projects. The documentation and storybook feature make development and testing more straightforward. Contributions are welcome, and the boilerplate is regularly updated to align with the latest React Native releases. The project is licensed under the MIT License.