You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement an independent FeedbackModule for collecting structured user feedback: ratings, bug reports, feature requests, and general comments. All files are scoped to backend/src/feedback/ with no changes to any existing module.
Acceptance Criteria
Feedback entity: id, userId (nullable for anonymous), type (enum: bug, feature_request, general, rating), subject, body, rating (1–5, nullable), status (enum: open, in_review, resolved, closed), adminNote, createdAt
POST /feedback — submit (authenticated or anonymous)
GET /feedback — admin: paginated, filterable by type/status
GET /feedback/:id
PATCH /feedback/:id/status — admin: update status + note
GET /feedback/stats — admin: aggregate counts by type and avg rating