Sweets E-commerce Final Year Project with Source Code | Source Code
LIMITED TIME
Get Source Code ₹99
Real project UI Full source included

No live demo yet — message us for access

Our team shares demo access on WhatsApp within minutes

Sweets E-commerce Final Year Project with Source Code

Complete final-year project source code with frontend, backend, database, and setup guide. Instant download after secure payment.

  • NODE-JS Stack
  • Instant Download
Secure CCAvenue payment Instant download link WhatsApp support

Choose your plan

Source Code Only

Full ZIP with frontend, backend, database & documentation.

₹99 one-time
  • Complete project source files
  • Database script included
  • How-to-run guide

What's in your download

Review features, setup steps, and credentials before you pay.

Project Overview

Description, tech stack, and what is included

Full source Frontend + backend
Database .sql file
Setup guide README included

SweetDelights is a complete MERN stack final year project developed for selling premium Indian sweets through an online e-commerce platform. This major project includes a professional customer storefront, user account panel, and admin console. Customers can register, log in, browse sweets, search and filter products, view product details, add products to cart, save products in wishlist, manage delivery addresses, place Cash on Delivery orders, track order status, cancel eligible orders, view order history, and submit product reviews after delivery. Admin can manage brands, categories, products, stock, users, orders, payments, reviews, offers, banners, contact messages, profile details, and business reports. This SweetDelights Sweets E-commerce source code is suitable for students who need a final year project, major project, minor project, source code, and project report based on MERN stack and e-commerce website development.

Technical snapshot

Project
Sweets E-commerce Final Year Project with Source Code
Stack
NODE-JS
Includes
Code, DB, README
License
Academic submission
Secure CCAvenue payment · Instant download · Need help? WhatsApp us

Admin Features

Modules and controls available to administrators

Admin Panel Features in this Final Year Project

  • Admin login
  • Admin dashboard
  • KPI cards
  • View total sales
  • View total orders
  • View total users
  • View total products
  • View pending orders
  • View delivered orders
  • View daily orders
  • View monthly orders
  • View low stock alerts
  • View recent orders
  • View best-selling products
  • Quick action links
  • Manage brands
  • Manage categories
  • Manage products
  • Manage stock
  • Manage users
  • Manage orders
  • Manage payments
  • Manage reviews
  • Manage offers
  • Manage banners
  • Manage contact messages
  • Manage reports
  • Manage admin profile
  • Change admin password

Brand Management Features in this Final Year Project

Admin can manage sweet product brands.

Brand actions:

  • Add brand name
  • Upload brand logo
  • Add logo URL
  • Set active/inactive status
  • View brand list
  • Search brands
  • Filter brands by status
  • Edit brand details
  • Delete brand
  • View brand detail modal

Category Management Features in this Final Year Project

Admin can manage product categories.

Category actions:

  • Add category name
  • Add category description
  • Upload category image
  • Set category status
  • View category list
  • Search categories
  • Filter categories
  • Edit category
  • Delete category

Example categories from seed data:

  • Mithai
  • Cakes
  • Chocolates
  • Dry Fruit Sweets
  • Festival Sweets

Product Management Features in this Final Year Project

Admin can manage complete product records.

Product form includes:

  • Product name
  • Brand
  • Category
  • Price
  • Discount
  • Weight
  • Stock
  • Product image
  • Description
  • Ingredients
  • Shelf life
  • Popular flag
  • Latest flag
  • Availability status
  • Low stock threshold

Product actions:

  • Add product
  • View product table
  • Search products
  • Filter by availability
  • Edit product
  • Delete product
  • Toggle availability
  • Mark as popular
  • Mark as latest
  • View product detail modal

Stock Management Features in this Final Year Project

  • View all product stock levels
  • View low stock alert banner
  • Update stock quantity
  • Mark product as out of stock
  • Filter all products
  • Filter low stock products
  • Filter out-of-stock products

Order Management Features

Admin can manage all customer orders.

