Myntra is a e-commerce website where you can buy clothes, shoes etc. This project is a clone of Myntra website. This project is built using Next.js, React, Hooks, Context API, CSS, HTML.
Note: This page was made as a personal project in connection with an educational exercise. This is NOT the official site of the company or brand identified on the page. The creator of this page is NOT affiliated with the company or brand in any way.
- Header
- Search
- Sort ❌
- Filter ❌
- Filter (show more)
- Wishlist ❌
- Bag ❌
- Product Details ❌
- Footer
- Responsive ❌
so here under this stock is bacially having two categories, first one is "only few left" and another one is "in stock" which has been implemented in the code as if the product is less than 5 then it will show "only few left" and if more than that then it will show "in stock".
myntra/
├── components/
│ ├── Header.js
│ ├── Footer.js
│ ├── Product/
│ │ ├── Products.js
│ │ ├── Product.container.js
│ │ ├── ProductCard.js
│ | └── ProductDetails.js
│ ├── Search/
│ │ ├── Search.js
│ │ ├── Search.bash.js
│ │ ├── AppContext.js
│ ├── Sort.js
│ ├── Main.js
│ ├── Wishlist.js
│ ├── Bag.js
├── pages/
│ ├── index.js
│ ├── products/
│ │ ├── index.js
│ │ ├── [id].js
├── public/
│ ├── images/
│ │ ├── logo.png
│ │ └── ...
│ ├── css/
│ │ ├── global.css
│ │ └── ...
│ └── ...
├── lib/
│ ├── api.js
│ └── ...
├── utils/
│ ├── constants.js
│ └── ...
├── next.config.js
└── package.json
npm install
npm run dev
npm run build
npm run test