andt-base-reactnative
v2.1.0
Published
React Native project base template Expo
Maintainers
Readme
🚀 Expo Starter Project
Một template khởi tạo dự án React Native với Expo, được cấu hình sẵn nhiều công cụ hiện đại để tăng tốc phát triển.
📦 1. Hướng dẫn cài đặt
# Cài pnpm nếu chưa có
npm install -g pnpm
# Clone dự án
npx andt-base-reactnative@latest <ProjectName>
Ex : npx andt-base-reactnative@latest MyApp
🛠 2. Tech Stack & Libraries
expo
expo-router
nativewind
tailwindcss
i18next
react-hook-form
zustand
zod
react-query
axios
eslint
jest
react-testing-library
husky
lint-staged
✨ 3. Key Features
⚙️ Multi-environment build support (Production, Staging, Development) using Expo configuration.
🔥 React Query and axios for efficient data fetching and state management.
🎯 Localization support with i18next, including Eslint for validation.
🧪 Unit testing setup with Jest and React Testing Library.
🦊 Husky for Git Hooks: Automate your git hooks and enforce code standards.
💡 Clean project structure with Absolute Imports for easier code navigation and management.
🚫 Lint-staged: Run Eslint and TypeScript checks on Git staged files to maintain code quality.
🛠 CI/CD 10+ Github Actions workflows for building, releasing, testing, and distributing your app.
🧵 Robust form handling with react-hook-form and zod for validation, plus keyboard handling.
📂 4. Project Structure
bash
Copy code
├── app/ # Expo Router pages
├── components/ # Reusable UI components
├── hooks/ # Custom hooks
├── locales/ # i18n translation files
├── store/ # Zustand stores
├── utils/ # Helper functions
├── __tests__/ # Unit and integration tests
├── env.js # Environment variables (APP_NAME, SCHEME, etc.)
├── package.json
└── README.md
🧑💻 5. Scripts
bash
Copy code
# Development
pnpm expo start
# iOS
pnpm expo run:ios
# Android
pnpm expo run:android
# Build
pnpm expo prebuild
# Lint
pnpm lint
# Test
pnpm test
📜 6. License
MIT License © 2025 Your Name
