API Routes - Joan-Buck/BadMovies-Group-Project Wiki

API Routes

Reviews

A logged in user can create, edit, and delete reviews without causing the page to refresh.

* POST /api/reviews
* PUT /api/reviews/:id
* DELETE /api/reviews/:id

Movie Lists

A logged in user can add a movie to or delete a movie from a movie list without causing the page to refresh.

* POST /api/my-lists/:id
* DELETE /api/my-lists/:id

Ratings

A logged in user can create, edit, and delete (TBD) ratings without causing the page to refresh.

* POST /api/ratings/
* PUT /api/ratings/:ratingId
* DELETE /api/ratings/:ratingId (TBD)