Sign in
Log inSign up

How to send real time notifications in angular using socket.io and nodejs?

Atul kumar's photo
Atul kumar
·Apr 27, 2019

I have and web app which needs real time notifications on receiving message like facebook or linked in in which we see message notification like this:-

59252997_1989064038067712_605914718896390144_o.jpg

i want to display the notification as soon as it is updated in the database .can anyone tell me how i can do that in a bit detail and how i can stop fetching messages as soon as user logouts?