A powerful React Native boilerplate with production-ready configurations and best practices
- 🏗️ Built with TypeScript for type safety
- 📱 Cross-platform (iOS & Android) support
- 🔄 Redux + Redux Saga for state management
- 🎨 NativeWind for styling
- 🛠️ Reactotron integration for debugging
- 🌐 Environment-specific configurations
- 📦 Pre-configured folder structure
Make sure you have the following installed:
- Node.js (v20+)
- Yarn
- React Native CLI
- Xcode (iOS)
- Android Studio (Android)
- Clone the repository
git clone https://github.com/linhnguyen-gt/new-react-native
cd new-react-native
- Install dependencies
yarn install
- iOS Setup
cd ios && pod install && cd ..
iOS
yarn ios
Android
yarn android
src/
├── components/ # Reusable UI components
├── constants/ # App-wide constants and enums
├── hooks/ # Custom React hooks
├── httpClient/ # API client configuration
├── model/ # Data models and TypeScript types
├── redux/ # Redux store, actions, and reducers
├── services/ # Business logic and services
└── store/ # Redux store configuration
The project uses react-native-config
for environment management. Create the following files:
.env.development # Development environment variables
.env.staging # Staging environment variables
.env.production # Production environment variables