You are on page 1of 24

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

“Jnana Sangama”, Belagavi-590018, Karnataka

Database Management Systems


Mini Project Report on

“Online Clothes Shopping System”


Submitted in partial fulfillment of the requirements for the award of the degree of

Bachelor of Engineering
in
Artificial Intelligence & Machine Learning
Submitted by
Harsh Singh
1BI20AI014

Under the Guidance of

Prof. Sahana M.
Assistant Professor
Department of AI&ML, BIT
Bengaluru-560 004

Department of Artificial Intelligence & Machine Learning


Bangalore Institute of Technology
K.R. Road, V.V. Pura, Bengaluru-560 004
VISVESVARAYA TECHNOLOGICAL UNIVERSITY
“Jnana Sangama”, Belagavi-590018, Karnataka

BANGALORE INSTITUTE OF TECHNOLOGY


Bengaluru-560 004

Department of Artificial Intelligence & Machine Learning


Certificate

This is to certify that the Database Management Systems mini project work entitled “Online
Clothes Shopping System” carried out by
USN Name
1BI20AI014 Harsh Singh
a bonafide student of V semester B.E. for the partial fulfillment of the requirements for the
Bachelor’s Degree in Artificial Intelligence & Machine Learning of the
VISVESVARAYA TECHNOLOGICAL UNIVERSITY during the academic year 2022-
23. It is certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the report deposited in the departmental library. The mini project report has
been approved as it satisfies the academic requirements in respect of Mini Project work
prescribed for the said degree.

Prof. Sahana M. Dr. D.G Jyothi Dr. Ashwath M.U.


Assistant Professor Professor & HoD Principal
Dept. of AI&ML Dept. of AI&ML BIT
BIT, Bengaluru. BIT, Bengaluru. Bengaluru.
ACKNOWLEDGEMENT

The knowledge & satisfaction that accompany the successful completion of any task
would be incomplete without mention of people who made it possible, whose guidance and
encouragement crowned my effort with success. I would like to thank all and acknowledge
the help I have received to carry out this mini project. I would like to convey my thanks to the
Principal Dr.Aswath.M.U and Head of Department Dr.Jyothi.D.G for being kind enoughto
provide the necessary support to carry out the mini Project.

I would also like to acknowledge the support I have received from the mini project
coordinators Prof. Sahana M and Prof. Shruthiba B for understanding the requirements to
be met at each phase of the mini project.

I would be most humbled to mention the enthusiastic influence provided by my guide


Prof. Sahana M on the mini project for the ideas, time to time suggestions for being a
constant support and co-operation showed during the venture and making this mini project
a great success. I would also take this opportunity to thank my friends and family for their
constant support and help.

I would be very much pleasured to express my sincere gratitude to the friendly co-
operation showed by all the staff members of Artificial Intelligence and Machine Learning
Department, BIT.
ABSTRACT

This is a project report on “ONLINE CLOTHES SHOPPING SYSTEM”.


During the making/developing of this project we explored new ideas. This project is
the output of our planning, schedule, programming skill and the hard work, and this
report reflects our steps taken at various levels of programming skill, planning and
schedule. We have learnt a lot during this project and liked the improvement in our
testing skills and deep concept related to these kinds of projects. Our project is
ONLINE CLOTHES SHOPPING. This is a web-based application which helps
people to find and buy latest clothes from online. It is useful in the way that it makes
an easier way to buy clothes online. The purpose of the project is to computerize the
Office Management of online store to develop software which is user friendly simple,
fast and cost effective, for personal use and makes the data processing very fast.The
basic concept is to allow the customer to shop virtually using the Internet and allow
customers to buy the items of their desire from the store. The information pertaining
to the products are stores on an RDBMS at the server side (store). The admin can
add, delete or update items in the stock
INDEX

Acknowledgement ............................................................................................................. i

Abstract ............................................................................................................................ ii

1. Introduction ................................................................................................................... 1

1.1 Introduction to project............................................................................................ 1

2. System Analysis ............................................................................................................. 2

2.1 Proposed System ..................................................................................................... 2

2.2 Objective of project ................................................................................................. 2

2.3 Scope of the project ................................................................................................. 2

3. System Requirements Specification .............................................................................. 3

3.1 Hardware Requirements ......................................................................................... 3

3.2 Software Requirement ........................................................................................... 3

