Learn how to send web push notifications using Node.js and the node-pushnotifications library. Set up a notification server, subscribe from the browser, and handle push events with a service worker.
Resources
knock.app/blog/how-to-send-br...
github.com/JEverhart383/knock...
vapidkeys.com/
00:00 Introduction
00:51 Project setup
01:40 Project overview
03:20 VAPID keys explained
04:15 Server push library
06:22 Client-side code
11:01 Service worker explained
13:33 Push flow recap
14:48 Wrap up
23 июл 2024