fjogeleit / pwa-example

An example for the structure and features of progressive web apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Progressive Web App by Example

  • install dependencies with npm install
  • start the app with npm start

Requirements

  • this project using ES6 features without any transpiler, so Chrome for testing is recommanded

Try it

Examples

  • Basic Configuration for a manifest.json file
  • Async/Await usage

Caching

  • Cache Strategy: Cache only (classic / with Workbox)
  • Cache Strategy: Cache first, Network fallback (CDN Files)
  • Cache Strategy: Network first, Cache fallback (GET APIs)

BackgroundSync

  • Register a new sync task
  • Using the sync event

Notifications API

  • Send a Notification on click and link to your PWA

About

An example for the structure and features of progressive web apps

License:Other


Languages

Language:JavaScript 67.8%Language:HTML 32.2%