dragonsbootcampllc / DragonsBootcampLMS

6 stars 0 forks source link

Create endpoints to send and manage notifications #30

Closed AhmedNagehAbdelrazek closed 2 months ago

AhmedNagehAbdelrazek commented 4 months ago

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