Admin order actions:

  • View all orders
  • Search orders
  • Filter orders by status
  • View status-wise order count
  • Update order status
  • View full order details
  • View customer details
  • View address details
  • View ordered items
  • View payment details
  • Cancel orders from admin side

Order statuses:


 
Pending
Confirmed
Packed
Shipped
Delivered
Cancelled

Payment Management Features in this Final Year Project

Since the project uses Cash on Delivery, admin can manage COD payment records.

Payment actions:

  • View all order payments
  • Track COD orders
  • View pending payment count
  • View collected payment count
  • Update payment status
  • View payment detail modal

Payment statuses:


 
Pending
Paid
Failed
Refunded

Offers and Banner Features in this Final Year Project

Offers

Admin can manage promotional offers.

Offer actions:

  • Add offer title
  • Set discount percentage
  • Select product target
  • Select category target
  • Enable festival offer flag
  • View offer list
  • Search offers
  • Edit offer
  • Activate/deactivate offer
  • Delete offer
  • Reset product discount after offer deletion

Banners

Admin can manage homepage banners.

Banner actions:

  • Add banner title
  • Add subtitle
  • Upload image
  • Add link
  • Set display order
  • Activate/deactivate banner
  • Edit banner
  • Delete banner
  • Preview banner

Contact Message Features in this Final Year Project

Customers can submit contact messages.

Contact message fields:

  • Name
  • Email
  • Subject
  • Message

Admin can:

  • View all messages
  • View unread message count
  • Search messages
  • Filter read/unread messages
  • Mark messages as read
  • Mark messages as unread
  • View full message content
  • Delete messages

Reports and Analytics Features in this Final Year Project

Admin can view business reports such as:

  • Total revenue
  • Order metrics
  • Daily order counts
  • Monthly order counts
  • Sales overview
  • Progress bars
  • Store metrics
  • User count
  • Product count
  • Completion rate
  • Average order value
  • Best-selling products report
  • Low stock products report

Backend API Modules in this Final Year Project

The backend includes API routes for:

  • User registration
  • User login
  • Admin login
  • Profile management
  • Password change
  • Address management
  • User management
  • Brand management
  • Category management
  • Product management
  • Cart management
  • Wishlist management
  • Order management
  • Review management
  • Banner management
  • Offer management
  • Contact messages
  • Admin dashboard statistics
  • User dashboard statistics

User Features

What end users can do in this application

Customer Storefront Features in this Final Year Project

  • Public homepage
  • Hero banner slider
  • Auto-rotating banners
  • Feature highlights
  • Free delivery highlight
  • Cash on Delivery highlight
  • Shop by category section
  • Latest arrivals section
  • Popular sweets section
  • Discounted products section
  • Call-to-action sections
  • Product listing page
  • Product detail page
  • Customer login
  • Customer registration
  • Contact page
  • Responsive storefront design

Product Listing Features in this Final Year Project

Customers can browse and search sweets through:

  • View all available sweets
  • Search by product name
  • Filter by category
  • Filter by brand
  • Filter by price range
  • Filter by weight
  • Filter by availability
  • Sort by price low to high
  • Sort by price high to low
  • Sort by product name
  • Pagination support

Product Detail Features in this Final Year Project

The product detail page can display:

  • Product image
  • Product name
  • Product price
  • Discount price
  • Brand
  • Category
  • Weight
  • Stock status
  • Description
  • Ingredients
  • Shelf life
  • Customer reviews
  • Average rating
  • Add to cart button
  • Add to wishlist button
  • Write review option for logged-in users

User Account Panel Features in this Final Year Project

  • User dashboard
  • Account summary
  • View total orders
  • View active orders
  • View wishlist count
  • View saved addresses
  • View review count
  • View cart item count
  • View total spent
  • View order breakdown
  • Recent orders list
  • Profile management
  • Update name
  • Update email
  • Update mobile number
  • Change password
  • Manage orders
  • Manage addresses
  • Manage reviews
  • Manage wishlist
  • Manage cart
  • Checkout

User Order Features in this Final Year Project

