{"id":39558462,"url":"https://github.com/piashcse/react-native-boilerplate","last_synced_at":"2026-01-18T07:03:14.029Z","repository":{"id":37040114,"uuid":"180441217","full_name":"piashcse/react-native-boilerplate","owner":"piashcse","description":"Expo Boilerplate built on RTK Query and Redux architecture to streamline React Native development. This boilerplate provides a scalable, maintainable, and production-ready setup for your mobile applications.","archived":false,"fork":false,"pushed_at":"2025-09-11T17:27:30.000Z","size":41720,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-11T19:11:13.314Z","etag":null,"topics":["android","axios","boilerplate-template","expo","expo-router","i18next","ios","patch-package","react-native","react-native-paper","react-native-vector-icons","react-navigation","redux","redux-persist","redux-toolkit","redux-toolkit-query","starter-kit","starter-template","typescript","zustand"],"latest_commit_sha":null,"homepage":"","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/piashcse.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-04-09T20:06:29.000Z","updated_at":"2025-09-11T17:27:09.000Z","dependencies_parsed_at":"2024-12-20T16:21:43.300Z","dependency_job_id":"3f0b61ad-fdd5-49ff-84d5-97a2a9fca9ce","html_url":"https://github.com/piashcse/react-native-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piashcse/react-native-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piashcse%2Freact-native-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piashcse%2Freact-native-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piashcse%2Freact-native-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piashcse%2Freact-native-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piashcse","download_url":"https://codeload.github.com/piashcse/react-native-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piashcse%2Freact-native-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28532605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android","axios","boilerplate-template","expo","expo-router","i18next","ios","patch-package","react-native","react-native-paper","react-native-vector-icons","react-navigation","redux","redux-persist","redux-toolkit","redux-toolkit-query","starter-kit","starter-template","typescript","zustand"],"created_at":"2026-01-18T07:03:13.967Z","updated_at":"2026-01-18T07:03:14.023Z","avatar_url":"https://github.com/piashcse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expo React Native Boilerplate 🚀 \n\n[![Expo](https://img.shields.io/badge/Expo-54.0.29-blue.svg?logo=expo)](https://expo.dev/)\n[![React Native](https://img.shields.io/badge/React%20Native-v0.81.5-green.svg)](https://facebook.github.io/react-native/)\n![badge-Android](https://img.shields.io/badge/Platform-Android-brightgreen)\n![badge-iOS](https://img.shields.io/badge/Platform-iOS-lightgray)\n[![Redux Toolkit](https://img.shields.io/badge/Redux%20Toolkit-2.6.0-764ABC?logo=redux)](https://redux-toolkit.js.org/)\n[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n\u003ca href=\"https://github.com/piashcse\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/static/v1?label=GitHub\u0026message=piashcse\u0026color=C51162\"/\u003e\u003c/a\u003e \n\nA well-structured **Expo Boilerplate** built on **RTK Query** and **Redux architecture** to streamline React Native development. This boilerplate provides a scalable, maintainable, and production-ready setup for your mobile applications.  \n\n## ✨ Features  \n\n- **RTK Query \u0026 Redux Toolkit** – Efficient state management and API handling  \n- **Zustand Support** – Lightweight alternative for global state management  \n- **Expo Router** – File-based routing for a better navigation experience\n- **Localization (i18n)** – Multi-language support\n- **Centralized Loading \u0026 Error Handling** – Consistent error and loading state management across the app  \n- **Reusable Components** – Well-structured UI components  \n- **Custom Hooks** – Optimized hooks for state and effect management \n- **Scalable Architecture** – Organized and maintainable folder structure\n- **TypeScript Ready** – Strongly-typed project for reliability \n\n\n## Project Directory\n\n```\nsrc\n├── app                    # Entry point or global app setup\n├── assets                 # Fonts, images, videos, etc.\n│   ├── fonts\n│   └── images\n├── components             # Reusable UI components\n├── config                 # App-wide configurations\n│   ├── appConfig.ts\n│   ├── dynamicDimension.ts\n│   └── theme.ts\n├── constants              # App constants and color definitions\n│   ├── appConstants.ts\n│   └── appColors.ts\n├── hooks                  # Custom React hooks\n│   ├── useColorScheme.ts\n│   ├── useColorScheme.web.ts\n│   ├── useLocalization.ts\n│   └── useThemeColor.ts\n├── localization           # i18n and translation logic\n├── selector               # Redux selectors or custom selectors\n│   └── selector.ts\n├── service                # API services\n│   ├── axiosInstance.ts\n│   └── query\n│       ├── baseQuery.ts\n│       └── rtkQuery.ts\n├── store                  # Redux or RTK store setup and middlewares\n│   ├── apiErrorMiddleware.ts\n│   └── store.ts\n├── types                  # TypeScript types/interfaces\n│   ├── ApiRequest.ts\n│   └── ApiResponse.ts\n├── utils                  # Utility/helper functions\n│   └── common.ts\n├── zustand                # Zustand stores (state management)\n│   ├── apiErrorStore.ts\n│   ├── appStore.ts\n│   └── snackBarStore.ts\n```\n\n## Built With 🛠\n\n- [Expo](https://github.com/expo/expo) - An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.\n- [React-Native](https://reactnative.dev/) - React Native brings React's declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.\n- [Expo-Router](https://docs.expo.dev/router/introduction/) - Expo Router is a file-based router for React Native and web applications. It allows you to manage navigation between screens in your app, allowing users to move seamlessly between different parts of your app's UI, using the same components on multiple platforms (Android, iOS, and web).\n- [Expo-Font](https://docs.expo.dev/versions/latest/sdk/font/) - Expo Font allows loading fonts from the web and using them in React Native components\n- [Redux](https://redux.js.org/) - Redux is an open-source JavaScript library for managing and centralizing application state. It is most commonly used with libraries such as React or Angular for building user interfaces.\n- [RTK-Query](https://redux-toolkit.js.org/) - The official, opinionated, batteries-included toolset for efficient Redux developmen\n- [Axios](https://github.com/axios/axios) - Promise based HTTP client for the browser and node.js.\n- [Redux-toolkit](https://redux-toolkit.js.org/) - The official, opinionated, batteries-included toolset for efficient Redux development.\n- [Netinfo](https://github.com/react-native-netinfo/react-native-netinfo) - React Native Network Info API for Android, iOS, macOS, Windows \u0026 Web.\n- [zustand](https://github.com/pmndrs/zustand) - A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy API based on hooks.\n- [react-native-async-storage](https://github.com/react-native-async-storage/async-storage#readme) - An asynchronous, persistent, key-value storage system for React Native.\n- [react-native-paper](https://github.com/callstack/react-native-paper) - Material Design for React Native (Android \u0026 iOS).\n- [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons)- Customizable Icons for React Native with support for image source and full styling.\n- [patch-package](https://github.com/ds300/patch-package) - Fix broken node modules instantly\n- [ESLint](https://eslint.org/) - ESLint statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.\n- [TypeScript](https://www.typescriptlang.org/) - TypeScript is JavaScript with syntax for types.\n## Requirements\n\n- [Node.js](https://nodejs.org/) (latest)\n- [Yarn](https://yarnpkg.com/) (latest)\n\n## How to run\n\n- `git clone git@github.com:piashcse/react-native-boilerplate.git`\n- `yarn install`\n\nNow, you can choose a command to run the project:\n\n- `yarn ios` to run on iOS simulator\n- `yarn android` to run on Android simulator\n\n## 👨 Developed By\n\n\u003ca href=\"https://twitter.com/piashcse\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/piashcse\" width=\"80\" align=\"left\"\u003e\n\u003c/a\u003e\n\n**Mehedi Hassan Piash**\n\n[![Twitter](https://img.shields.io/badge/-Twitter-1DA1F2?logo=x\u0026logoColor=white\u0026style=for-the-badge)](https://twitter.com/piashcse)\n[![Medium](https://img.shields.io/badge/-Medium-00AB6C?logo=medium\u0026logoColor=white\u0026style=for-the-badge)](https://medium.com/@piashcse)\n[![Linkedin](https://img.shields.io/badge/-LinkedIn-0077B5?logo=linkedin\u0026logoColor=white\u0026style=for-the-badge)](https://www.linkedin.com/in/piashcse/)\n[![Web](https://img.shields.io/badge/-Web-0073E6?logo=appveyor\u0026logoColor=white\u0026style=for-the-badge)](https://piashcse.github.io/)\n[![Blog](https://img.shields.io/badge/-Blog-0077B5?logo=readme\u0026logoColor=white\u0026style=for-the-badge)](https://piashcse.blogspot.com)\n\n# License\n\n```\nCopyright 2023 piashcse (Mehedi Hassan Piash)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiashcse%2Freact-native-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiashcse%2Freact-native-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiashcse%2Freact-native-boilerplate/lists"}