Mini Cart Application

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.

Deployment instructions

These instructions assume that you have npm package manager installed. If not, please install it from: https://www.npmjs.com/package/npm

  1. Clone the repo from git git clone https://github.com/dslshweta/mini-cart-app.git

  2. Go into the repo directory and install packages using command npm install

  3. Start the webserver with the following command npm start

  4. Visit http://localhost:3000 in a modern browser.

Available Scripts

In the project directory, you can run:

npm start

npm test

npm run lint

npm run build

Your app is ready to be deployed!