Skip to content

[BE-51] Add in-app notification entity and endpoints #311

@mftee

Description

@mftee

Overview

Email notifications exist but there is no in-app notification system. Users need a persistent notification history they can read and dismiss.

Endpoints to Implement

Method Path Description
GET /api/notifications List notifications for current user
PATCH /api/notifications/:id/read Mark a notification as read
PATCH /api/notifications/read-all Mark all notifications as read
DELETE /api/notifications/:id Delete a notification

Acceptance Criteria

  • Notification entity: id, userId, type, title, body, isRead, createdAt
  • Notifications created automatically on: document verified, risk flag detected, job failed
  • Unread count included in list response (meta.unreadCount)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions