First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devProducts Features
| Feature | Coded? |
|---|---|
| Products listing page | ✔ |
| Add a product to cart | ✔ |
| Dedicated cart page | ✔ |
| Cart summary section | ✔ |
| Remove a Product from cart and Quantity selector | ✔ |
| Fixed discount | ✔ |
| Percentage discount(10%) | ✔ |
Extra Features
| Feature | Coded? |
|---|---|
| Landing page for better experience | ✔ |
| Featured products | ✔ |
| Single product page to get product detail | ✔ |
| Search functionality | ✔ |
| Clear cart button | ✔ |
| Shimmer ui to enhance user experience | ✔ |
| If product price is below 2rs then min quantity is 5 | ✔ |
| Add min 3 products to cart to get free shipping | ✔ |
| Percentage discount(10%) only applies when cart total is greater 100rs | ✔ |
| Error handling (If application not able to fetch product from API due to network issue/API issue) | ✔ |
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.