Skip to content

61-03262 T27 - #70

Open
Youssef-Fares-Antoun wants to merge 2 commits into
Advanced-Computer-Lab-2026:mainfrom
Youssef-Fares-Antoun:main
Open

Youssef-Fares-Antoun wants to merge 2 commits into
Advanced-Computer-Lab-2026:mainfrom
Youssef-Fares-Antoun:main

Conversation

@Youssef-Fares-Antoun

Copy link
Copy Markdown

61-03262 T27

- Create Feedback model (server/src/models/Feedback.js) with validation, timestamps, and a compound unique index on eventCode and submittedBy.
- Implement controller functions (createFeedback, getAllFeedbacks, getFeedback) with proper success and error response structures.
- Wire endpoints in server/src/routes/feedback.js for POST /api/feedback, GET /api/feedback, and GET /api/feedback/:id.
- Add 404 handling for missing feedback IDs and propagate unexpected errors to next(err).
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.

1 participant