3.3 About Technologies Used ....................................................................................... 4

4. System Design ................................................................................................................ 5

4.1 Database Design ....................................................................................................... 5

4.2 ER Diagram ............................................................................................................ 6

4.2.1 ER Diagram of Online Clothes Shopping System.......................................... 7

4.3 Schema Diagram ..................................................................................................... 8

4.3.1 Mapping of ER Diagram to Schema Diagram ............................................... 9

4.4 Implementation .................................................................................................... 10

4.4.1 Modules Description ..................................................................................... 10

5. Results with Screen-shots ............................................................................................ 12

Conclusion & Future Enhancement ............................................................................... 18

References
List of Figures

Fig Page
No. Description no.
4.1 ER Diagram 9
4.2 Schema Diagram of Online Clothes Shopping System 11
5.1 Home Page 14
5.2 Home Page 14
5.3 User Login Page 15
5.4 View of the Catalog Page 15
5.5 Cart Page 16
5.6 Payment Page 16
5.7 Update Item Page 17
5.8 Updated Items Page 17
5.9 Admin Login page 18
5.10 Admin Dashboard Page 18
Chapter 1

Introduction

1.1 Introduction to Project

The project ‘ONLINE CLOTHES SHOPPING SYSTEM’ has been developed on


HTML, PHP, CSS, and My SQL. The objective of this project is to create an e-commerce
webportal with a content management system which would allow product information to
be updated securely. The web portal will have an online interface in the form of an e-
commerce website that will allow users to buy items. There are two types of users
available in the project. First one is Customer and second one is Admin. Customers have
limited access right to accessthe system while the admin users have full control over the
system. We have used PHP for business logic,
MySQL as a database, HTML for structure designing, CSS for web page
formatting. This project aims to develop an online shopping for customers with the goal so
thatit is very easy to shop your loved things from extensive number of products available.
With the help of this you can carry out an online shopping from your home. Here is no
compelling reason to go to the crowed stores or shopping centers during festival seasons.
To get to this online shopping system all the customers will need to have a email and
password to login and proceed your shopping. The login credentials for an online
shopping system are under high security and nobody will have the capacity to crack it
easily. Upon successful login the customers can purchase a wide range of clothes using
online shopping system. No need to go to shops physically with this you will have more
time to spend with your family

Dept., AI&ML(2020 Batch) 1


2022-23
Batch)
Chapter 2

System Analysis

2.1 Proposed System


A mini online cloths shopping system is a web-based application that allows customers to
browse and purchase clothing items over the internet. The system typically includes a catalog
of products, a shopping cart, and a checkout process. A database management system (DBMS)
is an integral component of such a system, as it is responsible for storing and managing the
data required for the system to function properly. The DBMS in a mini online cloths shopping
system is responsible for storing information about the products available for purchase,
including item name, description, price, and image. It also stores customer information, such
as name, address, and contact information, and order information, including the customer,
products purchased, and the total cost. The DBMS must support basic CRUD (create, read,
update, delete) operations on the data, as well as querying the data to generate reports and
analyze customer purchasing patterns. It must also provide data security to protect against
unauthorized access and ensure data integrity, high availability to ensure the system is always
up and running for customers, and good performance to handle many concurrent users and
transactions

2.2 Objective of Project


Provides the searching facilities based on various factors. Such as cloths Item, Customer,
Order, Confirm Order.

 Online cloths Ordering System also manage the Payment details online for Order
details, Confirm Order details, cloths Item.

 It tracks all the information of Category, Feedback, Order etc


 Shows the information and description of the cloths Item, Customer
 To increase efficiency of managing the cloths Item, Category
 It deals with monitoring the information and transactions of Order.
 Manage the information of cloths Item
 Editing, adding, and updating of Records is improved which results in proper resource
management of cloths Item data.

Dept., AI&ML(2020 Batch) 2022-23


2
Batch)
Chapter 3
System Requirements Specification

3.1 Specific Requirements


The specific requirements of the Online Clothes Shopping system as follows:

3.1.1 Hardware Requirement


The section of hardware configuration is an important task related to the software
development insufficient random-access memory may affect adversely on the speed and
efficiency of the entire system. The process should be powerful to handle the entire operations. The
hard disk should have sufficient capacity to store the file and application and these are the
hardware requirements needed:

Processor : Intel i3/i5/1.8GHz machine or above


