Front End Routes - Joan-Buck/BadMovies-Group-Project Wiki

User-facing Routes

/signin

This page displays a signin form

* GET /signin
* POST /signin

/signup

This page displays a signup form

* GET /signup
* POST /signup

/

This page displays the home page

* GET /

/movies/:id

This page displays the movie detail page

* GET /movies/:id

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

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

/my-lists/

This page displays a user's movie lists

* GET /my-lists

/my-lists/:id

This page displays a user's specific movie list

* GET /my-lists/:id

API Routes: 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

/my-lists/new

This page displays movie lists so a user can add a new movie list

* GET /my-lists/new
* POST /my-lists/