Description: Store and Trigger Socket.io events to update the client in real time whenever an endpoint (e.g., sending a message or creating a thread) updates or sends a notification. The real-time event will inform the user without refreshing the page.
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
Details:
Store notifications in the notifications table.
Notify the online users about new notifications
Description: Store and Trigger Socket.io events to update the client in real time whenever an endpoint (e.g., sending a message or creating a thread) updates or sends a notification. The real-time event will inform the user without refreshing the page.