A scalable backend server solution designed to manage and orchestrate software development bootcamps/courses from multiple schools, providing robust APIs and data storage capabilities.
2
stars
0
forks
source link
This pull request refactors the rating feature in the Bootcamp module to use the Feedback objectId. It includes the following changes: #73
Added error message for the restriction of one feedback per user.
Refactored the FeedbackSchema to remove the createdAt field.
Refactored the BootcampSchema to update the averageCost field and add totalFeedback, rating, and feedback fields.
Refactored the bootcamp controller to add the createBootcampFeedback and getTopBootcamps endpoints.
Refactored the mongoose interfaces to remove the createdAt field and update the BootcampSchema with rating, totalFeedback, and feedback fields.
Refactored the enum key values for UserCourseVirtual and FeedbackVirtual.
Refactored the bootcamp route to add the getTopBootcamps endpoint.
Refactored the feedback route to populate the bootcamp and user fields in the getFeedbacks method.
Merged pull request #72 from ballyalley-o/feat/TCCP50-feedback-ref--bootcamp.
Fixes #71