Docu Report

Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELGAVI, KARNATAKA -590 018

A Minor Project Report on

“Canteen management system”


Submitted in partial fulfillment for the DBMS Laboratory with
Mini-Project [18CSL58] course of fifth Semester of Bachelor of
Engineering in Computer Science & Engineering during the academic year
2022-23.

By
Chaitra.B 4MN20CS021
Kannika.N 4MN20CS021

|| Under the Guidance of ||


Prof. Hemanth C
Assistant Professor
Dept. of CS&E
MIT Thandavapura

2022-23

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


MAHARAJA INSTITUTE OF TECHNOLOGY THANDAVAPURA
NH 766, Nanjangud Taluk, Mysuru – 571302
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
MAHARAJA INSTITUTE OF TECHNOLOGY THANDAVAPURA

CERTIFICATE
Certified that the minor project work entitled “CANTEEN
MANAGEMENT SYSTEM” is a bonafide work carried out by [Student-1 name
in bold] (USN in bracket) & [Student-2 name in bold] (USN in bracket) for the
course DBMS Laboratory with Mini-Project with course code 18CSL58 of Sixth
Semester in Computer Science & Engineering under Visvesvaraya Technological
University, Belagavi during academic year 2022-23.
It is certified that all corrections/suggestions indicated for Internal
Assignment have been incorporated in the report. The report has been approved
as it satisfies the course requirements.

_________________ _________________
Signature of Lab Staff In-Charge Signature of the HoD
Prof. Hemanth C Dr. Ranjit K N
Assistant Professor Associate Professor & Head
Dept. of CS&E Dept. of CS&E
MIT Thandavapura MIT Thandavapura

External viva
Name of the Examiners Signature with date

1)…………………………………………………………………………………….

2)…………………………………………………………………………………….
ACKNOWLEDGEMENT

It is the time to acknowledge all those who have extended their guidance, inspiration
and their whole hearted co-operation all along our project work.
We are grateful to Dr. Y T Krishne Gowda, Principal, MIT Thandavapura,
Dr. H K Chethan, Professor and Mentor, CS&E, MIT Thandavapura and also
Dr. Ranjit K N, Associate Professor and Head, CS&E, MIT Thandavapura for having
provided us academic environment which nurtured our practical skills contributing to the
success of our project.
We would like to sincerely thank our project guide Prof. Hemanth C, Assistant
Professor, Dept. of CS&E, MIT Thandavapura for providing relevant information, valuable
guidance and encouragement to complete this project.
We wish to place a deep sense of gratitude to all Teaching and Non-Teaching staffs
of Computer Science and Engineering Department for whole-hearted guidance and
constant support without which this endeavor would not have been possible.
Our gratitude will not be complete without thanking our parents and also our
friends, who have been a constant source of support and aspirations.

Chaitra.B Signature
Kannika.N Signature
ABSTRACT
In this project, the main purpose of Canteen management system is to automate
the existing manual system by the help of computerized equipment and full-fledged
computer software, fulfilling their requirements, so the their valuable data can be
stored for a longer period worth easy accessing and manipulation of the same. The
required software and hardware are easily available and easy to work with Canteen
management system, as described above, can lead to error free, secure, reliable and
fast management system. It can assist the user to concentrate on their other activities
rather to concentrate on record keeping. Thus it will help organization in better utilization
of resources. The organization can maintain computerized records without redundant
entries. That means that one need not to be distracted by information that is not relevant,
while being able to reach the information. The aim is to automate its existing manual system
by the help of computerized equipment and full- fledged computer software, fulfilling their
requirements , so that their valuable data/information can be stored for longer period with
easy accessing and manipulation of the same. Basically, the project describes how to
manage for good performance and better services for the clients.
CONTENTS

SL. No. Index Page No.


1 INTRODUCTION
1.1 Project Description
1.2 Objectives of the project
2 REQUIREMENTS AND ANALYSIS
2.1 Existing System
2.2 Proposed System
2.3 Hardware Requirements
2.4 Software Requirements
2.5 Analysis
2.5.1 Use Case Diagram
2.5.2 Dataflow Diagram
3 SYSTEM DESIGN
3.1 E-R Diagram
3.2 MySQL Server
3.3 Normalization
4 IMPLEMENTATION AND RESULTS
4.1 Algorithm
4.2 Snapshots
5 CONCLUSION AND FUTURE WORK
5.1 Conclusion
5.2 Future Enhancement
REFERENCES
APPENDIX A – Source Code
LIST OF FIGURES

Fig.
Index Page No.
No.
1 Fig.2.1 Use case diagram for User 4

Fig.2.2 Use case diagram for Admin 5


Fig.2.3 Data Flow Diagram for Canteen Management 5
System
2 3.1 Entity Relation Diagram 6
7
3 Fig.4.1 Login page 13

