{"id":16532796,"url":"https://github.com/tonidarodda/react-native-template","last_synced_at":"2025-10-08T03:07:40.829Z","repository":{"id":251738452,"uuid":"838292859","full_name":"ToniDarodda/react-native-template","owner":"ToniDarodda","description":"A React Native template featuring Redux for state management, react-i18next for internationalization, React Query for data fetching, customizable UI components, and seamless navigation. Includes Axios for API management, WebSocket support, and a modular architecture for scalable mobile app development, not using Expo at all for performance purpose.","archived":false,"fork":false,"pushed_at":"2024-08-20T16:50:22.000Z","size":8565,"stargazers_count":53,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T03:04:29.087Z","etag":null,"topics":["api-integration","axios","boilerplate","cross-platform","i18n","internationalization","mobile-app","mobile-development","modular-architecture","navigation","react-native","react-query","redux","state-management","template","typescript","ui-components","websocket"],"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/ToniDarodda.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-05T10:50:13.000Z","updated_at":"2025-09-23T13:09:42.000Z","dependencies_parsed_at":"2024-10-11T18:23:38.492Z","dependency_job_id":null,"html_url":"https://github.com/ToniDarodda/react-native-template","commit_stats":null,"previous_names":["tonidarodda/react-native-template"],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/ToniDarodda/react-native-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToniDarodda%2Freact-native-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToniDarodda%2Freact-native-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToniDarodda%2Freact-native-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToniDarodda%2Freact-native-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToniDarodda","download_url":"https://codeload.github.com/ToniDarodda/react-native-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToniDarodda%2Freact-native-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278881899,"owners_count":26062187,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["api-integration","axios","boilerplate","cross-platform","i18n","internationalization","mobile-app","mobile-development","modular-architecture","navigation","react-native","react-query","redux","state-management","template","typescript","ui-components","websocket"],"created_at":"2024-10-11T18:13:27.248Z","updated_at":"2025-10-08T03:07:40.796Z","avatar_url":"https://github.com/ToniDarodda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n---\n\n# React Native Template\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![Yarn](https://img.shields.io/badge/Yarn-2C8EBB?style=for-the-badge\u0026logo=yarn\u0026logoColor=white)\n![License](https://img.shields.io/badge/License-UNLICENSED-green?style=for-the-badge)\n\nThis project is a React Native template designed to accelerate development by providing essential features such as state management, internationalization, data fetching, navigation, and reusable components.\n\n## Screenshots\n\nCreated using the default components provided in the project.\n\n### Welcome Screen\n\n\u003cimg src=\"./read-me-assets/welcome.png\" alt=\"Welcome Screen\" width=\"300\" height=\"auto\"\u003e\n\n\n### Login Screen\n\n\u003cimg src=\"./read-me-assets/login.png\" alt=\"Login Screen\" width=\"300\" height=\"auto\"\u003e\n\n### Register Screen\n\n\u003cimg src=\"./read-me-assets/register.png\" alt=\"register Screen\" width=\"300\" height=\"auto\"\u003e\n\n### Profile Screen\n\n\u003cimg src=\"./read-me-assets/profile.png\" alt=\"profile Screen\" width=\"300\" height=\"auto\"\u003e\n\n\n## Features\n\n- **🌍 Internationalization (i18n)**\n  - Multi-language support using `react-i18next` for seamless localization.\n\n- **🗃️ State Management with Redux**\n  - Centralized state management for efficient global state access and updates.\n\n- **🔍 Data Fetching with React Query**\n  - Optimized data fetching, caching, and synchronization.\n\n- **🧭 Navigation**\n  - Smooth and intuitive navigation using `react-navigation` with base components like `VStack` and `HStack`.\n\n- **⚛️ Component-Based Architecture**\n  - Modular design with reusable UI components and consistent styling.\n\n- **📦 Common Utilities**\n  - Helper functions and utilities for streamlined development.\n\n- **🔗 Axios Management**\n  - Configurable API requests using Axios with built-in error handling and response management.\n\n- **🌐 WebSocket Management**\n  - Real-time communication support using WebSockets.\n\n- **🍪 Cookie Management**\n  - Simplified management of cookies for authentication and user sessions.\n\n- **🔒 Authentication**\n  - User authentication and registration with secure token management.\n\n## Components\n\nThe project includes a set of reusable components for building user interfaces:\n\n- **Button Components**\n  - `button.tsx`: Standard button component with customizable styling.\n\n- **Typography Components**\n  - `h1.tsx`, `h2.tsx`: Heading components for consistent typography.\n  - `text.tsx`: Customizable text component for displaying content.\n\n- **Input Components**\n  - `input.tsx`: Basic input field component.\n  - `input-with-icon.tsx`: Input field with an icon for enhanced user interaction.\n\n- **Layout Components**\n  - `vstack.tsx`: Vertical stack layout for arranging elements vertically.\n  - `hstack.tsx`: Horizontal stack layout for arranging elements horizontally.\n  - `spacer.tsx`: Spacer component for adding flexible space between elements.\n\n- **Navigation Components**\n  - `navbar.tsx`: Customizable navigation bar for app header.\n\n- **Image Components**\n  - `image.tsx`: Image component for displaying images with caching support.\n\n- **Utility Components**\n  - `separator.tsx`: Divider component for separating content.\n  - `separator-with-text.tsx`: Divider with text for enhanced UI.\n  - `switch.tsx`: Toggle switch component for boolean inputs.\n\n- **Index File**\n  - `index.ts`: Central export file for components.\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\n### Installation\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone git@github.com:ToniDarodda/react-native-template.git\n   cd ReactNativeTemplate\n   ```\n\n2. **Install dependencies:**\n\n   ```sh\n   yarn install\n   ```\n\n3. **Configure environment variables:**\n\n   Update the `.env` file in the root directory with your configuration settings:\n\n   ```sh\n   API_URL='https://your-api-url.com'\n   SOCKET_URL='https://your-socket-url.com'\n   ```\n\n### Running the Application\n\n1. **Start the Metro Bundler:**\n\n   ```sh\n   yarn start\n   ```\n\n2. **Run the application on Android:**\n\n   ```sh\n   yarn android\n   ```\n\n3. **Run the application on iOS:**\n\n   ```sh\n   yarn 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\nyarn test\n```\n\n## 🛠️ Scripts\n\n- **🧹 Format code using Prettier:** `yarn format`\n- **🏃‍♂️ Start the application:** `yarn start`\n- **👨‍💻 Start in development mode:** `yarn android` or `yarn ios`\n- **🔍 Lint the code using ESLint:** `yarn lint`\n- **🧪 Run the tests:** `yarn test`\n- **🚀 Run end-to-end tests:** `yarn test:e2e`\n\n## 📜 License\n\nThere is no license; you're free to use it.\n\n## 👤 Author\n\n[Toni Da Rodda](mailto:toni.da.rodda.pro@gmail.com)\n\n## 🛠️ Icons\n\n- **🚀 Deployment**\n- **⚙️ Configuration**\n- **📄 Documentation**\n- **🔧 Maintenance**\n- **🔒 Security**\n- **📫 Email Integration**\n- **📈 Performance Optimization**\n- **⚡ Gain Time**\n\n---\n\nFeel free to contribute to this project by submitting issues or pull requests.\n\nFor any questions or support, please contact [Toni Da Rodda](mailto:toni.da.rodda.pro@gmail.com).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonidarodda%2Freact-native-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonidarodda%2Freact-native-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonidarodda%2Freact-native-template/lists"}