The purpose of this challenge is create a simple homepage layout of a e-commerce
To check a result of challenge access this link
- It should be able to list products
- It should be able to add a product in an shopping cart
- It should be able to remove a product from shopping cart
- It should be able to register in an newsletter
- It should not be able to register in an newsletter without fill fields name and email
- For validation of form use unform lib and yup
- Use typescript
- Use styled-components to make a application style
- To manage products in shopping cart, create a hook using context api of react
- Clone this repository
git clone https://github.com/MatheusAntonioF/challenge-cb.git
- Open folder and install the dependences
yarn
## or
npm install
- Run a command to start application
yarn start
## or
npm run start