{"id":20769067,"url":"https://github.com/balsikandar/react-pwa-template","last_synced_at":"2025-10-10T06:10:19.825Z","repository":{"id":87860158,"uuid":"372938945","full_name":"balsikandar/react-pwa-template","owner":"balsikandar","description":"This is a React PWA Template with setup of core libraries like unstated, axios, moments etc.","archived":false,"fork":false,"pushed_at":"2023-09-08T08:17:42.000Z","size":416,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-28T01:32:57.651Z","etag":null,"topics":["media-query","react-pwa-template","react-router","react-template","react-typescript-starter","reactjs","typescript","unstated-next"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balsikandar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-06-01T19:22:02.000Z","updated_at":"2024-06-30T19:59:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2503c699-db15-46f1-bc7d-03d7eef32d8f","html_url":"https://github.com/balsikandar/react-pwa-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/balsikandar/react-pwa-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balsikandar%2Freact-pwa-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balsikandar%2Freact-pwa-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balsikandar%2Freact-pwa-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balsikandar%2Freact-pwa-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balsikandar","download_url":"https://codeload.github.com/balsikandar/react-pwa-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balsikandar%2Freact-pwa-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002963,"owners_count":26083487,"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-10T02:00:06.843Z","response_time":62,"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":["media-query","react-pwa-template","react-router","react-template","react-typescript-starter","reactjs","typescript","unstated-next"],"created_at":"2024-11-17T11:42:18.375Z","updated_at":"2025-10-10T06:10:19.809Z","avatar_url":"https://github.com/balsikandar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React PWA Template\n\nThis is a template for building a Progressive Web App (PWA) using React. It provides a starting point for creating a web application that can be installed on a user's device and offers offline capabilities.\n\n![react-pwa-template](https://socialify.git.ci/balsikandar/react-pwa-template/image?language=1\u0026owner=1\u0026name=1\u0026stargazers=2\u0026theme=Light)\n\n## Features\n\n- ✅ Progressive Web App (PWA) setup\n- ✅ Service Worker for caching and offline support\n- ✅ React Router for client-side routing\n- ✅ Axios for making HTTP requests\n- ✅ Responsive design with CSS Grid and Flexbox\n- ✅ Webpack configuration for development and production builds\n- ✅ ES6+ support with Babel\n- ✅ Hot module replacement for a faster development experience\n- ✅ ESLint and Prettier integration for code consistency\n- ✅ Example components and routes for a quick start\n\n## Getting Started\n\n### Prerequisites\n\nMake sure you have the following software installed on your system:\n\n- [Node.js](https://nodejs.org/) (v14 or higher)\n- [npm](https://www.npmjs.com/) or [Yarn](https://yarnpkg.com/) (Yarn is recommended)\n\n### Installation\n\n1. Clone this repository to your local machine:\n\n   ```\n   git clone https://github.combalsikandar/react-pwa-template.git\n   ```\n\n2. Navigate to the project directory:\n   ```\n   cd react-pwa-template\n   ```\n\n3. Install the project dependencies:\n   ```\n   npm install #or yarn\n   ```\n\n### Development\nStart the development server\n   ```\n   npm start\n   or\n   yarn start\n   ```\nThis will launch the development server at http://localhost:3000. Any changes you make to the code will automatically trigger hot module replacement.\n\n### Building for Production\nTo create a production-ready build of your app, run the following command:\n\n   ```\n   npm run build\n   or\n   yarn build\n   ```\nThis will generate optimized production files in the build directory.\n\n### Deploying\nYou can deploy your PWA to your preferred hosting platform. Simply upload the contents of the build directory to your server.\n\n### Customization\nUpdate the public/manifest.json file with your app's details.\nAdd your own components, styles, and routes to build your app.\nCustomize the service worker in the src/service-worker.ts file to cache specific assets or data.\n\n### Contributing\nContributions are welcome! If you'd like to contribute to this template, please follow these steps:\n\nFork the repository.\nCreate a new branch for your feature or bug fix: git checkout -b feature/your-feature-name or bugfix/issue-number.\nMake your changes and commit them with descriptive commit messages.\nPush your changes to your fork: git push origin feature/your-feature-name.\nOpen a pull request against the main branch of this repository.\nPlease make sure to follow the code of conduct and the contribution guidelines.\n\n### License\n```\nCopyright (C) 2021 Bal Sikandar\nCopyright (C) 2011 Android Open Source Project\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\n### Acknowledgments\nThis template is inspired by best practices in PWA development and the React ecosystem.\nSpecial thanks to the open-source community for their contributions and support.\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalsikandar%2Freact-pwa-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalsikandar%2Freact-pwa-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalsikandar%2Freact-pwa-template/lists"}