This is the Hero Store, an example application for Google IO. It's a simple app, with no actual functionality and two routes, but is useful for demonstrating techniques for service worker caching, application shells, and push notifications.
# Install dependencies
$ yarn
# (or npm install)
# Run the server
$ ./run.sh
This app depends on ng-pwa-tools
, which automate some of the more configuration-heavy tasks of progressive enhancement, including:
ngu-sw-manifest
)ngu-app-shell
)ngu-firebase-push
)In Windows, you must run the above commands in Bash prefixed by ./node_modules/.bin/
, e.g. ./node_modules/.bin/ngu-sw-manifest
master
: plain application before progressive enhancementpwa
: version with service worker, app shell, HTTP/2 server push, and push notifications enabled