Skip to content

jkodevelop/progressive-web-app-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progressive Web App starter [2021]

This repo is a simple starter for creating Progressive Web Apps. This repo has the most basic files required for browser to recognize this package is a PWA. This can be loaded into home screen app list for Iphones and Android Phones. The difference between a normal website and a Progressive Website is the latter is installable.


Please fork the project to start a new project

DEVELOPMENT

This project uses gulp to bundle and process the application and the final publish files will be in publish folder

usage:

  1. develop with browser-sync, allows live preview and autoreload
npm start
  1. copy src files to publish for deployment
npm run build

use gulpfile.js to further add function for development

starter files

use these files as starting point, each file is minimally set for PWA to function:

/manifest.json - controls PWA configuration for installations

/icons/* - contain icons for display in Home screens

/js/pwaScript.js - starting point of javascript for app, registers service worker to be used for PWA setup

/serviceWorker.js - allows for PWA to work "offline", this is required for android

/index.html - starting point of website

DEPLOYMENT

  1. SSL enabled web server to load the files from publish

further reading: Documentations

how to install webapps in IPhone/Android/Windows and MacOS

https://mobilesyrup.com/2020/05/24/how-install-progressive-web-app-pwa-android-ios-pc-mac/

more in source.md

About

example and starter for progressive web app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published