Skip to content

A simple example of use push notifications on the web using Service Workers

License

Notifications You must be signed in to change notification settings

gauntface/simple-push-demo

Repository files navigation

Simple Push Demo title card with a paper airplane

Simple Push Demo

The goal of this repo is to demonstrate how to implement push notifications into your web app.

Relevant Docs Information

Demo

Visit the demo here.

Development

You can develop this project locally by running the following:

npm install
npm run dev

Testing

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.

Hosting

This project is hosted on vercel and can be tested locally using the vercel CLI by running:

npm run vercel

About

A simple example of use push notifications on the web using Service Workers

Resources

License

Stars

Watchers

Forks