Report Dbm s

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 23

VISVESVARAYA TECHNOLOGICAL

UNIVERSITY, BELAGAVI

REPORT ON DBMS MINI PROJECT(21CSL55)

“COMPUTER SALES MANAGEMENT SYSTEM”


Submitted in partial fulfillment for the award of Degree of,
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE &ENGINEERING
By
SHREYASH CHAVAN 2BU21CS139
UTTAM SAMBREKAR 2BU21CS174

Under the Guidance of


Dr.S F Rodd / Mrs. Sushiladevi Vantamuri

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


Accredited by NBA
S.S EDUCATION TRUST
S. G. BALEKUNDRI INSTITUTE OF TECHNOLOGY
2023– 2024
S. G. BALEKUNDRI INSTITUTE OF TECHNOLOGY
Shivabasavanagar, Belagavi-10, Karnataka.

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


Accredited by NBA

CERTIFICATE
This is to certify that the DBMS mini project entitled “COMPUTER SALES MANAGEMENT
SYSTEM” has been successfully completed by

SHREYASH CHAVAN 2BU21CS139

UTTAM SAMBREKAR 2BU21CS174

the bonafide students of DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING,


S.G.BALEKUNDRI INSTITUTE OF TECHNOLOGY of the VISVESVARAYA
TECHNOLOGICAL UNIVERSITY,BELAGAVI during the year 2023–2024. It is certified
that all corrections/suggestions indicated for Internal Assessment have been incorporated in
the report deposited in the departmental library. The Project Work (21CSL55) has been
approved as it satisfies the academic requirements in respect of DBMS mini Project work
prescribed for the Bachelor of Engineering Degree.

Dr.S F Rodd /
Mrs.Sushiladevi Dr. B. S. Halakarnimath Dr.B. R. Patagundi
Vantamuri
Project Guide Head of the Department Principal
ACKNOWLEDGEMENT

The satisfaction and euphoria that accompany a successful completion of any task would be
incomplete without the mention of people who made it possible, success is the epitome of
hard work and perseverance, but steadfast of all is encouraging guidance.

So, with gratitude we acknowledge all those whose guidance and encouragement
served as beacon of light and crowned the effort with success.

We thank our project guide Dr.S F Rodd ,Professor in Department of Computer


Science & Engineering, who has been our source of inspiration. He has been especially
enthusiastic in giving his valuable guidance and critical reviews.

The selection of this project work as well as the timely completion is mainly due to
the interest and persuasion of my project coordinator Mrs. Sushiladevi Vantamuri,
Assistant Professor, Department of Computer Science & Engineering. We will remember her
contribution for ever.

We sincerely thank, Dr. B. S. Halakarnimath, Professor and Head, Department of


Computer Science & Engineering who has been the constant driving force behind the
completion of the project.

We thank Principal Dr. B. R. Patagundi, for his constant help and support

throughout. We are also indebted to Management of S. G. Balekundri Institute of

Technology,
Belagavi for providing an environment which helped us in completing the project.

Also, we thank all the teaching and non-teaching staff of Department of Computer
Science & Engineering for the help rendered.

Finally, we would like to thank my parents and friends whose encouragement and support
was invaluable.

SHREYASH CHAVAN 2BU21CS139

UTTAM SAMBREKAR 2BU21CS174


ABSTRACT
The Computer Sales Management System (CSMS) is a database-driven solution

tailored for computer sales organizations to effectively manage sales operations

and inventory. It offers features such as real-time sales recording, inventory

tracking, and customer relationship management. By harnessing the power of a

centralized database, CSMS improves sales efficiency, ensures accurate

inventory control, and enables personalized customer interactions. This system

serves as a vital tool for optimizing business processes and driving growth in

the competitive computer sales market.

Moreover, the Computer Sales Management System (CSMS) incorporates

robust reporting and analysis capabilities, empowering organizations to gain

valuable insights into sales performance, inventory trends, and customer

behavior. Through comprehensive reporting tools, CSMS facilitates data-driven

decision-making, enabling businesses to identify opportunities for revenue

