Project for shoes shopping cart.
- Add a new product to the cart
- Remove a product from the cart
- Change the quantity of a product in the cart
- Calculation of cart total and subtotal prices
- Inventory validation
- Display of error messages
- React;
- React Hooks;
- TypeScript;
- React-Toastify;
- Styled Components;
- Polished;
- Axios;
- Json Server;
- Testing Library;
-
Clone the repository on your machine, using the command below on your terminal:
git clone https://github.com/oliviaresende/rocketshoes.git
- Access the repository:
cd rocketshoes
- Install your project's dependencies by typing in the terminal:
yarn install
- And finally, give the command to run your project:
yarn start
Note: The project will run on http://localhost:3000
yarn server
Note: The server will run on http://localhost:3333
yarn test