Frontend Routes - Breadsandwich/goodwatch GitHub Wiki

User-facing routes

/login

Log in page

This page displays a log in form

  • GET /login
  • POST /login

/signup

Sign up page

This page displays an account signup form

  • GET /login
  • POST /login

/

This page displays the links to login, signup, and a container for discovering new shows.

  • GET /

/shows

This page displays a catalog of shows with a navbar with a list of genres.

  • GET /new-show-form
  • POST /new-show-form
  • GET /shows

shows/:showId

This page displays a specific show unique to the show ID.

  • GET /shows/:showId

/users/:userId/watchlists

This will be inside our user's profile page. It is going to display a section with a list of our watchlists.

  • GET /users/:userId/watchlists
  • GET /users/:userId/watchlists/:watchlistId
  • GET /users/:userId/watchlists/edit

/reviews

This page is found through the /shows/:showId page after clicking a 'post a review' button. It allows the logged-in user to post their review on the show.

  • GET /reviews/new/:showId
  • POST /reviews/new/:showId