growth, streamline operations, and enhance customer satisfaction. By providing

a holistic view of sales and inventory data, CSMS empowers organizations to

adapt swiftly to market changes, capitalize on emerging trends, and maintain a

competitive edge in the dynamic computer sales industry.


TABLE OF CONTENTS

CHAPTER NO. DESCRIPTION PAGE NO.

ACKNOWLEDGEMENT…………………………………………….............. i

ABSTRACT…………………………………………………………………… ii

LIST OF FIGURES…………………………………………………………..... iii

LIST OF TABLES…………………………………………………………..... iv

1. INTRODUCTION
1.1 PROBLEM STATEMENT
1.2 OBJECTIVES
1.3 SQL COMMANDS 2
2. METHODOLOGY
2.1 ABOUT BACKEND CONNECTION
2.2 Complete Visualization of Computer sales management system
2.3 Methodology Development Model
2.4 System Design Model
3. SYSTEM REQUIREMENTS AND SPECIFICATION
3.1 SOFTWARE REQUIREMENTS 6

3.2 HARDWARE DESCRIPTION 6

4. SYSTEM DESIGN

4.1 ER DIAGRAM
4.2 SCHEMA DIAGRAM
4.3 DATABASE DESIGN

4. IMPLEMENTATION
5. RESULTS (SNAPHOTS) 36-38
6. CONCLUSION

REFERENCES…… 41
LIST OF FIGURES

FIGURE NO. FIGURE NAME PAGE NO.

Figure 3.1.1 Complete Visualization of Restaurant Management System..................00


Figure 3.3.1 Methodology Development Model..........................................................00
Figure 3.4.1 System Model Design..............................................................................12
Figure 3.5.1 Admin Workflow Process.......................................................................13
Figure 3.6.1 Customer Workflow Process...................................................................14
Figure 3.7.1.1 Schema Diagram......................................................................................15
Figure 3.7.2.2 E-R Diagram............................................................................................16
LIST OF TABLES

TABLE NO. TABLE NAME PAGE NO.

Table 4.3.1.1 ADMIN............................................................00


Table 4.3.1.2 USERS..............................................................00
Table 4.3.1.3 USERS_ORDER..............................................00
Table 4.3.1.4 DISHES............................................................00
Table 4.3.1.5 RESTAURANT................................................00
Table 4.3.1.6 RES_CATEGORY............................................00
Table 4.3.1.7 REMARK.........................................................00
CHAPTER 1

INTRODUCTION

1.1 PROBLEM STATEMENT :

Computer sales organizations lack an efficient Computer Sales


Management System (CSMS), leading to manual errors, outdated inventory
tracking, and limited customer management capabilities. This results in
inaccurate sales records, suboptimal inventory levels, and generic customer
experiences. Without comprehensive reporting tools, businesses struggle to
make informed decisions for growth and competitiveness. There's a
pressing need for a sophisticated CSMS to streamline sales, enhance
inventory management, and improve customer relationships for sustained
success in the competitive market.

1.2 OBJECTIVES :

The objectives of the Computer Sales Management System (CSMS) are to


streamline sales processes, optimize inventory management, enhance
customer relationships, provide comprehensive reporting and analysis,
ensure compliance and data security, facilitate scalability and adaptability,
and increase productivity and cost-effectiveness.
1.3 SQL COMMANDS :

SQL Command Use Example

SELECT * FROM tblbooks;<br> SELECT


Retrieve data from one or BookName, BookPrice FROM tblbooks WHERE
SELECT more tables CatId = 5;

INSERT INTO tblstudents (StudentId, FullName,


EmailId) VALUES ('SID013', 'John Smith',
INSERT Insert new records into a table 'john@example.com');

Update existing records in a UPDATE tblbooks SET BookPrice = 25.00 WHERE


UPDATE table id = 1;

DELETE Delete records from a table DELETE FROM tblauthors WHERE id = 3;

SELECT b.BookName, s.FullName FROM


Combine rows from two or tblissuedbookdetails ibd JOIN tblbooks b ON
more tables based on a related ibd.BookId = b.id JOIN tblstudents s ON
JOIN column ibd.StudentID = s.StudentId;

