created end points. these two end points are to get reviews given by user and for the specific cv.
Fixes # (issue)
How to test?
localhost:3000/api/reviews/id
if you are testing reviews given by user please make sure to comment out the specific cv route (because we are using same id for the both routes). but while fetching use api/reviews/id for specific cv and api/reviews/userid for reiview given by user
Checklist
[x ] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[x ] I have made corresponding changes to the documentation
[ ] This PR is ready to be merged and not breaking any other functionality
Description
created end points. these two end points are to get reviews given by user and for the specific cv. Fixes # (issue)
How to test?
localhost:3000/api/reviews/id if you are testing reviews given by user please make sure to comment out the specific cv route (because we are using same id for the both routes). but while fetching use api/reviews/id for specific cv and api/reviews/userid for reiview given by user
Checklist