How to send browser push notifications from a Node.js app
Knock
View ChannelAbout
Knock is infrastructure for sending product and customer messaging. Ship cross-channel product notifications and lifecycle messaging that drives engagement, growth, and retention. Learn more at knock.app
Latest Posts
Video Description
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 https://knock.app/blog/how-to-send-browser-push-notifications-from-nodejs https://github.com/JEverhart383/knock-browser-push-demo https://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
Upgrade Your Gear Essentials
AI-recommended products based on this video

Lenovo IdeaPad Duet 3i 10.3" Touchscreen Intel Celeron N4020, 2-in-1 Laptop, Windows 11 Home S Mode + Includes 1-Year Microsoft 365 Personal - 82AT00KJCC

Apple 2025 MacBook Air 13-inch Laptop with M4 chip: Built for Apple Intelligence, 16GB Unified Memory, 256GB SSD Storage, Touch ID; Sky Blue - English Keyboard
![TP-Link USB C To Ethernet Adapter (UE300C) - J45 To USB C [Thunderbolt 3/4 Compatible] Type-C Gigabit Ethernet LAN Network Adapter, Compatible With Apple MacBook Pro 2017-2023, MacBook Air, And More](https://m.media-amazon.com/images/I/418xZkoG-RL._AC_UY654_FMwebp_QL65_.jpg)
TP-Link USB C To Ethernet Adapter (UE300C) - J45 To USB C [Thunderbolt 3/4 Compatible] Type-C Gigabit Ethernet LAN Network Adapter, Compatible With Apple MacBook Pro 2017-2023, MacBook Air, And More

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950
