Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 3.07 KB

File metadata and controls

29 lines (23 loc) · 3.07 KB

TypeScript Shopping Cart

GitHub deployments GitHub code size in bytes GitHub repo size

An e-commerce site which allows the user to add, remove and update quantities of various products in their shopping cart. The data is pulled from a JSON file, and custom context and hooks are used to provide data and functionality, manage and update the state of the cart items, as well as store the cart items in the browser. This has been built using React with TypeScript and styled using Chakra UI.

Features

  • Add, remove and update quantities of different products
  • Pulls product data from JSON file
  • ShoppingCartContext used to manage and update state of cart items
  • useLocalStorage custom hook to store items in shopping cart
  • Styled using Chakra UI
  • Fully responsive

Stacks Used

TypeScript logo React logo Chakra UI logo Jest logo ESLint logo Vite logo

Links