GitHub30 / simple-push-demo

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

Home Page:https://simple-push-demo.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 run 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

https://simple-push-demo.vercel.app/

License:Apache License 2.0


Languages

Language:JavaScript 86.6%Language:HTML 8.1%Language:CSS 5.3%