Reviews and Ratings
Closed this issue · 2 comments
drew-harris commented
Navigating to a movie's page will allow the user to view reviews. Logged in users will be able to leave a review.
drew-harris commented
drew-harris commented
Task List
Backend
- Create GET endpoint for list of reviews based off movie id in url param
- Create POST endpoint for leaving a review that parses jwt cookie (user must be logged in)
- Create GET endpoint for average rating based off movie id in url param
- Create POST endpoint for leaving rating
* Must not allow users to leave rating multiple times! - Create zod schema for ^^ all endpoints above
- Document endpoints