NodeJS Push notifications
First, you will need to install Push.js module.
Or import it to your front-end app through CDN
After you are done with that, you should be good to go. This is how it should look like if u wanna make simple notification:
I will assume that you know how to setup Socket.io with your app. Here is some code example of my backend app with express:
After your server is all set up, you should be able to move on to front-end stuff. Now all we have to do is import Socket.io CDN and add this code to my index.html file:
There you go, now you should be able to display your notification, this also works on any Android device, and if u wanna use Firebase cloud messaging, you can use it with this module, Here is link for that example written by Nick (creator of Push.js)