The goal of this repo is to demonstrate how to implement push notifications into your web app.
- Server Side Libraries to Help Send Push Messages
- Blog Post on Encrypting Payload Data
- Blog Post on VAPID
- Web Push Book
Visit the demo here.
You can develop this project locally by running the following:
npm install
npm run dev
Tests can be run with npm run test
which will run tests using puppeteer.
If you want to view and run the browser tests in your own browser, which
is useful for debugging, start a server in the root of this project and
navigate to the /test/browser-tests/index.html
page.
This project is hosted on vercel and can be tested locally using the vercel CLI by running:
npm run vercel