Fig.4.2 Dashboard 13

Fig.4.2 Add customer 14

Fig.4.4 Manage customer 14

Fig.4.5 Add food 15

Fig.4.6 Manage food 15

Fig.4.7 Add Invoice 16

Fig.4.8 Manage Invoice 16


Fig.4.9 Reports 17
CHAPTER – 1
INTRODUCTION
1.1 Project Description
Canteen Management Software is an automated software which enables all
the activities of the canteen and maintain a detailed account of food served at the
canteen. It allows secure and speedy transactions. It helps management to handle the
users by reducing the waiting time for the customers. Our software helps you to
make the task much easy. It manages each and every aspect of the canteen right
from the brunch to dinner.
Canteen Management System helps to work seamlessly the dining facility without
any hassle. This software helps to automate the canteen facility and makes it
transparent. Additionally Biometric device is linked with this software to generate
the reports of the employees in the Canteen. Canteen management system is to
provide fast services to their college students, Staffs etc. Usually, People have to go
to canteen and order the foods and they have to wait in queue for a long time to
get the orders, But with the help of this you just have to follow a very simple
process to order your stuffs. And you need not to wait in the long queue.

A canteen facility is a supplementary system that is provided by organizations for


their employees/students. Organizations with large numbers of employees cannot
handle a canteen with manual processes. Our canteen management system provides a
friendly User Interface for numerous food outlets, menu design, billing features and
lots more. Implementation of such a system the operation of the kitchen and the
whole of the canteen as effective and quick as possible.
1.2 Objective of the Project

The main objective of the project on canteen management system is to


Manage the details of Canteen, Students, Item, Stock. The purpose of the project is
to build an application program to reduce the manual work for managing the
Canteen, Students, Customer, Item. It tracks all the details about the Item, Stock,
Sales.
Functionalities provided by Canteen Management System are as follows:
Provides the searching facilities based on various factors. Such as Canteen, Item,
Stock, Sales. Manage the information of Canteen, Stocks & also Students.
Editing, adding and updating of Records is improved which results in proper
resource management of Canteen data.
Integration of all records of Sales.
CHAPTER – 2
REQUIREMENTS AND ANALYSIS
2.1 Existing System

 Organization with large number of employees cannot handle a canteen with manual
processes. The existing system is a cash and paper-based system.

 The payment and process take a lot of time as the customer has to pay the exact
amount and wait for the change.

2.2 Proposed System

 This system is generally advantageous for avoiding spending time waiting in


the queue by posting orders directly to the kitchen without delay and also by
scheduling orders ahead of time.

 It is achieved by having a card payment that reduces time spent on the bill
counter for payment and tendering adjustments.

 It saves time and also the technique dealing with easy.

2.3 Hardware Requirements

 Hardware Requirement
* Processor - 32+bit Processor
* RAM – 256MB+
* Hard Disk – 2 GB
2.4 Software Requirements
 Software Requirement
• Operating System – Windows 10
• Database – Microsoft Access
• Technology – Visual Basic 6.0
• Frontend – MYSQL
• Backend – PHP MySQL database server

2.5 Analysis

2.5.1 Use case diagram

Fig 2.1 Use case diagram for Admin


Fig 2.2 Use case diagram for User
2.5.2 Data flow Diagram

Fig 2.3 Data flow diagram for Canteen Management


System
CHAPTER - 3

SYSTEM DESIGN

3.1 Entity Relation Diagram


3.2.1 MYSQL Server

SQL (Structured Query Language) is a domain-specific language used in programming and


designed for managing data held in a relational database management system (RDBMS),
or for stream processing in a relational data stream management system (RDSMS). In
comparison to older read/write APIs like ISAM or VSAM, SQL offers two main
advantages: first, it introduced the concept of accessing many records with one single
command; and second, it eliminates the need to specify how to reach a record, e.g. with or
without an index.
Originally based upon relational algebra and tuple relational calculus, SQL consists of a
data definition language, data manipulation language, and data control language. The scope
of SQL includes data insert, query, update and delete, schema creation and modification,
and data access control. Although SQL is often described as, and to a great extent is, a
declarative language (4GL), it also includes procedural elements. SQL was initially
developed at IBM by Donald D. Chamberlin and Raymond F. Boyce in the early 1970s.
This version, initially called SEQUEL (Structured English Query Language), was designed
to manipulate and retrieve data stored in IBM's original quasirelational database
management system, System R, which a group at IBM San Jose Research Laboratory had
developed during the 1970s.

The SQL language is subdivided into several language elements, including:

• Clauses, which are constituent components of statements and queries. (In some cases,
these are optional.)
• Expressions, which can produce either scalar values, or tables consisting of columns and
rows of data
• Predicates, which specify conditions that can be evaluated to SQL three-valued logic
(3VL)(true/false/unknown) or Boolean truth values and are used to limit the effects of
statements and queries, or to change program flow.
• Queries, which retrieve the data based on specific criteria. This is an important element
of SQL.
• Statements, which ma diagnostics. y have a persistent effect on schemata and data, or
may control transactions, program flow, connections, sessions, or

