Shopping Cart with React using styled-components
, react-router-dom
and vitest
with the React Testing Library(RTL)
for testing the App.
- add products to the cart;
- filter the products;
- change the quantity of a product in the cart;
- delete a product from the cart;
The App is responsive for other devices.
Demo Here
๐
- how to create routes for the App with
react-router-dom
; - how to test the components with
Vitest
andRTL
; - how to type check the props with
prop-types
; - how to use custom hooks;
This project is from The Odin Project, React Course.