This repository contains a simple Progressive Web App (PWA) demo. The following files are included in the project:
- manifest.json - Contains metadata about the web app.
- sw.js - Service worker script for offline functionality and caching.
- script.js - Main JavaScript file that registers the service worker for the PWA.
- styles.css - CSS file for styling the web app using Tailwind CSS.
- index.html - The main HTML file for the app's structure.
Here is a screenshot of the demo just before the install:
To get started with this PWA demo, simply follow these steps:
-
Clone the repository:
git clone https://github.com/dankore/progressive-web-app-demo.git cd progressive-web-app-demo
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to view the demo.
- Offline support using a service worker
- Metadata provided by
manifest.json
- Simple and clean design with
Tailwind CSS
. Set up not included.
- Clone the repository:
git clone https://github.com/dankore/progressive-web-app-demo.git
- Navigate to the project directory:
cd progressive-web-app-demo
- Install the dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000
to view the demo.