3.2.2 Normalization
Normalization is the process of efficiently organizing data in a database. There are
two goals of the normalization process: eliminating redundant data (for example, storing
the same data in more than one table) and ensuring data dependencies make sense (only
storing related data in a table). Both of these are worthy goals as they reduce the amount of
space a database consumes and ensure that data is logically stored. There are several
benefits for using Normalization in Database.

Benefits:

• Eliminate data redundancy


• Improve performance
• Query optimization
• Faster update due to less number of columns in one table Index improvement

There are different types of normalizations form available in the database.

1.First Normal Form (1NF):


First normal form (1NF) sets the very basic rules for an organized database:
• Eliminate duplicative columns from the same table.
• Create separate tables for each group of related data and identify each row with
unique column or set of columns (the primary key).
• Remove repetitive groups
• Create Primary Key
Before we proceed let's understand a few things -- A KEY is a value used to identify a
record in a table uniquely. A KEY could be a single column or combination of multiple
columns Note: Columns in a table that are NOT used to identify a record uniquely are called
non-key columns.
Primary Key
2.Second Normal Form(2NF):
Second normal form(2NF) further address the concept of removing duplicative data:
• Meet all the requirements of the first Normal form.
• Remove the subset of data that apply to multiple rows of a table and place them in
separate tables.

3.Third Normal Form (3NF):


Third normal form (3NF) goes one large step further:
• Meet all the requirements of the second normal form.
• Remove columns that is not dependent upon the primary key.

4. Fourth Normal Form (4NF):


Finally, fourth normal form (4NF) has one additional requirement:
• Meet all the requirements of the third normal form.
• A relation is in 4NF if it has no multi-valued dependencies.

If PK is composed of multiple columns then all non-key attributes should be derived from
FULL PK only. If some non-key attribute can be derived from partial PK then remove it.
The 4NF also known as BCNF NF.
CHAPTER – 4
IMPLEMENTATION AND RESULTS

4.1 ALGORITHMS

Index:

1. Display options of register and admin login.


2. Link corresponding pages to them.

Register:

1. Connect to database.
2. Read customers’ name, email, phone number, password, address.
3. Check if any of the field is null.
4. If any of the field is null then,
5. Display warning message.
6. Else insert the values into the corresponding table and show successfully registered.

Canteen login:

1. Connect to database.
2. Read admin name and password using post method.
3. If the entered values are correct then,
4. Redirect to admin operation.
5. Else show error message.

Admin operations:

1. Show admin operations such as,


2.View Canteen list, password, name, address, id .

View Canteen list:


1. Connect to database.
2. Retrieve the Customers name, email, phone number, password, address from the
corresponding table.
3. Display the details in the form of table.

View Category list:

1. Connect to database.
2. Retrieve the Category types, name, status.
3. Display the details in the table.

View Order list:

1. Connect to database.
2. Retrieve the order types, name, rate, order_id, quality.
3. Display the details in the table.

View Invoice list:

1. Connect to database.
2. Retrieve the ph_no, address, order_item.
3. Display the details in table.

View User list:

1. Connect to database.
2. Retrieve the User id, User name from the corresponding table.
3. Display the details in the form of table.
4.2 RESULTS

4.2.1 Snapshots

Fig.4.1 Login page

Fig.4.2 Dashboard
Fig.4.3 Add Customer

Fig.4.4 Manage Customer


Fig.4.5 Add Food

Fig.4.6 Manage Food


Fig.4.7 Add Invoice

Fig.4.8 Manage Invoice


Fig.4.9 Reports
CHAPTER – 5

CONCLUSION AND FUTURE WORK

5.1 Conclusion

 The development of Canteen Management System involved many phases.


The approach used is a top-down one concentrating on what first then how
and moving to successive levels of details.

 The first phase started with a detailed study of the problems and prospects
of ordering in Foods.

 This Software is efficient in maintaining customer’s details and can easily


perform operations on platform.

5.2 Future Work

 In the future we will create a more reliable long databases


for fetching records. We will also try to provide more best
services and also online payment methods.

 In the future we will try to updated student profile and also


admin profile. Some more interesting features will be added
so that students will find it as more useful.
REFERENCES

1. Fundamentals of Database Management System by Pearson author


Navathe 7th

2. PHP Pandas by Daylee ress.

3. Learn to code HTML and CSS by Shay Howe.

4. Software Engineering by Roger S. Pressm


EFERENCES
[1] REFERENCE1
[2] REFERENCE2
APPENDIX A: SOURCE CODE

APPENDIX – A
SOURCE CODE

A-1

You might also like