Primary Memory : Minimum 2 GB RAM capacity
Hard disk : 1TB or greater
Cache Memory : L2-1 MB
CPU : Intel HD Graphics

3.1.2 Software Requirement


A major element in building a system is the section of compatible software since the
software in the market is experiencing in geometric progression. Selected software should be
acceptable by the firm and one user as well as it should be feasible for the system. The software
requirements are as follows:

Operating System : Windows 7 or higher


Front End : HTML5, CSS3, JavaScript
Back End : PHP, SQL
Frame work : Bootstrap
Software : Visual Studio Code, XAMPP

Dept., AI&ML(2020 Batch) 2022-23


3
Batch)
ONLINE CLOTHES SHOPPING SYSTEM

3.2 About Technologies used

• HTML is integrated in PHP. It provides a means to structure text-based information


in a document. It allows users to produce web pages that include text, graphics and
hyperlinks.
• CSS (Cascading Style Sheets) is a style sheet language used for describing the
presentation of a document written in a mark-up language. Although most often used
to set the visual style of web pages and user interfaces written in HTML and XHTML,
the language can be applied to any XML document.

• MYSQL is the language used to manipulate relational databases. It is tied closely with
the relational model. It is issued for the purpose of data definition and data
manipulation. Program runs as a server providing multi-user access to a number of
databases. MySQL is a multi threaded, multi-user SQL database management system
(DBMS). It includes facilities to add, modify or delete data from the database, ask
questions (or queries) about the data stored in the database and produce reports
summarizing selected contents.

• PHP is a scripting language originally designed for producing dynamic web pages. It
has evolved to include a command line interface capability and can be used in
standalone graphical applications. PHP is a general-purpose scripting language that is
especially suited for web development. PHP generally runs on a web server, taking
PHP code as its input and creating web pages as output. It can also be used for
command-line scripting and client-side GUI applications. PHP can be deployed on
most web servers, many operating systems and platforms, and can be used with many
relational database management systems. It is available free of charge, and the PHP
Group provides the complete source code for users to build, customize and extend for
their own use. PHP stores whole numbers in a platform-dependent range. This range is
typically that of 32-bit signed integers. PHP has hundreds of base functions and
thousands more from extensions. These functions are well documented on the PHP site.

Dept., AI&ML(2020 batch) 4 2022-23


Chapter 4 System Design

In the below section, a brief overview of how the project is designed is given, including
the Entity Relation diagram and Schema diagram which describes the various attributes
used in the design and their types.
4.1 Database Design

The data in the system must be stored and retrieved from database. Designing the
database is part of system design.

Data elements and data structures to be stored have been identified at analysis stage.
Theyare structured and put together to design the data storage and retrieval system.
A database is a collection of interrelated data stored with minimum redundancy to
serve many users quickly and efficiently. The general objective is to make database
access easy, quick, inexpensive, and flexible for the user. Relationships are
established between the data items and unnecessary data items are removed.
Normalization is done to get an internalconsistency of data and to have minimum
redundancy and maximum stability. This ensures minimizing data storage required,
minimizing chances of data inconsistencies, and optimizing for updates. The MS
Access database has been chosen for developing the relevant databases

Dept., AI&ML(2020 Batch) 5 2022-23


ONLINE CLOTHES SHOPPING SYSTEM

4.2 ER Diagram
An entity–relationship model is usually the result of systematic analysis to
define and describe what is important to processes in an area of a business. An E-R
model does not define the business processes; it only presents a business data schema in
graphical form. It is usually drawn in g r a p h ic a l form as boxes (entities) that are
connected by lines (relationships) which express the associations and dependencies
between entities.
An ER model can also be expressed in a verbal form, for example: one building
may be divided into zero or more apartments, but one apartment can only be located in
one building. Entities may be characterized not only by relationships, but also by
additional properties (attributes), which include identifiers called "primary keys".
Diagrams created to represent attributes as well as entities and relationships may be
called entity-attribute-relationship diagrams, rather than entity-relationship models.

Consequently, the ER model becomes an abstract data model defines data information
structure that can be implemented in database data or information structure that can be
implemented in a database, typically a relational database. The main components of ER
model are entity and relationship set. Here are the geometric shapes and their meaning
in an ER Diagram

Rectangle : Represents Entity sets.


Ellipses : Attributes.
Diamonds : Relationship set
Lines : They link attributes to Entity Sets and this to Relationship Set.

