Skip to content

A simple progressive web application which works in offline, has a splash screen, add to home screen, push notifications etc,.

Notifications You must be signed in to change notification settings

linguistbreaker/demo-progressive-web-app

 
 

Repository files navigation

progressive web app

An example for progressive web application

Description

A progressive web application which works in offline, has a splash screen, add to home screen, push notifications etc,.

Screenshots

From moto x 2014 - OS Android Marshmallow

  1. Home screen in chrome browser

Chrome Homescreen

  1. Add to home screen in chrome browser

Chrome browser add to home screen

  1. Standalone app home screen

Standalone Homescreen

  1. Standalone app menu

Standalone app menu

  1. Standalone app on scroll

Standalone app on scroll

  1. Push notification permission

Push notification permission

  1. Push notification

Push notification

Install

  1. git clone https://github.com/gokulkrishh/simple-progressive-web-app

  2. cd into simple-progressive-web-app

  3. In terminal, type

  $ npm install && npm start
  1. In browser, open http:https://localhost:3000

  2. Load the page, turn on airplane mode or offline network throttling. To see the cached resources offline.

Todo's

  • - Added service worker file.

  • - Add web manifest.json file for splash screen, add to home screen etc.

    To generate manifest.json file, use this npm module manifest-json

      $ npm install --global manifest-json
    
  • - Push notification

  • - Background Sync - In progress

  • - Fallback when offline - In progress

Reference

  1. Google Developer Site

  2. Offline cookbook

Author

Gokulakrishnan

Follow me

alt text alt text alt text alt text

About

A simple progressive web application which works in offline, has a splash screen, add to home screen, push notifications etc,.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.7%
  • HTML 23.5%
  • CSS 21.8%