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
  • Log-in Page

    • This page displays the log-in form.
      • GET /log-in
      • POST /log-in
  • 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
  • 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
  • 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
  • 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