{"id":14958040,"url":"https://github.com/john-pels/react-native-starter-template","last_synced_at":"2025-10-24T14:30:32.783Z","repository":{"id":253398119,"uuid":"843389989","full_name":"John-pels/react-native-starter-template","owner":"John-pels","description":"A react-native expo project template designed to accelerate development by providing essential features such as state management, internationalization, data fetching, navigation with Expo Router, Authentication, theme, etc.","archived":false,"fork":false,"pushed_at":"2024-09-16T18:53:45.000Z","size":2245,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-22T05:02:42.012Z","etag":null,"topics":["axios","biomejs","bun","context-api","expo","expo-router","i18n","react","react-native","react-query","redux","rest-api"],"latest_commit_sha":null,"homepage":"https://github.com/John-pels/react-native-starter-template","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/John-pels.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T12:10:02.000Z","updated_at":"2024-09-16T18:53:49.000Z","dependencies_parsed_at":"2024-09-17T06:46:44.884Z","dependency_job_id":null,"html_url":"https://github.com/John-pels/react-native-starter-template","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"27f4a31d795658facb04e9a9122e123db5b9a79d"},"previous_names":["john-pels/react-native-starter-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/John-pels%2Freact-native-starter-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/John-pels%2Freact-native-starter-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/John-pels%2Freact-native-starter-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/John-pels%2Freact-native-starter-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/John-pels","download_url":"https://codeload.github.com/John-pels/react-native-starter-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867815,"owners_count":16554365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","biomejs","bun","context-api","expo","expo-router","i18n","react","react-native","react-query","redux","rest-api"],"created_at":"2024-09-24T13:16:02.195Z","updated_at":"2025-10-24T14:30:32.777Z","avatar_url":"https://github.com/John-pels.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Starter Template \u0026middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/John-pels/react-native-starter-template/blob/main/LICENSE)\u003cimg src=\"https://img.shields.io/github/stars/John-pels/react-native-starter-template\" alt=\"stars\"\u003e[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://legacy.reactjs.org/docs/how-to-contribute.html#your-first-pull-request)[![GitHub issues](https://img.shields.io/github/issues/John-pels/react-native-starter-template.svg)](https://github.com/John-pels/react-native-starter-template)[![GitHub last commit](https://img.shields.io/github/last-commit/John-pels/react-native-starter-template.svg)](https://github.com/John-pels/react-native-starter-template/commits/main)\n\n![React Native](https://img.shields.io/badge/React%20Native-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB)\n![Redux](https://img.shields.io/badge/Redux-764ABC?style=for-the-badge\u0026logo=redux\u0026logoColor=white)\n![i18next](https://img.shields.io/badge/i18next-26A69A?style=for-the-badge\u0026logo=i18next\u0026logoColor=white)\n![React Query](https://img.shields.io/badge/React%20Query-FF4154?style=for-the-badge\u0026logo=react-query\u0026logoColor=white)\n![Bun](https://img.shields.io/badge/BUN-FBF0DF?style=for-the-badge\u0026logo=bun\u0026logoColor=brown)\n![License](https://img.shields.io/badge/License-UNLICENSED-green?style=for-the-badge)\n\nThis Template is a React Native template leveraging on expo and [Expo File-Based Routing](https://docs.expo.dev/develop/file-based-routing/). It is designed to accelerate development by providing essential features such as state management, internationalization, data fetching, navigation with Expo-router, Authentication, and reusable components. To learn more about expo, check their official documentation [here](https://docs.expo.dev/).\n\n\u003e NOTE: This project uses [Bun](https://bun.sh/docs/install/lockfile) as the package manager, [Biomejs](https://biomejs.dev/) for code linting and formatting, and [Total-typescript Reset](https://www.totaltypescript.com/ts-reset) for improved typescript's built-in typings.\n\n## Features\n\n- **🌍 Internationalization (i18n)**\n\n  - Multi-language support using `react-i18next` for seamless localization.\n\n- **🗃️ State Management with Redux and Context API**\n\n  - Centralized state management for efficient global state access and updates.\n\n- **🔍 Data Fetching with React Query**\n\n  - Optimized data fetching, caching, and synchronization.\n\n- **🧭 Navigation**\n\n  - Smooth and intuitive navigation using `expo-router` with `Link` and hooks like `useRouter()`, `useNavigation()`, `useGlobalSearchParams()`, `useLocalSearchParams()`, etc.\n\n- **⚛️ Component-Based Architecture**\n\n  - Modular design with reusable UI components and native StyleSheet object.\n\n- **📦 Common Utilities**\n\n  - Helper functions and utilities for streamlined development.\n\n- **🔗 Axios Management**\n\n  - Configurable API requests using Axios with built-in error handling and response management.\n\n- **🍪 Cookie Management**\n\n  - Simplified management of cookies and expo-secure-store for authentication and user sessions.\n\n- **🔒 Authentication**\n  - User authentication and registration with secure token management.\n\n## Folder Structure\n\n- `src/` - source folder for all other directories\n- `app/` - special directory. Any file you add to this directory becomes a route inside the native app and reflects the same URL for that route on the web\n- `assets/` - directory for images and fonts\n- `components/` - primary and secondary resuable components and tests directory\n- `config/` - initialization of environment variables and other configuration\n- `constants/` - colors palette, window with and height, etc\n- `contexts/` - context API for session, user, theme, etc\n- `hooks` - custom hooks, theme hooks, etc\n- `lib/` - abstractions on third party libraries\n- `providers/` - third party library providers such as Redux, React-query, etc\n- `queries/` - react-query query and mutation hooks to make server requests\n- `scripts/` - to reset project, native scripts, etc\n- `services/` - axios or ky configuration, REST API methods and routes, etc\n- `store/` - redux and redux-toolkit state, slices, and actions\n- `types/` - typescript type declarations\n- `utils/` - utility and helper functions\n\n## 🚀 Getting Started\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- Node.js (v14 or higher)\n- Yarn\n- Android Studio / Xcode for Android/iOS development\n- Bun\n\n### Installation\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/John-pels/react-native-starter-template.git\n   cd react-native-starter-template\n   ```\n\n2. **Install dependencies:**\n\n   ```sh\n   bun install\n   ```\n\n3. **Configure environment variables:**\n\n   Change `.env.example` to `.env` file in the root directory and update with your configuration settings:\n\n### Running the Application\n\n1. **Start the Metro Bundler:**\n\n   ```sh\n   bun start\n   ```\n\n2. **Run the application on Android:**\n\n   ```sh\n   bun android\n   ```\n\n3. **Run the application on iOS:**\n\n   ```sh\n   bun ios\n   ```\n\n4. **Access the application:**\n\n   The app will be available on your emulator or device.\n\n## 🧪 Testing\n\nTo run the tests, use the following command:\n\n```sh\nbun test\n```\n\n## 🛠️ Scripts\n\n- **🧹 Format and Lint code:** `bun check`\n- **🏃‍♂️ Start the application:** `bun start`\n- **👨‍💻 Start in development mode:** `bun android` or `bun ios` or `bun web`\n- **🔍 Lint the code using ESLint:** `yarn lint`\n- **🧪 Run the tests:** `bun test`\n- **🚀 update packages:** `bun update-packages`\n- **️‍🔥 Find unused files, dependencies and exports:** `bun knip`\n\n## 🛠️ Expo Application Services [(EAS)](https://expo.dev/eas) Scripts\n\n- **🧹 Runs the Android app in Release mode on a connected device or emulator:** `bun android:release`\n- **🧹 Create a development build for Android, using the configuration specified in the development profile:** `bun android:dev-build`\n- **🧹 Performs a local development build for Android using EAS Build, again using the development profile:** `bun android:dev-build:local`\n- **🧹 Builds an Android app using the preview profile on EAS Build:** `bun android:preview`\n- **🧹 Builds and runs the iOS app in Release mode on a connected device or simulator:** `bun ios:release`\n- **🧹Creates an iOS build using EAS Build, specifically targeting the iOS simulator:** `bun ios:dev-build`\n- **🧹 Performs a local development build for iOS using EAS Build, using the development profile:** `bun ios:dev-build:local`\n- **🧹 Builds an iOS app using the preview profile on EAS Build:** `bun ios:preview`\n\n## 📜 License\n\nMIT License\n\n## 👤 Author\n\n[John O. Emmanuel](mailto:ajeigbejohnolu@gmail.com)\n\n---\n\nFeel free to contribute to this template by submitting issues or pull requests.\n\nFor any questions or support, please contact [John O. Emmanuel](mailto:ajeigbejohnolu@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-pels%2Freact-native-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-pels%2Freact-native-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-pels%2Freact-native-starter-template/lists"}