In developing a small erp-system. Database MySQLAPI node (express), the front on the vue.js, фронт2 - telegram (bottelegraf.js).
We need to implement the notification in two formats: real-time (basically, actions of users or mailings from admins) and a pending notification (for certain time).
The idea to use a socket.io . Not yet started to do, but with the socket.IO like everything is clear.
By and large, the issue in the pending notifications and how to implement them, what to use as a timer?