Skip to content

testonics/pwa

Repository files navigation

pwa-github-hosted

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.

Project Structure

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

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/pwa-github-hosted.git
    cd pwa-github-hosted
  2. Install dependencies:

    npm install
  3. Run the application:

    npm start
  4. Open your browser and navigate to http://localhost:3000 to view the application.

Features

  • Add to Home Screen button for mobile devices
  • Offline capabilities through service worker
  • Responsive design for various screen sizes

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

Packages

Contributors

Languages