web-push-notification How to run locally clone the repo. npm install to install the dependencies. Generate VAPID details. Create a new file called .env and fill it up with actual VAPID details. run node index.js command in terminal. How to generate VAPID Details npx web-push generate-vapid-keys DEMO https://browser-push-notifications.herokuapp.com/