Create socket events like newNotificationto send real-time notifications to users. Emit notificationReadevents when a user reads a notification, updating the frontend in real-time.
The socket event names can be changed to fit their purpose
You Can Add more events to meet the issue requirements but mention them in the PR
Create socket events like
newNotification
to send real-time notifications to users. EmitnotificationRead
events when a user reads a notification, updating the frontend in real-time.