/rocketshoes

Ignite React Chapter 2 Challenge Repository

Primary LanguageTypeScript

ROCKETSHOES

Project for shoes shopping cart.


About the project ⭐️

Main features:

  • 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

Technologies used:


How to run the project? 🚀

Prerequisites:

  1. Have the Node js instalado and combined it with Yarn;

  2. Clone the repository on your machine, using the command below on your terminal:

  git clone https://github.com/oliviaresende/rocketshoes.git
  1. Access the repository:
  cd rocketshoes
  1. Install your project's dependencies by typing in the terminal:
  yarn install
  1. And finally, give the command to run your project:
  yarn start

Note: The project will run on http://localhost:3000


How to run Json-server? 🚀

  yarn server

Note: The server will run on http://localhost:3333


How to run the tests? 🚀

  yarn test