- Clone this repository and
cdinto it. - Execute
npm installto download dependencies. - Run
./node_modules/.bin/web-push generate-vapid-keysto generate public/private VAPID key pair - Open
client/main.jsandvariables.envand update them with your VAPID credentials - Run
node server.jsto start the Express server - Visit http://localhost:5000 in your browser.
- Node.js and npm
Source revue et corrigée pour l'initiation aux Notifications Push - Voir le commit initial pour la mise en application :
Tutorial: https://pusher.com/tutorials/push-notifications-node-service-workers