Skip to content

Feature: Notifications — add real-time notifications via WebSockets #181

@Hexstar-labs

Description

@Hexstar-labs

Description:
Notifications are currently only available by polling GET /notifications. Real-time delivery improves UX.

Tasks:

  • Install @nestjs/websockets and socket.io
  • Create NotificationsGateway that authenticates connections via JWT
  • Emit notification events to the user's socket room when a new notification is created
  • Connect from the frontend using socket.io-client
  • Show a notification bell in the Navbar with an unread count badge that updates in real time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions