Amazon-clone using React, Material-ui and Firebase (Part 1)

  1. Basic set up
npx create-react-app amazon-clone
* {
margin: 0;
}
src/App.js

The header

npm install @material-ui/core
npm install @material-ui/icons

The home page

src/components/Home.js
src/components/StateProvider — src/index.js
src/components/Product.js
src/reducer.js
const [{basket, user}, dispatch] = useStateValue();

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store