Using JavaScript and React to build an Amazon Clone e-Commerce platform, implement browsing products page, ratings of products, adding to the shopping cart for checkout page, sign in page and create new account page.
The home page displays the item being browsed. Click the Add to Basket button to add the product to the shopping cart, and the total number of items in the basket will be displayed next to the shopping cart icon in the upper right corner of the page. According to the rating of the product, the corresponding number of stars will be displayed on the page.
On the shopping cart checkout page, click the Remove from shopping cart button to remove the item from the shopping cart. The total amount of goods will be reduced accordingly.
"scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },
First install dependencies:
npm install