"E-Bharat: Ultimate E-Commerce Hub": Supervised by Submitted by
"E-Bharat: Ultimate E-Commerce Hub": Supervised by Submitted by
Supervised By Submitted By
Mr. Deepak Kaushik Nikita
Assistant Professor BCA-CTIS VI Sem
Department of Computer Applications 210187001
2021-2024
Acknowledgement
A successful completion of this project is attributed to the great and indispensable help
received from different people.
I will always be grateful and thankful to Head of Department Dr. Dinesh Verma and
Project Mentor Mr. Deepak Kaushik for giving me the opportunity to learn the different
aspects of designing and implementing this system. It would never be possible for me to
design this system without your continuous assistance and guidance.
Nikita
1
Declaration
Date: Nikita
2
Department of Computer Applications
The project report is the authenticate work of the candidate as per her declaration and is
found to be fit for the award of degree of Bachelor of Computer Applications in accordance
with the rules and regulations of Kurukshetra University, Kurukshetra as per my opinion.
I wish her all the success in her all endeavors.
Mr Deepak Kaushik
Assistant Professor
Department of Computer Applications, PIET
Counter-signed by
HOD-Computer Applications
3
4
5
INDEX
Content
Acknowledgement ...................................................................................................... I
Declaration .................................................................................................................II
Chapter 2: Introduction 12
2.1 Introduction……………………………………………………………………13
2.4 Benefits……………………………………………………………………….. 14
2.5 Features………………………………………………………………………...15
6
4.2 SDLC Phase ..................................................................................................... 22
Chapter 7 : Testing 32
7.1 Introduction..................................................................................................... 33
8.2.1 Home.jsx.............................................................................................. 37
7
Chapter 9: Snapshots 38
9.1 Home Page……………………………………………………………………...39
Bibliography.. ...................................................................................................................46
8
CHAPTER 1
COMPANY PROFILE
9
Chapter 1 Company Profile
11
CHAPTER 2
INTRODUCTION
12
Chapter 2
2.1 Introduction
With a user-friendly interface, E-Bharat caters to a diverse audience, providing a seamless shopping
journey for customers while empowering sellers to showcase their products effectively. Whether it's
electronics, fashion, home essentials, or groceries, E-Bharat offers a vast array of products to meet
every need and desire.
13
due to limited physical space and high overhead costs.
Lack of personalized shopping experiences: Traditional stores often struggle to provide
personalized recommendations and tailored shopping experiences to customers, leading to lower
customer satisfaction and retention rates.
Manual inventory management: Managing inventory manually is time-consuming and prone to
errors, leading to stockouts or overstocking issues.
Enhanced Product Visibility: Through E-Bharat, sellers can showcase their products to a global
audience, breaking free from the constraints of physical space. The platform offers comprehensive
product listings with detailed descriptions, images, and customer reviews, improving product
visibility and attracting more customers.
Personalized Shopping Experiences: E-Bharat leverages advanced algorithms and customer data
to deliver personalized product recommendations and tailored shopping experiences. By analyzing
user behavior and preferences, the platform provides relevant product suggestions, increasing
customer engagement and satisfaction.
Efficient Inventory Management: E-Bharat streamlines inventory management processes by
providing sellers with tools and analytics to track and manage their inventory effectively. Automated
alerts and inventory optimization features help prevent stockouts and minimize excess inventory,
improving overall operational efficiency.
2.4 Benefits:
Minimal Paperwork: E-Bharat eliminates the need for extensive paperwork traditionally associated
with retail operations, reducing administrative burdens for sellers and streamlining processes.
Time-Saving: By providing a centralized platform for buying and selling, E-Bharat saves time for
both sellers and buyers, allowing them to focus on core business activities and making purchases
14
without the constraints of physical shopping.
User-Friendly Interface: E-Bharat offers a user-friendly interface designed to enhance the shopping
experience, making it easy for users to navigate, search for products, and make purchases with
confidence.
Cost-Effective: Operating on a digital platform significantly reduces overhead costs associated with
maintaining physical stores, allowing sellers to offer competitive prices to customers while
maximizing profitability.
2.5 Features
Features Description
Cart and Users can add products to their cart for future purchase and proceed to
Checkout
checkout to complete the transaction securely.
User
Authentication Secure user authentication and authorization mechanisms are
and implemented to ensure the confidentiality and integrity of user
Authorization
Module accounts and data.
Payment
Gateway Integration with payment gateways such as Razorpay ensures seamless
Integration and secure payment processing for user transactions.
Home page The home page or menu provides users with easy navigation to browse
and Menu products, access product categories, apply filters, view testimonials,
and explore other features of the platform
NightScape Users can switch between dark and light interface themes based on
Module
their preferences for enhanced readability and visual comfort.
16
CHAPTER 3
FEASIBILITY STUDY
17
Chapter 3
3.1 Overview
Feasibility analysis stands as the cornerstone in determining the viability of a project, ensuring it
meets performance requirements. For E-Bharat: Ecommerce Hub, this study delves into whether the
project is feasible, serving as the initial design phase. It encompasses understanding all project
aspects, concept development, scoping, market valuation, cost-benefit analysis, and compatibility
with existing systems. This formal documentation provides a succinct overview of the project's scope
and objectives.
The feasibility study for E-Bharat include:
Market trend analysis
Comprehensive risk assessment
Cost analysis
Assessment and recommendations
Similar to the TELOS framework, technical, economic, legal, operational, and scheduling
dimensions are evaluated. These dimensions serve as the foundation for adding new modules and
debugging existing systems
Effectiveness in problem-solving
18
the availability of necessary software and hardware becomes crucial.
For E-Bharat, ensuring technical feasibility involves assessing factors such as:
Practicability of the proposed system
Availability of resources
Existence of necessary technology
Capability for future upgradation
Adequacy of existing technologies
If the system can effectively answer these questions positively, it is deemed technically feasible.
19
CHAPTER 4
Software Development Lifecycle
20
Chapter 4
The System Development Life Cycle framework provides a sequence of activities for
system designers and developers to follow. It consists of a set of steps or phases in which
each phase of the SDLC uses the results of the previous one.
A Systems Development Life Cycle (SDLC) adheres to important phases that are essential
for developers, such as planning, analysis, design, and implementation, and are explained
in the section below. A number of system development life cycle (SDLC) models have
been created: waterfall, fountain, spiral, build and fix, rapid prototyping, incremental, and
synchronize and stabilize. The oldest of these, and the best known, is the waterfall model: a
21
sequence of stages in which the output of each stage becomes the input for the next. These
stages can be characterized and divided up in different ways, including the following:
22
CHAPTER 5
REQUIREMENT ANALYSIS
23
Chapter 5
24
5.3 User Requirements
To deliver the best service to the users of our e-commerce platform, we have identified various
necessities from both the administrator and customer perspectives. Administrators need
comprehensive tools to monitor the entire system through an admin panel and take regular backups
of the database. They require functionalities to create, delete, and modify records within the system,
as well as manage users who have access to the admin panel. Additionally, administrators need to
be able to add and manage customers and staff members, maintain detailed customer records
including personal details and purchase history, and organize and approve customer membership
registrations and notices. Monitoring the transaction system to ensure accuracy and security in all
financial activities is also crucial.
From the customer perspective, the system should provide seamless account management, allowing
users to sign up for new accounts, sign in to existing accounts, and change their passwords. The
ability to reset passwords if forgotten is also a necessary feature for customers to maintain
uninterrupted access to their accounts.
In software engineering and systems engineering, functional requirements define the specific
behaviors or functions of the e-commerce system. These requirements encompass user
authentication to allow users to sign up, sign in, and manage their accounts. The system should
include a comprehensive product catalog displaying detailed descriptions, prices, and images of
products. It must support a shopping cart functionality where users can add, remove, and update
products. A secure and user-friendly checkout process with integrated payment gateways is
essential, along with order management features enabling users to view order history, track current
orders, and receive confirmations. The system should offer search and filtering options to help users
find products quickly, and enable customers to leave reviews and ratings. Inventory management is
necessary to track product stock and notify administrators when levels are low. The system should
also support promotional codes and discounts, and provide a customer support system for users to
contact support and receive assistance.
25
5.5 Non Functional Requirements
Non-functional requirements specify the criteria that judge the operation of the e-commerce system
rather than specific behaviors. The system should be able to handle a high number of simultaneous
users and transactions without performance degradation, ensuring scalability for future growth in
user base and product catalog. Security measures must be robust to protect user data, ensure secure
transactions, and prevent unauthorized access. The user interface should be intuitive and easy to
navigate for users of all technical levels, ensuring usability. Reliability is crucial, with the system
needing minimal downtime to ensure constant accessibility. The system should be maintainable,
designed for easy maintenance and updates. Compliance with relevant legal and regulatory
standards, such as data protection laws and e-commerce regulations, is also essential.
Business requirements focus on the needs and objectives of the business, guiding the design and
development of the e-commerce platform. These include defining the business context, scope, and
background, including the reasons for implementing the platform. Identifying key business
stakeholders with specific requirements is necessary, as is outlining success factors and metrics for
the future or target state of the platform. Documenting business constraints imposed by the business
or existing systems is crucial for consideration during development. Analyzing and depicting current
and future business processes through business process models and flowcharts, and illustrating how
data moves through the system with data flow diagrams, ensures that all processes are clearly
understood and optimized.
26
CHAPTER 6
SYSTEM DESIGN
27
Chapter 6
6.1 Overview
This chapter encompasses the various design aspects related to our e-commerce project, E-
Commerce Hub. It includes Data Flow Diagrams (DFDs), Entity-Relationship Diagrams, the
structure of the database, Class Diagrams, and Activity Diagrams. Design serves as the foundational
step to understand the flow of data, input interfaces, and the appearance of output screens.
Key points highlighting the importance of system design for E-Commerce Hub:
Understanding Data Flow: Design elucidates the flow of data within the system, facilitating
a clear comprehension of information exchange.
Visualizing Customer Expectations: Design aids in visualizing and aligning with customer
expectations, ensuring a user-centric approach.
Enhancing Productivity: Well-defined designs contribute to better productivity,
streamlining development processes.
Understanding System Activities: Design allows us to comprehend the activities performed
within the system, guiding the development process effectively.
Determining Entity Relationships: Design helps in determining the relationships between
entities within the system, ensuring accurate data management.
Facilitating Module Relationships: It aids in understanding the relationships between
different modules of the system, fostering seamless integration.
Leveraging Previous Phase Results: Designs build upon the results obtained from previous
phases, ensuring continuity and coherence in the development process.
Creating a Comprehensive System View: Design provides a holistic view of the system,
enabling stakeholders to grasp its intricacies and functionalities.
Identifying Design Issues: It reveals design issues and flaws early in the development cycle,
allowing for timely mitigation.
Visualizing Object Interaction: Designs facilitate the visualization of interactions between
objects within the system, guiding implementation strategies.
Guiding Code Implementation: Design serves as a blueprint for code implementation,
providing a roadmap for developers to follow.
In essence, system design is paramount for E-Commerce Hub as it lays the groundwork for
28
a seamless, user-friendly shopping experience, aligning with industry standards and customer
expectations
29
6.3Data Flow Diagram
Data Flow Diagram was developed by Larry Constantine. These were popularized in late
1970s. This is the method to show the system requirements graphically.
It is a traditional visual representation of the flaw of information. It can be designed
manually, automated or combination of both. They can be used to analyze an existing
system or model new one.
DFD is can be divided into Logical and Physical. Logical DFD represents the flow of data
into the system whereas Physical DFD represents how the flow of information will be
implemented. DFD is used or designed for:
These are some reasons why do we need a DFD in system/project development or software
engineering. A clear and neat DFD is helpful to develop an efficient and quantifiable
system.
Data Flow Diagram is categorized mainly into these levels:
0-Level DFD
1-Level DFD
31
CHAPTER 7
TESTING
32
Chapter 7
7.1 Introduction
Testing is essential for ensuring the quality of developed applications, aiming to uncover any potential defects It
plays a crucial role in the success of the system by verifying logical correctness and functionality. The objective of
testing is to execute programs with the intent of identifying errors. A successful test case is one that discovers
previously unnoticed errors
Testing strategies encompass various types of testing to ensure robustness before releasing applications to customers.
These may include:
Performance Testing: Evaluates the speed, effectiveness, and other qualitative attributes of software or
hardware systems.
Load Testing: Measures the response of a system under demand, simulating multiple users accessing the
program concurrently, primarily relevant for multi-user systems like web servers.
ID
TC001 User User is on the 1. Enter details in User account is
Registration registration theregistration successfully created.
page form.
2. Click "Register".
33
TC002 Registration - User is on the 1. Enter an invalid email Error message indicates
Invalid Email registration format (e.g., missing "@" that the email format is
Format page symbol). 2. Click invalid.
"Register".
TC003 Registration - User is on the 1. Enter a name with less Error message indicates
Short Name registration than 5 characters. 2. that the name should be
page Click"Register". at least 5 characters
TC004 Registration - User is on the 1. Enter a password with Error message indicates
Short Password registration lessthan 5 characters. that the password should
page 2. Click "Register". be at least 5 characters
long.
Registration - User is on the 1. Enter a phone Error message indicates
TC005
Invalid Phone registration number with fewer than that the phone number
Number page 10 digits. format is invalid.
2. Click "Register".
Format
User 1. Navigate to the User is successfully
TC006 User Login
account loginpage. logged in and redirected
exists 2. Enter valid credentials. to the dashboard.
3. Click "Login".
TC007 Add Item to User is logged 1. Select an item from Item is added to the
in themenu.
Cart shopping cart with
and on the 2. Click "Add to Cart". correct details.
menupage
TC008 Remove Item Item is added 1. View the cart. Item is removed from
from Cart tothe cart 2. Click "Remove" on the cart.
anitem.
TC09 Update Item Item is added 1. View the cart. Item quantity is updated,
2. Change the quantity of
Quantity in tothe cart and the cart total reflects
Cart anitem. the change.
3. Click "Update".
34
CHAPTER 8
IMPLEMENTATION
35
Chapter 8
Developed a NightScape module to provide users with a dark mode and light mode interface.
Ensured the interface is user-friendly and accessible in both modes.
36
8.2 Source Code
8.2.1 Home.jsx
import React, { useContext } from 'react'
import Layout from '../../components/layout/Layout'
import myContext from '../../context/data/myContext'
import HeroSection from '../../components/heroSection/HeroSection'
import Filter from '../../components/filter/Filter'
import ProductCard from '../../components/productCard/ProductCard'
import Track from '../../components/track/Track'
import Testimonial from '../../components/testimonial/Testimonial'
import { Link } from 'react-router-dom'
function Home() {
return (
<Layout>
<HeroSection />
<Filter />
<ProductCard />
<div className="flex justify-center -mt-10 mb-4">
<Link to={'/allproducts'}>
<button className=' bg-gray-300 px-5 py-2 rounded-xl'>See more</button>
</Link>
</div>
<Track />
<Testimonial />
</Layout>
)
}
export default Home
37
CHAPTER 9
SNAPSHOT
38
Chapter 9
39
9.2 Admin/User Login Screen
40
9.4 Nightscape Mode
41
9.5 Payment Integration and Successful
42
CHAPTER 10
43
Chapter 10
10.1 Conclusion
In the rapidly evolving digital landscape, where technological advancements have become integral
to daily operations, the implementation of digital solutions has become paramount across various
sectors. Our e-commerce platform, E-Bharat, stands as a testament to this digital transformation,
offering a seamless online shopping experience to users.
Transitioning from traditional brick-and-mortar stores to an online platform brings forth numerous
benefits, addressing key challenges and enhancing efficiency in several ways. E-Bharat not only
streamlines the shopping process but also offers a plethora of features designed to cater to the
evolving needs of modern consumers.
By leveraging digital platforms like E-Bharat, we can effectively reduce paper usage and manual
labor associated with traditional retail practices. Additionally, the system's capability to handle
operations such as data filtration and report generation simplifies administrative tasks, allowing for
more efficient management of resources.
In today's fast-paced world, where time is of the essence, E-Bharat provides a user-friendly
environment that enables users to access products and services conveniently from anywhere with an
internet connection. The system's ability to import data seamlessly from external sources further
enhances its usability, saving time and effort for both users and administrators.
44
10.2 Future Scope
Looking ahead, the future of E-Bharat holds immense potential for further innovation and growth.
As digitalization continues to permeate every aspect of our lives, the e-commerce sector is poised
for significant expansion and evolution.
In the coming years, we envision E-Bharat becoming an integral part of the digital ecosystem,
aligning seamlessly with emerging trends and technologies in the e-commerce industry. Some
potential avenues for future development include:
45
Bibliography
https://www.guvi.in/blog/unique-project-ideas-for-college-students/
https://www.youtube.com/
https://firebase.google.com/docs
https://legacy.reactjs.org/docs/getting-started.html/
https://headlessui.com/
https://www.freecodecamp.org/news/context-api-in-react/
46