Implement Notifications for Financial Events
Add a notification system that alerts users about important financial events, such as nearing budget limits, large transactions, upcoming bills, and other significant events. This will help users stay informed and manage their finances effectively.
Tasks:
-
Structure the backend to store and manage notifications (e.g., message, date, read/unread status). -
Identify financial events (budget limits, transactions, bills) that should generate notifications. -
Implement endpoints for retrieving, marking as read, and deleting notifications. -
Integrate real-time notifications using WebSockets or SSE. -
Display notifications in the UI with an icon for unread notifications, and a view to see all notifications. -
Send critical alerts via email for events like budget limits and bills. -
Allow users to enable/disable notifications for specific events.
Acceptance Criteria:
- Users receive notifications for significant financial events.
- Notifications are viewable in the UI with an option to mark them as read.
- Real-time notifications are sent as events occur.
- Users can configure their notification preferences (if applicable).
- Email notifications are sent for important events.
- Notifications respect data privacy (no sensitive information exposed).