Fig no: 4.1 is the ER diagram of “Online Clothes Shopping System” with entities
Admin_Login, Stock, Purchase, User, Feedback

Dept., AI&ML(2020 Batch) 2022-23


6
ONLINE CLOTHES SHOPPING SYSTEM

4.2.1 ER Diagram

Fig.4.1: ER Diagram of Online Clothes Shopping System

Dept., AI&ML(2020 Batch) 2022-23


7
ONLINE CLOTHES SHOPPING SYSTEM

4.3 Schema Diagram

A database schema is the skeleton structure that represents the logical view of the entire
database. It defines how the data is organized and how the relations among them are associated.
It formulates all the constraints that are to be applied on the data. A database schema defines
its entities and the relationship among them. It contains a descriptive detail of the database,
which can be depicted by means of schema diagrams.

Entity
In a database management system (DBMS), an entity is a piece of data that is stored in the
database. An entity can be a person, place, thing, or even an event. There are two types of
entities in DBMS: strong and weak. For example: Admin_Login, Stock, Purchase, User

Attribute
An Attribute represents the properties of real-world objects that are relevant for the application
purposes. Attributes are associated with the concept of Entity, with the meaning that all the
instances of the entity are characterized by the same set of attributes. In other words, the entity
is a descriptor of the common properties of a set of objects, and such properties are expressed
as attributes.

Relationship
A Relationship represents semantic connections between entities, like the association between
an artist and his/her album, or between an artist and his/her reviews. The possible values are
one and many. Based on their maximum cardinality constraints, relationships are called
• "one-to-one", if both relationships roles have maximum cardinality 1,

• "one-to-many", if one relationship role has maximum cardinality 1 and the other
role has maximum cardinality N,
• "many-to-many", if both relationships roles have maximum cardinality N.

Dept., AI&ML(2020 Batch) 2022-23


8
ONLINE CLOTHES SHOPPING SYSTEM

4.3.1 Mapping of ER Diagram to Schema Diagram

Fig. 4.2 Schema diagram of Online Clothes Shopping System.

Dept., AI&ML(2020 Batch) 2022-23


9
ONLINE CLOTHES SHOPPING SYSTEM

4.4 Implementation
PHP: Hypertext Pre-processor (or simply PHP) is a server-side scripting language designed for
web development, and also used as a general-purpose programming language. PHP code may
be embedded into HTML code, or it can be used in combination with various web template
systems, web content management systems, and web frameworks. PHP code is usually
processed by a PHP interpreter implemented as a module in the web server or as a Common
Gateway Interface (CGI) executable. The web server combines the results of the interpreted
and executed PHP code, which may be any type of data, including images, with the generated
web page. PHP code may also be executed with a command-line interface (CLI) and can be
used to implement standalone graphical applications. This project uses HTML as front-end
tool. Hypertext Mark-up Language (HTML) is the standard mark-up language for creating web
pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a
triad of cornerstone technologies for the world wide web. Web browser receive HTML
documents from a web server or from local storage and render the documents into multimedia
web pages.HTML describes the structure of a web page semantically and originally included
cues for the appearance of the document.HTML elements are the building blocks of HTML
pages. With HTML constructs, images and other objects such as interactive forms may be
embedded into the rendered page.HTML provides a means to create structured documents by
structural semantics for text such as headings, paragraphs, lists, links, quotes and other
items.HTML elements are delineated by tags, written using angle brackets. Browsers do not
display the HTML tags, but use them to interrupt the content of the page.

4.4.1 Tables Description


The Database consists of five tables:

1. ADMIN: It stores the details of admin.


• ADMIN_ID: User name of the Admin.
• ADMIN_NAME: Name of the Admin.
• ADMIN_PASSWORD: Password of the Admin.

Dept., AI&ML(2020 Batch) 2022-23


10
ONLINE CLOTHES SHOPPING SYSTEM

2. FEEDBACK: It stores the feedback


• EMAIL: The Customer email id is stored
• MESSAGES: It gives the message from the customer

3. PURCHASE: It stores the details of the purchase made.


• USER_ID: User id of the customer.
• USERNAME: Username of the customer.
• TOTAL_ITEMS: Total number of items selected.
• TOTAL_AMOUNTS: Total amount of purchase.

4. STOCK: It give the details of the available stock.


