wdgisele / shopping-cart

A shopping cart with React Hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shopping cart

Ignite Journey - Challenge 03

Project   |    Technologies   |    Layout   |    How to Use   |    Features   |    License

GitHub language count GitHub top language GitHub repo size GitHub last commit Github license

shopping cart


πŸ’» Project

An application where your main objective is to create a shopping cart hook, to practice a little more about state manipulation in React. A challenge from Rocketseat's Ignite journey.

πŸš€ Technologies

This project was developed with the following technologies:

πŸ”– Layout

Created from Rocketseat template.

ℹ️ How To Use

To clone and run this application, you'll need Git and Yarn. From your command line:

# Clone the repository
$ git clone https://github.com/gisabernardess/shopping-cart.git 
# Go into the directory $ cd shopping-cart
# Install dependencies $ yarn
# Run the fake api $ yarn server
# Run the development server $ yarn start
# Navigate to http://localhost:3000 # The app will automatically reload if you change any of the source files.

✨ 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 the sub-total and total cart prices;
  • Inventory validation;
  • Display of error messages;
  • and more.

πŸ“„ License

This project is under the MIT license. See the LICENSE for more information.


Made with β™₯ by Gisele Silva πŸ‘‹πŸ» Get in touch!

About

A shopping cart with React Hooks

License:MIT License


Languages

Language:TypeScript 83.0%Language:JavaScript 15.9%Language:HTML 1.2%