TechNodes2-0 / ElectiveHub

ElectiveHub is an Education Management System designed to simplify and enhance the management of student information and elective subject selection in educational institutions. It offers a suite of applications for students, teachers, and administrators, providing a user-friendly platform.
https://electivehub.onrender.com
MIT License
75 stars 115 forks source link

added model for feedback , controllers to add and get course feedback and their corresponding routes #209

Closed sumitt-kun closed 5 months ago

sumitt-kun commented 6 months ago

Issue Number: #163

Current behavior

Currently, the application does not support adding and viewing course reviews. This feature is necessary to allow users to provide feedback on courses.

Proposed changes

This pull request introduces a new model for course reviews, along with controllers to handle adding and viewing course reviews. These changes will allow users to submit reviews for specific courses and view all reviews associated with a course.

I have tested both the endpoints using postman and i am attaching the screenshots

Screenshot (3578)

Screenshot (3579)

Screenshot (3580)

Screenshot (3582)

Checks

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elective-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 7:51am
netlify[bot] commented 6 months ago

Deploy Preview for chipper-cucurucho-7e07f5 ready!

Name Link
Latest commit 5cc1f608efdc4fc376b1ffe38bd0f74beb7474c3
Latest deploy log https://app.netlify.com/sites/chipper-cucurucho-7e07f5/deploys/664c5250d22d5500084ea5cb
Deploy Preview https://deploy-preview-209--chipper-cucurucho-7e07f5.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sumitt-kun commented 6 months ago

hey @Yash636261 @JayeshYadav99 please note that I've not made any changes to the existing code and the diffs being shown are just as a result of prettier.

sumitt-kun commented 5 months ago

Hey @Yash636261 ,it's been more than 2 weeks since I added this PR . Any updates ?