Group rows that have the SELECT c.CategoryName, COUNT(*) AS


same values into summary TotalBooks FROM tblbooks b JOIN tblcategory c
GROUP BY rows ON b.CatId = c.id GROUP BY c.CategoryName;

Sort the result set in


ascending or descending SELECT * FROM tblbooks ORDER BY BookName
ORDER BY order ASC;

Filter records based on


WHERE specified conditions SELECT * FROM tblbooks WHERE CatId = 5;

Limit the number of records


LIMIT returned SELECT * FROM tblbooks LIMIT 5;
CHAPTER 2

METHODOLOGY

2.1 ABOUT BACKEND CONNECTION :

In a computer sales management system developed using PHP, the backend


connection plays a crucial role in facilitating communication between
various components of the system.

Database Interaction:

PHP interacts with the database management system (e.g., MySQL) to store
and retrieve essential data such as customer information, employee details,
product details, supplier details, and transactions.
The backend establishes connections to the database using PHP's database
functions or libraries like PDO (PHP Data Objects).
PHP needs to establish a connection with the database management system
(e.g., MySQL) to interact with it. This involves providing the database
hostname, username, password, and database name. Here's how you can do
it using MySQLi:
<?php
// Database configuration
$dbHost = 'localhost';
$dbUsername = 'username';
$dbPassword = 'password';
$dbName = 'database_name';

// Create database connection


$conn = new mysqli($dbHost, $dbUsername, $dbPassword, $dbName);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?
CHAPTER 3

SYSTEM REQUIREMENTS & SPECIFICATIONS

3.1 SYSTEM REQUIREMENTS :


Software used :
Operating system : Windows 98 XP , 7.8 or 10 or
Linux Languages(Frontend) : HTML ,CSS , JS , PHP
(Backend) : SQL
IDE : Xampp and MySQL

SOFTWARE DESCRIPTION :
3.1.1 PHP
Hypertext Preprocessor (or simply PHP) is a server-side scripting language
used for general programming purposes as well as Web development. The PHP
Group now produces the PHP reference implementation, which was first
developed by Rasmus Lerdorf in 1994. Personal Home Page was the first
meaning of PHP, however it has since evolved into PHP: Hypertext
Preprocessor. PHP code can be used alone, in conjunction with different web
template systems, web content management systems, and web frameworks, or it
can be incorporated into HTML code. A PHP interpreter, which can be either a
web server module or a Common Gateway Interface (CGI) executable, is
typically used to process PHP code. The output of the interpreted and executed
PHP code, which could be any kind of data, including graphics, is combined
with the created web page by the web server. PHP code can be used to create
standalone graphical apps and can also be run using a command-line interface
(CLI).
3.1.2 XAMPP
XAMPP is a stack of free and open source PHP and Perl interpreters, the
MariaDB database, and the Apache HTTP Server are the primary components
of Apache Friends' free and open source cross-platform web server solution
stack. Cross-Platform (X), Apache (A), MariaDB (M), PHP (P), and Perl make
up the acronym XAMPP (P). It is a straightforward, lightweight installation of
Apache that makes setting up a local web server for testing and deployment very
simple for developers. An extractable file contains the server program (Apache),
database (MariaDB), and scripting language (PHP) required to set up a web
server. Cross-platform means that XAMPP functions equally well on Linux,
Mac, and Windows. Since XAMPP uses the same components as the majority
of real web server deployments, switching from a local test server to a live
server is also incredibly simple.

3.2 HARDWARE REQUIREMENTS :


Server Hardware (for Deployment):
Processor: Dual-core or higher for handling server operations efficiently.

RAM: At least 4GB, though 8GB or more would be beneficial for smoother
performance.

Storage: 512 SSD storage for faster read/write operations.

Network: Stable internet connection for serving requests to client devices.


CHAPTER 4

SYSTEM DESIGN
4.1 E-R DIAGRAM :

Relationships and Cardinality ratios:

