Wa0139
Wa0139
Wa0139
BY
ARUNJYOTHI SHA
REG NO:200021090341
Certificate
Certified that the report entitled “CANTEEN CREDIT SYSTEM” is the bonafide record of the
mini project work done by Mr.Arunjyothi Sha(200021090341) under our guidance and supervision and is
submitted in partial fulfillment of the Bachelor degree in Computer Applications, awarded by Mahatma
Gandhi University, Kerala.
External Examiner
DECLARATION
I hereby declare that the mini project work entitled “CANTEEN CREDIT
SYSTEM ” submitted in partial fulfillment of the requirements for the award of the
Bachelor of degree in Computer Applications from BVM Holy Cross College,
Cherpunkal, is record of bonafide work done under the guidance of Mr.Bilas Joseph
ABSTRACT
The ultimate aim of the canteen credit system is to automate the existing traditional system which
is manual and to help students to buy food even if they don't have suffcient money with them. With
the support of the canteen credit system user data and their transactions can be retained for a
prolonged period of time with quick access and management. The software and hardware are
readily accessible and easy to use. The project's main objective of the Canteen Credit System is to
help students to buy food without cash, manage canteen, product, and sales information. It
manages all the details of canteen, product, orders and users. The project is completely built at the
Contents
List of Abbreviations i
1 INTRODUCTION------------------------------------------8
1.1PROBLEMDEFINITION
1.2OBJECTIVE
1.3SCOPE
2 LITERATURE SURVEY----------------------------------10
3 METHODOLOGY----------------------------------------11
3.1DATABASECREATION
3.2USERCREATION
3.3RECEIVEDATAFROMUSERS
3.4DEPENDENCIES
3.5WORKFLOW
3.6ADVANTAGES
3.7HTML
3.8CSS
3.9BOOTSTRAP
3.10
JAVASCRIPT
3.11 MYSQL
3.12
WORKING
5 CONCLUSIONS-------------------------------23
References ii
List of Abbreviations
DB Database
Chapter 1
INTRODUCTION
Students may not always have cash with them, which makes it diffcult to have food from the
canteen. The proposed system provides an effective solution to this problem. It allows students to
purchase from the canteen without paying and allows them to settle the bill at the end of the
month. The system keeps track of the orders which reminds the students as well as the owner of
the canteen what was purchased during the month. Students can also place orders online which
reduces the amount of time spent in the queue.
During some intervals, there will be huge crowds in the canteen for taking orders. Some students
may not be able to buy items due to shortage in money. By implementing this system,students
can buy items from canteen and can pay later.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.
1.2 OBJECTIVE
The proposed software is effective in cutting the amount of time spent in the queue to send
orders straight into the kitchen, placing orders before.Students also are able to buy items from
the canteen even if they have not money at that time.
CANTEEN CREDIT SYSTEM
This time can be used for any other purpose that must be relevant.Web application is created for
placing orders in advance. The orders placed in advancement shall have an ORDER ID it shall
be used to deliver the order to that of the serving counter without delay.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 etc.
1.3 SCOPE
The system proposed focuses at helping students and canteen system automation i.e. to digitize
all the processes and management of canteen.
● Effcient use of resources through rising productivity by automation.
● The application provides a report that could be used for different purposes, such as
accounting management and reference for future.
● It satisfes the requirements of users.
● Understanding the working of the system is not complicated in case of both the
users and the admin.
● Easy to operate.
● Have a good UI.
● Scalable.
CANTEEN CREDIT SYSTEM
Chapter 2
LITERATURE SURVEY
With the implementation of the Canteen Credit System, students can buy items from the
canteen and can pay later. This system is generally advantageous for students who don't have
cash at all times . It is also useful for avoiding spending time waiting in the queue. Students
can place orders through the application. The orders placed will have an ORDER ID which
shall be used to get the order delivered at once to the serving counter. The operations like
recharge, payment, and refund are to be performed the database values are decrypted and
then the operations are performed on the decrypted values. After the operation is done the
values are again encrypted and stored in the database.
In the paper ,Cloud Based Canteen Management System published by Blue Eyes
Intelligence Engineering & Sciences Publication, suggests a platform for automating the
whole process more conveniently for both the canteen and the buyers on the cloud. There are
no hardware components and installations are required with the help of Cloud Computing
technology. In the paper, In-time billing technique for canteen management devices indicates
canteen admin will give a RFID to their customers which can be either students or staff and
in case of an organization, it can be employees. The advent of these systems brought
tremendous changes in managing the canteen system.
From the literature survey done, we conclude that the scope of the canteen credit system is
tremendous. The model we developed is very useful for managing canteen.
CANTEEN CREDIT SYSTEM
Chapter 3
METHODOLOGY
BACK END
Our proposed canteen credit system website comprises several phases. The phases are
summarized in the following three steps:
We have created a database named ‘canteen’ that has 5 tables in it. The fve tables are menu,
orders, status, transaction and users. The menu table stores the data related to menu of food
items. The orders table stores data related to orders received. Status table holds the data
related to the status of the orders. Transaction table holds information related to
transactions. Users table stores data of the users who have accounts.
Users can have admin or user. User can place new orders and manage them. Admins have
rights to change some site settings and to create new users. Admins also has all the
functionalities available to users. At frst there is only one admin account. This account can
be used for the creation of other users. If a person wants to create an account he must
approach the admin and submit the required documents. Once the documents are validated
the admin grants the user an user account. He can use this account to order food items of his
CANTEEN CREDIT SYSTEM
choice.
Each person that visits our website can view all the menu listed on the website. If interested
the person can order the needed food item. Every order request is sent to the admin. He can
accept or reject the request. Once accepted the data is entered into the database. Every
orders are added to the transaction table and user account.
3.4 DEPENDENCIES
● PHP
● MySQL
● Bootstrap
3.4.1 PHP
Hypertext Preprocessor (or simply PHP) is a server-side scripting language designed for
Web development, and also used as a general-purpose programming language. It was
originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now
produced by The PHP Group. PHP originally stood for Personal Home Page, but it now
stands for the recursive initialism PHP: Hypertext Preprocessor. 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. The standard PHP
interpreter, powered by the Zend Engine, is free software released under the PHP License.
PHP has been widely ported and can be deployed on most web servers on almost every
operating system and platform, free of charge.
CANTEEN CREDIT SYSTEM
It is most popular and frequently used worldwide scripting language, the main reason of
popularity is; It is open source and very simple
1. Simple
very simple and easy, this is widely used all over the world.
2. Interpreted
3. Faster
4. Open Source
Open source means you don’t need to pay for php, you can download and
use it for free.
5. Platform Independent
PHP code will be run on every platform, Linux, UNIX, Mac OS X, and
Windows.
6. Case Sensitive
PHP provides access logging by creating the summary of recent accesses for
the user.
9. Loosely Typed Language
CANTEEN CREDIT SYSTEM
PHP supports variable usage without declaring its data type. It will be taken
at the time of the execution based on the type of data it has on its value
3.5 WORKFLOW
3. The admin page of Canteen Credit System allows various users to order their food.
3.6 ADVANTAGES
- Cashless purchase
- Accurate
- Easy to manage
- Stable platform
FRONT END
3.7 HTML
The Hypertext Markup Language, or HTML is the standard markup language for
documents designed to be displayed in a web browser. It can be assisted by technologies
such as Cas-cascading Style Sheets (CSS) and scripting languages such as JavaScript. Web
browsers receive HTML documents from a web server
CANTEEN CREDIT SYSTEM
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 inter- active forms may be embedded
into the rendered page. HTML provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists, links, quotes and other
items. HTML elements are delineated by tags, written using angle brackets. Tags such as
and directly introduce content into the page. Other tags such as surround and provide
information about document text and may include other tags as sub-elements. Browsers do
not display the HTML tags, but use them to interpret the content of the page. HTML can
embed programs written in a scripting language such as JavaScript, which affects the
behavior and content of web pages. Inclusion of CSS defnes the look and layout of content.
The World Wide Web Consortium (W3C), former maintainer of the HTML and current
maintainer of the CSS standards, has encouraged the use of CSS over explicit presentational
HTML since 1997.
3.8 CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation
of a document written in a markup language such as HTML. CSS is a cornerstone
technology of the World Wide Web, alongside HTML and JavaScript. CSS is designed to
enable the separation of presentation and content, including layout, colors, and fonts. This
separation can improve content accessibility, provide more fexibility and control in the
specifcation of presentation characteristics, enable multiple web pages to share formatting
by specifying the relevant CSS in a separate .css fle which reduces complexity and
repetition in the structural content as well as enabling the .css fle to be cached to improve
the page load speed between the pages that share the fle and its formatting. Separation of
formatting and content also makes it possible to present the same markup page in different
styles for different rendering methods, such as on-screen, in print, by voice (via speech
based browser or screen reader), and on Braille-based tactile devices. CSS also has rules for
alternate formatting if the content is accessed on a mobile device. The name
CANTEEN CREDIT SYSTEM
cascading comes from the specifed priority scheme to determine which style rule applies if
more than one rule matches a particular element. This cascading priority scheme is
predictable. The CSS specifcations are maintained by the World Wide Web Consortium
(W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC
2318 (March 1998). The W3C operates a free CSS validation service for CSS documents. In
addition to HTML, other markup languages support the use of CSS including XHTML,
plain XML, SVG, and XUL.
3.9 BOOTSTRAP
Bootstrap is a free and open-source CSS framework directed at responsive, mobile-frst front
end web development. It contains CSS and (optionally) JavaScript based design templates
for typography, forms, buttons, navigation, and other interface components.
3.10 JAVASCRIPT
JavaScript, often abbreviated as JS, is a programming language that conforms to the ECMA
Script specifcation. JavaScript is high-level, often just-in-time compiled, and multi-
paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation,
and frst class functions. Alongside HTML and CSS, JavaScript is one of the core
technologies of the World Wide Web. Over 97% of websites use it client side for web page
behavior, often incorporating third-party libraries. All major web browsers have a dedicated
JavaScript engine to execute the code on the user’s device. As a multi-paradigm language,
JavaScript supports event-driven, functional, and imperative programming styles. It has
application programming interfaces (APIs) for working with text, dates, regular
expressions, standard data structures, and the Document Object Model (DOM). The
ECMAScript standard does not include any input/output (I/O), such as networking, storage,
or graphics facilities. In practice, the web browser or other runtime system provides
JavaScript APIs for I/O. JavaScript engines were originally used only in web browsers, but
they are now core components of other software systems, most notably servers and a variety
of applications. Although there are similarities between JavaScript and Java, including
language name, syntax, and
CANTEEN CREDIT SYSTEM
respective standard libraries, the two languages are distinct and differ greatly in design.
3.11 MySQL
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses.
MySQL is developed, marketed and supported by MySQL AB, which is a Swedish
company. MySQL is becoming so popular because of many good reasons MySQL is
released under an open-source license. So you have nothing to pay to use it. MySQL is a
very powerful program in its own right. It handles a large subset of the functionality of the
most expensive and powerful database packages. MySQL uses a standard form of the well-
known SQL data language. MySQL works on many operating systems and with many
languages including PHP, PERL, C, C++, JAVA, etc. MySQL works very quickly and
works well even with large data sets. MySQL is very friendly to PHP, the most appreciated
language for web development. MySQL supports large databases, up to 50 million rows or
more in a table. The default fle size limit for a table is 4GB, but you can increase this (if
your operating system can handle it) to a theoretical limit of 8 million terabytes (TB).
3.12 WORKING
Flow Diagram.
– Clients are the typical web user’s internet-connected devices (for example, your computer
connected to your Wi-Fi) and web-accessing software available on those devices (usually a
web browser like Firefox or Chrome).
– Servers are computers that store web pages, sites, or apps. When a client
CANTEEN CREDIT SYSTEM
device wants to access a webpage, a copy of the webpage is downloaded from the server
onto the client machine to be displayed in the user’s web browser.
Chapter 4
RESULT
The users are added by the admin from the add user page and same for the menu from the
add menu page. But the current version has got the limitation of not automating the full
process due to the constraints associated with payment gateways.
The users can order items from the purchase page and view order history from the
orders page. The current stock of items and account balance are automatically updated after
placing the order.The purchase history of all the users can be viewed by the admin from
orders page.
Chapter 5
CONCLUSION
The ultimate aim is to develop a canteen credit system that allows students to buy from
canteen at any time and pay later and also to automate the existing traditional system which
is manual, with the support of computerized equipment and full-featured computer
applications. The administrator is now able to manage and hence run the entire work in a
much better, accurate and error free manner. This paper discusses the canteen issue and
fnally proposes an effective working solution for the same. The development of the Canteen
Credit System involved many phases. The approach used is a top-down one concentrating on
what frst then how and moving to successive levels of details. The frst phase started with a
detailed study of the problems and prospects of ordering in foods. This Software is effcient
in maintaining customer’s details and can easily perform operations on the platform.
CANTEEN CREDIT SYSTEM
References
[2] Akshatha Y, 2Rajath Bagre,3 Mohammed Mehar Ali Sabri, 4 Nihal S Karkera, 5 Hima
Nanaiah 1 Assistant Professor,2,3,4,5B.Tech Student, Computer
Science and Engineering, Presidency University,Bangalore, India,International Journal
for Research in Engineering Application & Management (IJREAM)ISSN : 2454-9150
Vol-06, Issue-01, Apr 2020.
[3] Amaan Husen Shah 1, Abhishek Ninad Soundankar2, Alish Muktar Shaikh 3,
Altaf Niyajoddin Shaikh 4 b Prof. Chandrabhan R.
Ghuge5,Spvryan's International Journal . of Engineering Sciences &
Technology (SEST) ISSN : 2394-0905.