Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 575 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 575 Bytes

Hook Car

React Track Challenge - Ignite - @Rocketseat. Consists of finishing an hook for shopping cart.

Actions requested for this challenge

  • Should be possible add a new product to the cart
  • Should be possible remove a product from the cart
  • Should be possible change the quantity of a product in the cart
  • Should be possible calculating the sub-total and total prices of the cart
  • Should todo validations on the stock
  • Should be possible display error messages
  • Among others.

You can see then all rules are correct running the tests of the application.