• ITEM_ID: It gives the item id.
• CATEGORY: It gives the category of the cloth.
• ITEM: It gives the Item.
• PRODUCT_NAME: It gives the product name.
• DESCRIPTION: For a given item the description is stored.
• COST: The cost of item is stored.
• IMAGE: The image of respective product is stored.
• ADMIN_ID: The admin id

5. USER: It provides information for users.


• USER_ID: The user id for the user is stored.
• NAME: It gives the user’s name.
• MAIL ID: The registered maid id of the user.
• PASSWORD: The password of the user’s account.

Dept., AI&ML(2020 Batch) 2022-23


11
Chapter 5
Results with Screen-Shots

Fig. 5.1 Home Page


Fig 5.1 Indicates the home page of our website Fashion. This contains navigation bar,
throughwhich can navigate to other pages. It also contains some details about the website
at the homepage.

Fig. 5.2 Home page


Fig 5.2 This page consists of home page. It offers the category and products also the customer
cangive the feedback

Dept., AI&ML(2020 Batch) 13 2022-23


ONLINE CLOTHES SHOPPING SYSTEM

Fig 5.3 User Login page


Fig 5.3 Indicates user login page. It asks the user to enter the email and password in
order to enter the website Fashion.

Fig 5.4 View of MENS Catalog

Fig 5.4 Indicates the MENS category in which the interested product can be added in the cart

Dept., AI&ML(2020 Batch) 2022-23


14
ONLINE CLOTHES SHOPPING SYSTEM

Fig 5.5 Adding to the cart


Fig 5.5 Indicates the cart page for the customer they can review the cart they remove the
unwanted items

Fig 5.6 Processing Payment page

Fig 5.6 Indicates the payment page in cart, in which they can complete the payment

Dept., AI&ML(2020 Batch) 2022-23


15
ONLINE CLOTHES SHOPPING SYSTEM

Fig 5.7 Update page


Fig 5.7 Indicates payment successful page. After paying the payment by providing valid
information if the payment is successful, it shows pop up message that payment is successful

Fig 5.8 Updated Page


Fig 5.8 Indicates that First shirt’s price is updated then the resultant page is shown for the customer

Dept., AI&ML(2020 Batch) 2022-23


16
ONLINE CLOTHES SHOPPING SYSTEM

Fig 5.9 Admin Login page


Fig 5.9 Indicates admin login page. It asks the admin to enter details like admin_id and
password.

Fig 5.10 Admin Dashboard page


Fig 5.10 This is Admin Dashboard page in which the given functionalities can be used by
the admin for the clothes shopping system

Dept., AI&ML(2020 Batch) 2022-23


17
Conclusion
The Introduction, problem definition of the project has been completed successfully
for Online Shopping System by maintaining all the details in efficient manner. Technology
has made significant progress over the years to provide consumers a better online shopping
experience and will continue to do so for years to come. With the rapid growth of products
and brands, people have speculated that online shopping will overtake in-store shopping.
The availability of online shopping has produced a more educated consumer that can shop
around with relative ease without having to spend a large amount of time. In exchange,
online shopping has opened doors to many small retailers that would never be in business if
they had to incur the highcost of owning a brick-and-mortar store. At the end, it has been a win-
win situation for both consumer and sellers.

Future Enhancement

Some potential future enhancements for an online clothes shopping database


management system (DBMS) project could include: Implementing machine learning
algorithms to personalize the shopping experience for each customer by recommending
clothing items based on their browsing and purchase history. Integrating augmented reality
technology so customers can "try on" clothes virtually before making a purchase. Adding a
social media component to the DBMS, allowing customers to share their purchases and create
a sense of community among shoppers. Implementing a real-time inventory management
system to ensure that the DBMS always has accurate information about available clothing
items and sizes. Adding support for multiple languages, currencies, and payment gateways to
cater to international customers. Implementing a loyalty program and reward system that
tracks customer purchases and offers discounts or rewards for repeat customers. Adding a data
analytics component to the DBMS to track sales, customer demographics, and other key
performance indicators

Dept., AI&ML(2020 Batch) 2022-23


18
References

[1] https://www.bizjournals.com/buffalo/stories/1997/12/22/smallb2.html

[2] PHP Tutorial (w3schools.com)

[3] https://www.geeks forgeeks.org/establishing-jdbc-connection-in-java

[4] https://getbootstrap.com

You might also like