Entity 1 Relationship Entity 2 Cardinality Ratio


Customer Involved in Transactions 1: 1
Customer Purchases Product 1: M
Employee Serves Customers 1:M
Supplier Delivers Products 1:M
4.2 SCHEMA DIAGRAM :
CHAPTER 5

IMPLEMENTATION

5.1 TECHNOLOGIES USED:


Development Environment
 The Library Management System was developed using a combination of software
tools and technologies.
 The primary development environment consisted of:
 Visual Studio Code (VSCode) as the Integrated Development Environment
(IDE).
 XAMPP for providing a local server environment including Apache, MySQL,
and PHP.
 MySQL Workbench for database design and management.
Database Design
 The database schema was designed to capture all relevant information for managing
the library system effectively.
 Detailed discussions on the tables, columns, relationships, and constraints were
carried out to ensure data integrity and efficiency.
 Normalization techniques were applied to reduce redundancy and improve data
organization.
Backend Development
 Backend logic was implemented using PHP scripting language to handle database
interactions and business logic.
 PHP scripts were responsible for querying the database, processing user requests, and
generating dynamic content for the frontend.
 Object-oriented programming (OOP) principles were employed to modularize code
and improve maintainability.
Frontend Development
 The user interface was developed using HTML, CSS, and JavaScript.
 Responsive design principles were applied to ensure compatibility across different
devices and screen sizes.
 Bootstrap framework was utilized to streamline the frontend development process and
enhance UI consistency.
5.2 DATABASE CREATION:
CHAPTER 6

RESULTS

6.1 Snapshots of the project :

Figure 6.1.1: HOME PAGE OF ZWIGATO


Figure 6.1.2: ADMIN PANEL

Figure 6.1.3: LOGIN PAGE

Figure 6.1.4: USER / CUSTOMER REGISTRATION PAGE


Figure 6.1.5: PLACING THE ORDER

Figure 6.1.6: ORDERING PANEL

Figure 6.1.7: LIST OF ORDERS / STATUS OF ORDER DELIVERY


CHAPTER 7

CONCLUSION AND FUTURE WORKS

In the "Online Food Delivery / Ordering Project," we made every effort to meet
all the demands of the restaurant. Because it is straightforward and adaptable,
the project is successful. The biggest benefit of our project is that it draws
plenty of users because of its simplicity. A novice user may operate it with ease.
Any type of restaurant can utilize our software. By automating meal ordering,
billing and the restaurant management system assists the restaurant manager in
managing the restaurant more successfully and efficiently. The system handles
the transaction and stores the data produced. These data will be used to create
reports that assist the restaurant manager in making wise business decisions. For
example, the manager can decide whether more waiters, delivery men, delivery
carts, and cooks are needed based on how many clients will be present during a
specific time period. When this project is finished, all security concerns will be
resolved. Additionally, a quick and secure authentication process will be used
for record maintenance. Because it automatically pulls information about a
consumer from the database on subsequent visits, data entry is quick and easy.

In conclusion, Online Food Ordering Project offers significant benefits to the


restaurant industry. By streamlining operations, enhancing customer experience,
and facilitating data-driven decision-making, these technologies improve
efficiency and profitability. With careful attention to security, adaptability, and
ongoing development, such systems can revolutionize the way restaurants operate
in a competitive market. Embracing these technological advancements can lead
to sustained success and growth in the dynamic restaurant industry.
REFERENCES

[1] Varsha Chavan, Priya Jadhav,Snehal Korade,Priyanka Teli, ”Implementing


Customizable Online Food Ordering System Using Web Based Application”, International
Journal of Innovative Science, Engineering Technology(IJISET) 2015.

[2] Abhishek Singh, Adithya R, Vaishnav Kanade, Prof. Salma Pathan“ ONLINE
FOOD ORDERING SYSTEM” International Research Journal of Engineering and
Technology (IRJET) 2018.

[3] https://www.mysql.com

[4] https://www.mysqltutorial.org

[5] www.w3schools.com

[6] www.tutorialspoint.com

[7] http://www.javatpoint/mysql.org

You might also like