Skip to content

Latest commit

 

History

History
91 lines (83 loc) · 3.54 KB

Routes.md

File metadata and controls

91 lines (83 loc) · 3.54 KB

Dizney+

Features-List

  1. Hosting on Heroku

  2. User Authorization

    • Visitors arrive on landing page when not logged in
    • Visitors can sign up, log in, log out
    • Visitors can use a demo login to try the site
    • Visitors must log in to enter site
    • Users arrive on home page when logged in
  3. CRUD - User Profile Settings

    • Users can navigate profile options with drop-down menu
    • Users can add profile with name/avatar
    • Users can update profile name/avatar
    • Users can delete profile
  4. Watch List - CRUD across watch list items

    • Users have a watch list that is initially empty
    • Users can add/remove videos to their watch list
  5. Search

    • Users can search for videos by:
      • Title
      • Actor
      • Genre
    • Explore-block shows movie collections under text input
  6. Catalog/Profile (Home)

    • Users have a home page as a catalog/profile of videos
    • Users can dynamically update home page based on recently watched items
    • Users can view videos based on genre/type
    • Users can browse through a main banner of ten featured/trending videos
    • Users can browse across five major collections:
      • Disney
      • Pixar
      • Marvel
      • Star Wars
      • National Geography
  7. videos Player

    • Users can play/pause movie
    • Users can time-stamp movie

Bonus

  1. CRUD - Continue Watching

    • Users can resume play where they left off.
    • Users can watch from the beginning.
  2. "It's a small world after all..." Selecting app language

    • Users can change the global site language
  3. Search

    • Users can see suggested search results render per keystroke

Main Component Routes

/

  • GET / - Renders the default page

/login

  • GET /login - Render form to enter email credentials
  • POST /login - Submits the email credtials, redirect to GET /login/password
  • POST /login/password - Submits the password to the server and redirect to GET /account/profile/select if more than one profile
  • POST /account/profile/select - Set the current profile and redirect to /home

/home

  • GET /home - Renders the catalogue

/search

  • GET /search - Render the search page
  • PATCH /search - Update to display matched results

/watchlist

  • GET /watchlist - Render the associated watchlist for current profile

/movies

  • GET /movies - Renders all movies
  • GET /movies/:id - Render the associated id movie
  • DELETE /movies/:id - Deletes from watch list

/series

  • GET /series - Renders all series
  • GET /series/:id - Renders the associated id series
  • DELETE /series/:id - Deletes from watch list

/select-avatar

  • GET /select-avatar - Render possible avatars for a profile when you add or edit a profile
  • PATCH /select-avatar - Save the selected avatar to the profile redirect GET /account/profile/add or account/profile/edit

/account/profile

  • GET /add - Renders the add profile screen to add name and kid options
  • POST /add:id - Save newly added profile redirects GET account/profile/select
  • GET /select - Renders a screen to select current profile
  • POST /select - Set the current profile and redirect to GET /home
  • GET /edit - Renders a screen with all available profiles
  • GET /edit:id - Renders a screen to edit the selected profile
  • PATCH /edit - Updates the profiles and redirects to GET account/profile/select
  • PATCH /edit:id - Updates the preferences for a selected profile and redirects to GET account/profile/select
  • DESTROY /edit:id - Deletes selected profile and redirects to GET account/profile/edit

/brand

  • GET /brand/:id