https://github.com/mariosantosdev/ecommerce-rocketshoes
Challenge development in the Ignite Bootcamp of Rockeseat
https://github.com/mariosantosdev/ecommerce-rocketshoes
Last synced: 7 days ago
JSON representation
Challenge development in the Ignite Bootcamp of Rockeseat
- Host: GitHub
- URL: https://github.com/mariosantosdev/ecommerce-rocketshoes
- Owner: mariosantosdev
- Created: 2022-05-17T02:23:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T01:21:04.000Z (about 4 years ago)
- Last Synced: 2025-01-03T08:47:55.630Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 821 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Rocketshoes
This project is a challenge created on [Ignite Bootcamp](rocketseat.com.br/ignite).
## Some Images

## Goals of challenge
1. Edit file `src/components/Header` to receive an array from hook useCart and display the count of products added on cart.
2. Edit file `src/pages/Home` to receive the products from the fake API and render it and add product on cart when click in "ADICIONAR AO CARRINHO".
3. Edit file `src/pages/Cart` to receive the products added on cart from the hook useCart and render it, and calculate total of products.
4. Edit file `src/hooks/useCart` to create the functions `addProduct`, `removeProduct` and `updateProductAmount`