linguistbreaker / demo-progressive-web-app

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

Home Page:https://progressive-web-application.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

progressive web app

An example for progressive web application

Demo

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://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,.

https://progressive-web-application.herokuapp.com/


Languages

Language:JavaScript 54.7%Language:HTML 23.5%Language:CSS 21.8%