AnkitJ AnkitJ - 17 days ago 5
Node.js Question

Push notification with service worker in mozilla firefox




I am new to service worker and trying to learn it. I am implementing push notification using service worker. I am looking for simple demo code for pushing at server side and receive at client side notification as a reference in developing my web application. Suggestions will be very helpful. I am using node.js for implemention.


Thank you.

Answer

You can look at the examples in the Web Push category of the ServiceWorker Cookbook.

The examples are using the web-push Node.js library.

Comments