https://github.com/ccnokes/web-push-server-demo
A node.js web server that provides a minimal server implementation to get web push working. Useful for prototyping web push on the front end.
https://github.com/ccnokes/web-push-server-demo
Last synced: 11 months ago
JSON representation
A node.js web server that provides a minimal server implementation to get web push working. Useful for prototyping web push on the front end.
- Host: GitHub
- URL: https://github.com/ccnokes/web-push-server-demo
- Owner: ccnokes
- Created: 2018-09-21T03:56:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T04:15:25.000Z (over 7 years ago)
- Last Synced: 2025-01-18T17:55:25.589Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web push backend demo
This is a web server that provides a minimal server implementation to get web push working. It's useful for prototyping or as a simple reference guide to know how to start implementing a backend for web push.
## Starting
```
npm install
npm start
```
Running npm install will also generate VAPID server keys that you will need to send requests.
See `register-service-worker-sample.js` to see how to set it up in the browser.