Skip to content

An E-commerce site built using Next.js. Contains products listing page, dedicated cart page and error handling.

Notifications You must be signed in to change notification settings

vikas780/ShoppingCart

Repository files navigation

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Features

Products 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)

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.