This project serves a chat app which we will enhance into a full fledged Progressive Web App.
This project requires Node.js and npm.
After installing dependencies using npm install
the following scripts are available on all exercise branches:
npm run ... |
Description |
---|---|
build |
Revisions and writes static files from src/ to cache/ . |
start |
Starts an Express.js server on http://localhost:7924 (7924 is "PWAS" in T9). |
watch |
Watches changes and recompiles CSS and JS. |
proxy |
Exposes localhost over a secure URL to the internet. |
More (sub) tasks are available in package.json > scripts.
- 01 - Manifest and Service Worker Setup
- 02 - Hijack fetch
- 03 - Precaching
- 04 - Runtime caching
- 05 - Background sync
- 06 - Push notifications
Solutions are linked from each individual exercise.