In this challenge, I developed an application to manage a shopping cart for a fictional coffee shop, which contains the following features:
- List of products available for purchase
- Add a specific number of items to the cart
- Increase or decrease the number of items in the cart
- Form for the user to fill in their address
- Display total items in cart in Header
- Display the total value of the sum of items in the cart multiplied by the value
I need to apply concepts like:
- State
- ContextAPI
- LocalStorage
- Imutability
- Lists and Kays in ReactJS
- Properties
- Componentization
- React
- React-hook-form
- React-router-dom
- Context API
- TypeScript
- Styled Components
- zod
- Phosphor-react
- polished
- vite
And that was the result achieved
### install the dependencies
$ npm i
### running aplication
$ npm run dev
### you can see on port http://localhost:5173
I'm back with my carrer with this challenge, so I'll see you later, bye 👋🏻
Developed with ❤️ by Vinicius de Souto