I am building an CRM (Customer Relationship Management) web app using NodeJS and angular js. The user will set a date time to contact client in case the client is unreachable. The part where I am stuck is to show user a notification if they are logged in based on the datetime set by them. This SO post talks about using socket. I am unable to understand how to use it with MySQL as the datetime is stored in DB.
The steps followed by CRM user are
- CRM user will call the client and records the information.
- In case if client is busy they will record the date time when to call next as suggested by client.
- When the current datetime is equal to recorded datetime of next call back, the CRM user should get a pop-up or alert to call back the client.