-
npm i
-
serve
to start the frontend server -
Push notifications can be triggered as soon as we subscribe, take the json value and add it to
pushSubscription
variable insidewebpush.js
We then use this value to push the notification to the user exclusively. Runnode webpush.js