A production-ready React Native starter built with Clean Architecture, TypeScript, and AI-First principles.
Designed to help developers build scalable mobile applications with a modular architecture, real-world examples, and preconfigured tooling.
Perfect for:
- production apps
- scalable React Native projects
- teams adopting Clean Architecture
- AI-assisted development workflows
Screenshots / GIFs coming soon
- 🧱 Clean Architecture modular structure
- 🔒 Authentication module (Firebase ready)
- 🗂 Feature-based folder architecture
- ⚡ Zustand + React Query state management
- 🎨 Design System with theme tokens
- 🧩 Reusable UI components
- 🔄 Example CRUD module
- 🧪 Jest testing setup
- 🧹 ESLint + Prettier
- 🤖 AI-friendly architecture for code agents
Most React Native starters are either:
- too minimal
- too opinionated
- missing real-world examples
This template focuses on:
✔ scalable architecture
✔ modular feature development
✔ production-ready setup
✔ real example modules
✔ compatibility with AI developer tools
This template will have a companion CLI to extract modules:
npm init react-native-init-appor
bunx create-react-native-init-app
# or
npx create-react-native-init-app- Node.js (v22+ recommended)
- Ruby (for CocoaPods)
- JDK 17+
- Android Studio & Xcode (for iOS)
-
Clone the repository:
git clone https://github.com/alejandro-technology/react-native-template.git cd react-native-template -
Install dependencies:
npm install
-
Install iOS Pods:
cd ios && bundle install && bundle exec pod install && cd .. # or npm run pod-cocoa && npm run pod-install
-
Start Metro Bundler:
npm start
-
Run on iOS:
npm run ios
-
Run on Android:
npm run android
The project follows a Modular Architecture. Each feature is a self-contained module in src/modules/ containing its own layers:
src/
├── components/ # Shared UI components (Core & Form)
├── config/ # App-wide configuration (API, Storage)
├── modules/ # Feature Modules
│ ├── authentication/
│ ├── products/ # Example CRUD module
│ └── examples/ # UI Component Showcase
├── navigation/ # Root navigation configuration
├── providers/ # App-wide providers (Theme, Auth, QueryClient)
└── theme/ # Design tokens (Colors, Typography, Spacing)
Each module (e.g., src/modules/products/) is divided into:
- Domain: Entities, Repository Interfaces, Errors (Pure TS, no React/Lib dependencies).
- Application: Use Cases, State Management (Zustand/Query), Logic.
- Infrastructure: API calls, Database implementation, Third-party adapters.
- UI: Screens, Components, Navigation.
npm run lint: Run ESLint.npm run test: Run Jest tests.npm run clean-android: Deep clean Android build.npm run clean-ios: Deep clean iOS build (DerivedData + Pods).npm run clean-watch: Reset Watchman (fixes Metro issues).
- Authentication: Complete Sign In / Sign Up flow with Firebase integration.
- Products: A full CRUD example demonstrating the 4-layer architecture with listing, details, and creation forms.
- Users: A module for user profile management.
- Examples: A gallery of UI components to visualize the design system.
Contributions are welcome!
- Fork the repository
- Create your feature branch
- Commit changes
- Open a Pull Request
MIT