Customers can manage orders through:

  • View complete order history
  • Search orders by order ID
  • Search orders by product name
  • Filter orders by status
  • View total orders
  • View active orders
  • View delivered orders
  • View cancelled orders
  • View order detail page
  • View order tracking timeline
  • View shipping address
  • View payment summary
  • View ordered products
  • Cancel pending orders
  • Cancel confirmed orders if eligible
  • Submit product review after delivery

Order tracking timeline:


 
Pending → Confirmed → Packed → Shipped → Delivered

Address Management Features in this Final Year Project

Customers can manage delivery addresses.

Address actions:

  • Add new address
  • Edit existing address
  • Delete address
  • Set default address
  • Select address during checkout

Address fields:

  • Full name
  • Mobile number
  • Street
  • City
  • State
  • Pincode

Cart and Checkout Features

Shopping Cart

  • View cart items
  • View product images
  • View product prices
  • Increase product quantity
  • Decrease product quantity
  • Remove cart item
  • View order summary
  • Delivery charge display
  • Free delivery hint for orders above ₹999
  • Proceed to checkout

Checkout

  • Select saved address
  • Enter new address
  • Review order summary
  • Cash on Delivery payment method
  • Place order

Payment scope note:
This project supports Cash on Delivery only. It does not include third-party payment gateway integration.


Wishlist Features in this Final Year Project

  • View saved products
  • Remove product from wishlist
  • Move wishlist item to cart
  • Move all available wishlist products to cart
  • View stock availability indicator

Review Features in this Final Year Project

Customer Side

  • Write product review
  • Give rating
  • Edit own review
  • Delete own review
  • View all reviews written by the user

Admin Side

  • View all product reviews
  • Search reviews
  • Filter visible/hidden reviews
  • Show reviews
  • Hide reviews
  • Delete inappropriate reviews
  • View review detail modal

Other Features

Additional capabilities included in the project

This Final Year Project does not claim or require:

  • Online payment gateway
  • UPI payment integration
  • Razorpay integration
  • Stripe integration
  • Delivery partner API
  • Live delivery tracking
  • Delivery boy mobile app
  • Multi-vendor marketplace
  • GST invoice module
  • AI recommendation engine
  • SMS gateway
  • Email OTP service

This keeps the project practical for a college-level minor project, major project, and final year project.

How to Run

Step-by-step setup on your laptop or PC

Backend setup

  1. Open project folder:

 
cd "Sweets E-commerce"
  1. Open backend folder:

 
cd backend
  1. Install backend dependencies:

 
npm install
  1. Create environment file:

 
copy .env.example .env
  1. Configure backend .env:

 
PORT=5000
MONGO_URI=mongodb://127.0.0.1:27017/sweets_ecommerce
JWT_SECRET=your_super_secret_jwt_key_change_in_production
JWT_EXPIRE=7d
  1. Start MongoDB.
  2. Seed database:

 
npm run seed
  1. Start backend server:

 
npm run dev

Backend URL:


 
http://localhost:5000

Frontend setup

  1. Open frontend folder:

 
cd frontend
  1. Install frontend dependencies:

 
npm install
  1. Start frontend server:

 
npm run dev

Frontend URL:


 
http://localhost:3000

Login Credentials

Default demo accounts for testing after setup

Admin Login

Role Email Password URL
Admin [email protected] admin123 http://localhost:3000/admin/login

Customer Login

Name Email Password
Rahul Sharma [email protected] user123
Priya Patel [email protected] user123
Amit Kumar [email protected] user123

License

Usage terms for academic and personal projects

Related Tags

Search terms and categories for this source code

Sweets E-commerce Final Year Project with Source Code Source Code Final Year NODE-JS Project Ready-to-Run Code With Database File Plagiarism-Free Faculty Approved final year project major project minor project source code project report SweetDelights Sweets E-commerce Website sweets ecommerce project online sweets ordering system MERN stack project React ecommerce project MongoDB ecommerce website Node Express ecommerce project shopping cart project wishlist project Cash on Delivery project admin panel ecommerce system product review system stock management project