Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gauntface/simple-push-demo
A simple example of use push notifications on the web using Service Workers
https://github.com/gauntface/simple-push-demo
Last synced: 3 months ago
JSON representation
A simple example of use push notifications on the web using Service Workers
- Host: GitHub
- URL: https://github.com/gauntface/simple-push-demo
- Owner: gauntface
- License: apache-2.0
- Created: 2015-02-16T10:46:10.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T17:59:13.000Z (7 months ago)
- Last Synced: 2024-04-11T22:40:33.628Z (7 months ago)
- Language: JavaScript
- Homepage: https://simple-push-demo.vercel.app/
- Size: 128 MB
- Stars: 864
- Watchers: 42
- Forks: 212
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- popular-dependents-lists - gauntface/simple-push-demo - 🌟 756 (Puppeteer / gauntface/simple-push-demo)
README
![Simple Push Demo title card with a paper airplane](./default-social.png)
# Simple Push Demo
The goal of this repo is to demonstrate how to implement push
notifications into your web app.## Relevant Docs Information
- [Server Side Libraries to Help Send Push Messages ](https://github.com/web-push-libs/)
- [Blog Post on Encrypting Payload Data](https://developers.google.com/web/updates/2016/03/web-push-encryption)
- [Blog Post on VAPID](https://developers.google.com/web/updates/2016/07/web-push-interop-wins)
- [Web Push Book](https://web-push-book.gauntface.com)## Demo
Visit [the demo here](https://simple-push-demo.vercel.app/).
## Development
You can develop this project locally by running the following:
```shell
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:```shell
npm run vercel
```