Skip to content

Implement Campus Facility Review API including Review model, controll… - #127

Open
mariamgalall wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
mariamgalall:main
Open

mariamgalall wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
mariamgalall:main

Conversation

@mariamgalall

Copy link
Copy Markdown

…er, and routes

  • Create Review model with compound unique index on facilityCode and reviewedBy
  • Implement createReview, getAllReviews, getReview, and getReviewSummary (using aggregation)
  • Wire routes ensuring /summary is prioritized over /:id
  • Verified with 8/8 test pass

Submission

61-5859 T05

Checklist

  • I worked in my fork and am submitting to the original repository.
  • I ran the automated tests.
  • I did not commit credentials, .env, or node_modules.
  • I understand that AI tools are allowed and that I am responsible for the submitted code.

…er, and routes

- Create Review model with compound unique index on facilityCode and reviewedBy
- Implement createReview, getAllReviews, getReview, and getReviewSummary (using aggregation)
- Wire routes ensuring /summary is prioritized over /:id
- Verified with 8/8 test pass

Co-Authored-By: Claude Code <noreply@anthropic.com>
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