# Task: Notifications System ## Objective Implement a notification system to alert users of relevant interactions (replies, mentions, group activity). ## Steps - [x] **Backend**: - [x] Create `Notification` model (user_id, type, title, message, link, is_read, created_at). - [x] Create `routers/notifications.py`. - [x] Implement `GET /notifications` (list my notifications). - [x] Implement `POST /notifications/{id}/read` (mark as read). - [x] Implement logic to trigger notifications (e.g., when a user receives a reply). - [x] **Frontend**: - [x] Create `NotificationBell` component in the Navbar. - [x] Show unread count badge. - [x] Create `NotificationsPopover` or `NotificationsPage` to view list. - [x] Handle "Mark as Read" interaction. ## Acceptance Criteria - User receives a notification when someone replies to their comment. - User sees an unread count in the navbar. - Clicking a notification navigates to the relevant content.