Skip to content

BootcampIgnite2021/challenge-03-shopping-cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

RocketShoes

Challenge 03 - Shopping Cart!

GitHub top language Made by Repository size GitHub last commit Repository issues GitHub Stargazers

About the challenge   |    Getting started   |    How to contribute   |    License   |    Author

Gif

About the challenge 📂:

In this challenge, you should create an application to train what you've learned so far in ReactJS

This will be an application where your main objective is to create a shopping cart hook. You will have access to two pages, a component and a hook to implement the features requested in this challenge:

  • Add a new product to the cart;
  • Remove a product from the cart;
  • Change the quantity of a product in the cart;
  • Calculation of sub-total and total cart prices;
  • Stock validation;
  • Display of error messages;
  • Between others.

Below we will see in more detail what and how it needs to be done 🚀

Getting started 🖥️:

Clone the project and access the folder

$ https://github.com/BootcampIgnite2021/challenge-03-shopping-cart.git && cd challenge-03-shopping-cart

Follow the steps below

# Install the dependencies
$ yarn

# Start the client
$ yarn start

# Start JSON Server
$ yarn server

# Execute tests
$ yarn test

How to contribute 🤔:

Make a fork of this repository

# Fork using GitHub official command line
# If you don't have the GitHub CLI, use the web site to do that.

$ gh repo fork BootcampIgnite2021/challenge-03-shopping-cart

Follow the steps below

# Clone your fork
$ git clone your-fork-url && cd challenge-03-shopping-cart

# Create a branch with your feature
$ git checkout -b my-feature

# Make the commit with your changes
$ git commit -m 'feat: My new feature'

# Send the code to your remote branch
$ git push origin my-feature

After your pull request is merged, you can delete your branch

License 📝:

This project is licensed under the MIT License - see the LICENSE file for details.


Author 👨‍💻:

Made with ❤️ by franciscojunior10 meu 👉 Linkedin

About

📝 Challenge 03 - Shopping Cart #IgniteReactJSTrail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published