Skip to content

created the notification modules#290

Merged
yusuftomilola merged 3 commits intoDistinctCodes:mainfrom
Kaylahray:feat/notification
Oct 1, 2025
Merged

created the notification modules#290
yusuftomilola merged 3 commits intoDistinctCodes:mainfrom
Kaylahray:feat/notification

Conversation

@Kaylahray
Copy link
Copy Markdown
Contributor

@Kaylahray Kaylahray commented Oct 1, 2025

  • I have implemented the notifications feature. closes 21. [BACKEND] Implement Notifications Module #221

  • Created a dedicated notifications module.

  • Defined the Notification entity with fields: id, userId, message, isRead, and createdAt.

  • Added DTOs for creating and updating notifications.

  • Built a service to handle creating notifications, retrieving them by user, and marking them as read.

Exposed controller endpoints:

  • POST /notifications → create a new notification

  • GET /notifications/:userId → fetch all notifications for a user

  • PATCH /notifications/:id/read → mark a notification as read

The system now supports sending in-app notifications for system events such as asset transfers, low stock, or maintenance due.

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 1, 2025

@Kaylahray is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola yusuftomilola merged commit d19a05e into DistinctCodes:main Oct 1, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

21. [BACKEND] Implement Notifications Module

2 participants