Skip to content

[BE-38] Implement real-time WebSocket notifications #364

@mftee

Description

@mftee

Overview

Use WebSockets to push instant updates to users when their document status changes or a verification completes inside backend/cmmty/.

Acceptance Criteria

  • Create backend/cmmty/realtime/ with a NestJS WebSocket Gateway (socket.io)
  • Authenticate WebSocket connections using the existing JWT token
  • Emit document.status_changed event when a document status updates
  • Emit verification.complete event when Stellar anchor succeeds
  • Write unit tests for event emission logic

Contribution Folder

All files must be placed inside backend/cmmty/. Do not modify any file outside this folder.

How to Contribute

Comment on this issue to express interest, fork the repo, build inside backend/cmmty/ only, and open a PR targeting main.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions