Skip to content

Front End Routes

Andrew edited this page Oct 18, 2021 · 5 revisions

/

  • Home page of site. Navigation, advertisements, looks nice.
  • various links to various other parts of the site depending on what is being featured.

/users/login

  • Log in as a previously registered user

/users/signup

  • Sign up as a new users

/users/:id

  • view of the session users profile

/users/:id/edit-info

  • can edit the users info like address and card numbers.

/users/:id/wishlist

  • View the wishlist of the current user
  • can add items to the users cart from here
  • can share withlist (email)

/users/:id/cart

  • View the cart of items set for purchase for the current user
  • remove items from cart
  • increate items quantity

/users/:id/cart/checkout

  • checkout from the store to purchase items in cart

/shop

Option 1 Option 2 Option 3
/shop/snowboards /shop/hardgoods /shop
/shop/bindings /shop/softgoods -
/shop/boots - -
/shop/jackets - -
  • Browse the shops items. Automatic filters are applied on Burton.com. For example you can't shop both jackets and snowboards at the same time. Given this constraint, exact method of routing is still tbd.
  • Can view an array of goods, and filter by things like price/color/size

/shop/:item_id

Option 1 Option 2 Option 3
/shop/snowboards/:item_id /shop/hardgoods:item_id /shop:item_id
/shop/bindings:item_id /shop/softgoods:item_id -
/shop/boots:item_id - -
/shop/jackets:item_id - -
  • Can view the details of a single item
  • can view the reviews that have been left on that item
  • can mark reviews as helpful or not (like/dislike)

Clone this wiki locally