Shopping Cart made in ReactJS.
-
Implement the shopping cart logic with the following requisites:
- Add/Remove product card items using the +/- buttons.
- Calculate the totals of each product and the summary total accordingly.
- All totals in order summary should be updated whenever a product is added or removed.
-
BONUS:
- Product Detail modal
- Node version 10.18.1
You can find the React documentation on the website.
Check out the Getting Started page for a quick overview.
To install this project you only need to run the next command:
$ npm install
Just run the next command:
$ npm run start
It will show that everything is working:
Compiled successfully!
You can now view front_react in the browser.
Local: http://localhost:3000/
On Your Network: http://192.168.190.131:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
When you launch $ npm run start
and the web server starts whenever you change something in your code, the browser will be reload with the new changes.
With Mónica's love @ 2020