Front End Routes - BrandonCope/g13_goodMovies GitHub Wiki
Good Movies Front-end Routes
-
Sign-Up Page
- This page displays the sign-up form.
- GET /sign-up
- POST /sign-up
- This page displays the sign-up form.
-
Log-in Page
- This page displays the log-in form.
- GET /log-in
- POST /log-in
- This page displays the log-in form.
-
Home page
- This page display a list of movies to add to watched table, and view movie details page.
- GET /
- API Routes:
- POST /movies/:id/watched
- DELETE /movies/:id/watched
- API Routes:
- GET /
- This page display a list of movies to add to watched table, and view movie details page.
-
Shelves Page
- This page displays my custom titled shelves, where I can add/edit/delete shelf, remove movies from shelf, and add to watched table.
- GET /shelves
- GET /shelves/new
- GET /shelves/:id
- API Routes:
- POST /shelves
- PATCH /shelves/:id
- DELETE /shelves/:id
- DELETE /shelves/:id/movies/:id
- API Routes:
- This page displays my custom titled shelves, where I can add/edit/delete shelf, remove movies from shelf, and add to watched table.
-
Watched Page
- This page displays movies that have been checked off as watched. You can uncheck to remove from watched.
- GET /watched
- API Routes:
- DELETE /movies/:id/watched
- API Routes:
- GET /watched
- This page displays movies that have been checked off as watched. You can uncheck to remove from watched.
-
Individual Movie Page
- This page displays movie details, user can add to custom shelf, leave a rating, and create a review.
- GET /movie/:id
- API routes
- POST /reviews
- PATCH /reviews/:id
- DELETE /reviews/:id
- POST /ratings
- PATCH /ratings/:id
- DELETE /ratings/:id
- API routes
- GET /movie/:id
- This page displays movie details, user can add to custom shelf, leave a rating, and create a review.