This project is a Progressive Web App (PWA) hosted on GitHub. It includes a button that allows users to add the web application to their mobile device's home screen.
pwa-github-hosted
├── public
│ ├── index.html # Main HTML document
│ ├── manifest.json # Metadata for the PWA
│ └── service-worker.js # Service worker for offline capabilities
├── src
│ ├── App.js # Main React component
│ └── components
│ └── AddToHomeButton.js # Button component to add to home screen
├── package.json # npm configuration file
└── README.md # Project documentation
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/pwa-github-hosted.git cd pwa-github-hosted -
Install dependencies:
npm install
-
Run the application:
npm start
-
Open your browser and navigate to
http://localhost:3000to view the application.
- Add to Home Screen button for mobile devices
- Offline capabilities through service worker
- Responsive design for various screen sizes
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.