Source code for PublicisSapient Hiring Challenge - Design and develop a Mini Cart Application using React.js
The default screen shows a list of products on the page, with its price and ability to increase and decrease the quantity. The top header shows the cart total with total count of products. And on click of cart icon opens the mini cart menu showing a list of products with quantity and ability to remove the product from the cart.
API Link: https://dnc0cmt2n557n.cloudfront.net/products.json
It uses material design.
These instructions assume that you have npm package manager installed. If not, please install it from: https://www.npmjs.com/package/npm
-
Clone the repo from git git clone https://github.com/dslshweta/mini-cart-app.git
-
Go into the repo directory and install packages using command npm install
-
Start the webserver with the following command npm start
-
Visit http://localhost:3000 in a modern browser.
In the project directory, you can run:
Your app is ready to be deployed!