VIJAYKUMAR OFOS
VIJAYKUMAR OFOS
Submitted By
APRIL-2024
DEPARTMENT OF COMPUTER SCIENCE
CERTIFICATE OF APPROVAL
This is to certify that the project Report entitled “ONLINE FOOD ORDER
The project work represents the individual efforts taken on the part of the
candidates.
I hereby declare that the Project Report entitled “ONLINE FOOD ORDERP
SYSTEM" Submitted to the Thiruvalluvar University, Vellore ( Arakkonam Arts and
Science College, Arakkonam) for the award of the degree in Bachelor of Computer
Science is a project of original and independent work carried out by me. This
Project report is done under the guidance of Mrs. R.RADHIKA MCA.,. This is also to
declare that this Project report is an original work of mine and does not form part
of any previous Certificate / Diploma / Degree.
Signature
I thank Almighty for helping me to come up till now and for having gracefully
blessed one in the knowledge, skill and enthusiasm for completing the project
work.
I express my sincere thanks to our Chairman Prof. Dr. A. KANAGARAJ,
M.A, M.Phil, Ph.D. our Secretary Madam Mrs. K. VIJAYAKUMARI, M.A, B.Ed.,
Jaya
Educational Trust. Thiruninravur and our Principal DR.G.SHAIK MEERAN. M.A.,
M.Phil., Ph.D., Arakkonam Arts and Science College, Arakkonam for their valuable
help.
I am indebted to MS.EZHILARASI.M.C.A, M.Phil., Head of the Department
in
Computer Science and Applications for his invaluable guidance rendered for the
timely completion of project report.
I deem it a great privilege to express my profound respect, deep gratitude
and sincere thanks to my guide MS.RADHIKA.MCA.,M.Phil., M.E of Computer
Science for his constant encouragement and able guidance throughout the period
of my Study.
I am highly thankful to all faculty members of the department for their
interest and constant guidance to achieve my endeavor of "CODEBIND
TECHNOLOGY”
Finally, I would like to thank my parents, friends, and all other staff members for
extending their helping hands whenever needed. I own my deep sense of
gratitude to all of them.
Place:
(VIJAY KUMAR S.J )
Date: Reg No: 30221U18015
Code Bind Technologies
Usman Road, Nagar
Chennai, TamiNadu,
India, 600017
INTERNSHIP
ON
WEB DEVELOPMENT
S.no CONTENT PAGENO:
1 SYNOPSIS
2 INTRODUCTION
2.1 Over view the project
2.2 project discription
3 SYSTEM ANALYSIS
3.1 System model
3.2 Existing System
5 SYSTEM DESIGN
5.1 Data flow Diagram
5.2 System architecture
5.3 Database design
5.4 development process
5.5 security considerations
6 SYSYEM CODING
7 FORM DESIGN
7.1 Home page design
7.2 login page
8 CONCLUSION
9 FURURE ENHANCEMENT
10 BIBLIOGRAPHY
1.SYNOPSIS
ONLINE FOOD ORDERING SYSTEM
For food lovers who want to order food from local restaurants online, the Food Ordering
System will be an Internet – based application that will accept individual or group meal orders,
process payments, and trigger delivery of the prepared meals to a designated location.
For Restaurant owner who wants to take and grow their business online, with low budget
can start their online restaurant business and get orders from many more customers. Restaurant
owner can make more visibility over internet without any technical knowledge.
We are fast growing online food ordering portal. We aim that even small restaurant
business can take their business online without any cost. Making the best use of the time,
available resources and knowledge, they have achieved several milestones in course of time but
that doesn’t satisfy our desire of becoming better.
Thus, They are working day-in and day-out, implementing latest technology in the most
efficient way, developing infrastructure & technical tools and investing our whole & sole to
become global leader in IT technology. They are proud to be moving in the right direction with
lightning speed .
System Overview Required system is for managing restaurants, online orders, customers.
The system should satisfy the following requirements: -
Customer Aspect
3. Admin Aspect
• Home
• About
• Service
• Contact
• Register
2. INTRODUCTION
2.1. OVERVIEW OF THE PROJECT
We are fastest growing online food ordering portal. We aim that even small restaurant
business can grow their business online. Restaurant owner can give discounts on food items
Customer can order food item online with great discounts. Admin can track all the order
Activity. Admin can see all the customers ordering food from their restaurant. Admin generate
various reports almost instantly when required.
2.2 PROJECT DESCRIPTION:
Nowadays everyone is having busy schedule whether it is urban area or rural. But talking
specifically about the urban areas and deeply about the big cities, people out there are so busy in
their life that they don’t get enough of time to have their meals properly.
As these days women are no less than men, in any field. So in big cities even wives are
working women, therefore mostly the small families manage to have their food ordered from
somewhere, as they lack time.
Not only this is the case, if we talk about the children in the modern era they like only
fast food or something from the outside. But they ignore eating homemade meals.
So food ordering system these days has one of the fastest growing market, though being a
new idea. In this project we have developed something like the same to earn from and serve the
nation in a much better way possible.
Nowadays, people are more regular to dine-in at restaurant for their meals. The online
food ordering system provides convenience for the customers that are nothing special but the
general busy people of the society.
It overcomes the demerits of the manual hotel or mess system and the old fashioned
queuing system. This system enhances the readymade of foods than people.
Therefore, this system enhances the speed of getting food in person’s plate and quality
and manner of taking the order from the customer. It provides a better communication platform.
The user’s details are stored using the electronic media.
The online food ordering system provides the menu online and the customers can easily
place the order by just clicking the mouse or by touching a button on their smart phones.
Also with the food ordering system online, people can easily track their orders, and
admin can maintain customer’s database and advance the food delivery system.
list of available menu items provided by the local hotel or restaurant. The user can place orders for the food
items of their like from the list.
The payment can be made online or pay-on-delivery system. The user’s details are
maintained confidential because it maintains a separate account for each user. An id and
password is provided for each user.
And several encryption techniques have also been used on the server side to protect the
card details. Therefore it provides a more secured and safe ordering system.
3. SYSTEM ANALYSIS
3.1 SYSTEM ANALYSIS
The above shown is an entity-relationship diagram, depicting the working of the food
ordering system. ER diagram reflects the relationships that various entities involved in the
system share among themselves, along with the entities.
Following are the description of entities involved in food ordering system: Customer
This represents the set of customers, which are the clients who will be using this application.
The customers are for whom the system is being designed. Its attribute set includes:
Name:
This is the name of the customer, searching or purchasing the products. When signing up
to the website the name of the customer is stored, this is done for the future referencing and
maintaining the user’s data record (history). It is the composite attribute that contains two more
attributes that are First-Name and LastName. That contains the user’s first name and last name.
Cus-id:
This is the identification number assigned by the admin to the users so as to identify them
uniquely in the future. This identification number is helpful in fetching data of the individual user
from a big set. This is mainly to manage the huge database system where the entire data is being
stored. It is a permanent identification number given by the admin to the customer to maintain
customer history.
Cus-order-id:
This is the identification number given to determine and manage the sequence of service.
Since multiple customers will place orders, so as to schedule whom to give the delivery first is
determined by the help of this number, so as to maintain consistency in the system working
procedure. It will be unique for each order a day.
Address
This field is for the physical address of the customer where the restaurant authority is
required to deliver the parcels. It may or may not the same as the customer’s permanent address
or residence, but can be the office place or any place. Its attribute includes: Address-id:
An identity through which categorization of places may be done. As address may or may
not be unique for each customer registered. But still, this identity helps the delivery person to
identify the right place to deliver.
Zip-code:
It is the pin code or the postal code of a region, and which is of utmost importance to any
address, since multiple places, streets, bungalows with the same name exist. This is even
important in any national-level identification of address. Also, this will help the owner in
surveying which region has more demand so as to expand their business in that region.
Phone:
The user’s contact number is something that must be correct because if at some point in
time the delivery person gets confused with the address, it can be used for confirmation. Also, the
restaurant authority can contact their customers for any type of feedback or know the delivery
service is good or not.
Orders
The customer’s place order, which is not only still here, there is some work that needs to
be done in the database in order to maintain records for keeping track on monthly basis.
This is the identification number given to determine and manage the sequence of service.
Since multiple customers will place orders, so as to schedule whom to give the delivery first is
determined by the help of this number, so as to maintain consistency in the system working
procedure. It will be unique for each order a day.
But the same id can be repeated on a new day, as it is mainly for the restaurant’s
reference and to prevent any type of overlapping of thoughts between customers and owners. It is
mainly for the chef’s preference.
Cus-id:
This is the identification number assigned by the admin to the users so as to identify them
uniquely in the future. This identification number is helpful in fetching data of the individual user
from a big set. This is mainly to manage the huge database system where the entire data is being
stored. It is a permanent identification number given by the admin to the customer to maintain
customer history.
Total-price:
This attribute manages the total price sum of the orders user has made in one attempt. It is
one of the most important attributes since most of the time people change their menu order list
contents depending upon their needs, health, and economic situation.
Timing:
Time is something most important to be valued. And one of the major reasons behind the
success of this food ordering system. So, managing this cause becomes a goal to be completed.
In order to maintain the business work better, the authority must stick to its commitment.
Payment
It defines the payment to be done by the customer for an order placed from the web store
at a worth price. Also, various security encryption mechanisms have been used, so the customer
details of accounts and other credentials are safe and secure.
The user is provided with lots of options that he/she can opt for making the payment
depending upon their ease. There are many choices available for net banking, use of wallets like
pay and I-cash cards, also credit card and debit card options are available too.
Payment-id:
It is for the benefit of the user as well as the website owners since the payment-id is
helpful in maintaining the payment record in the database, as well as it is also provided to the
customer after the successful completion of payment. As later customers can claim anytime that
they have already done the payments and the owners cannot deny. So, it is useful to prevent any
kind of fraud from both sides.
Price:
It is the record of the total sum amount the user needs to pay, and after the payment, it is
used to update the server-side database to keep the record of the net profit or loss on daily basis.
Worker
The base of any company, restaurant, or hotel is its employee. It is said that an
organization is known by its employee and work. Employees will work honestly and with
complete dedication if they are paid sufficient enough money. On the whole, it’s just like a food
cycle, everyone depends on somebody.
Worker-name:
The name of the worker is important to maintain their database of work and payment
records. Also, if any complaints are filed then it is required.
Timing:
Time is something most important to be valued. And one of the major reasons behind the
success of this food ordering system. So, managing this cause becomes a goal to be completed.
In order to maintain the business work better, the authority must stick to its commitment.
Workers are paid for their good work and more than that for completion of work before time.
To uniquely identify each worker and prevent any type of redundancy in records.
Salary:
The amount of money to be paid to the workers for their effective and on time work was
done.
Delivery-mode
The delivery sequence and choice are not the same for everyone but vary from person to
person. It may happen that even sometimes a person says no to home delivery as he/she is
passing by and can pick the parcel themselves. But it is almost an ideal case.
Urgent:
In some cases, like uninvited guest arrival, late-night, people prefer to pay more and get
the order delivered urgently. So, restaurants manage such situations by not following the
sequence of order placement, as they are getting more than usual. And with another customer
whom they have delayed, they manage it with some small gifts or offers.
Normal:
The usual mode of delivery is followed by the sequence of orders placed. It is the normal
and majority case. The hotels manage do not need to put extra effort to manage these.
3.1 ANALYSIS MODEL
User can also search by rating. The service that has rating is checked by user given rating
and if matched it will give the list of service. Search can be done by accepting distance from
user in which user need to search and displaying service provider within that distance.
User can communicate to service provider with the help of message box and get
notification from provider end if any. On the other end provider has facility to add or reject
request from person who want to join the service.
Customer:
SYSTEM II :
The ONLINE FOOD ORDERING SYSTEM links with a current payment system, which
includes a cash register and a software-accessible credit/EFTPOS system, to manage client
invoicing quickly and conveniently. The payment system should be able to communicate
information about whether or not the payment was successful to the ONLINE FOOD
ORDERING SYSTEM.
Admin:
USER INTERFACES:
There are three separate user interfaces in the ONLINE FOOD ORDERING
SYSTEM software, each of which is coupled to a physical hardware component
The three user interfaces accessible are Surface Computer UI, Tablet UI, and Display UI. User
Interface Design is concerned with the interaction between a user and a computer. It covers
everything from starting the system to logging in to the final presentation of essential inputs and
results.
The whole flow of screens and communications is referred to as a dialogue. The following are
some guidelines for designing a user interface:
2. The screen should be set up so that various types of data, instructions, and messages are
always presented in the same general area.
3. Messages, instructions, and other information should be given for the system user to read for a
sufficient amount of time.
The traditional food ordering procedure is not efficient enough for hotels and restaurants,
as they have to deal with the crowd, in their restaurant. The old methods can be classified into
categories which are paper grounded and verbal grounded. For paper-based work, the waiter
comes and pens down foods that customers order and pass the food list containing paper to the
chefs or cooks in the kitchen for further process.
Also, from the owner’s point of view maintaining data records and the accounts in the
physical file are cumbersome and tedious work to do. And also, it is full of risk as anyone can
access it and modify the data.
3.3 PROPOSED SYSTEM
This system is a bunch of benefits from various points of view. This online application
enables the end-users to register to the system online, select the food items of their choice from
the menu list, and order food online. Also, the payment can be made through online mode or at
the time of home delivery depending upon the customer’s choice and convenience.
The selection made by the customers will be available to the hotel reception or to the
person handling the work assignment. Now this same person will assign the orders to the
specialist chef to be completed within a fixed duration of time. As soon as the chef prepares the
food, the later person forwards the parcels to the delivery persons assigned with the location and
customer identity of the customer along with the bill status.
With this application, the workload of the water in the hotel Sare reduced, or in some
situations, their work is abolished. One of the various benefits of this is system is that if there is a
rush or a huge crowd present in the restaurant then in that case sometimes unavailability of tables
cut downs the restaurant’s customer.
Also, there will be chances that the waiters are unavailable as they are busy handling
others, so the customer can directly order the food to the chef online by using this application, by
checking the seat availability in the restaurant. This system allows the staff to serve customers
within less time as compared to the manual system.
4 . SYSTEM REQUIRMENTS
12
4. SYSTEM REQUIRMENT
Hard disk : 32 GB
Ram : 8.00 GB
Mouse : Logitech
Keyboard : 86 keys
PHP
PHP provides support for MySQL through an array of functions that can PHP
stands for PHP Hypertext Pre-processor. It is a server-side programming language
specifically designed for creating dynamic web pages. The language was originally
developed in 1994 by Rasmus Lerdorf and has since been expanded to become one of
the WWW's most popular scripting languages. According to 2005 Net craft statistics,
PHP is currently being used in over 23,000,000 domains. Like other types of server-
side languages such as ASP, ASP.NET, and JSP, PHP code is processed on the web
server and generates the XHTML code or other output that can be viewed in the
browser. Unlike other server-side languages, PHP is an open source product, meaning
everyone has access to the source code and can use, alter, and redistribute it all
without charge.
PHP 5 can be run on just about any type of operating system and Web server.
However, in order for PHP scripts to be processed, the PHP interpreter must be
installed. The software is available in two forms - complete source code and
executable binaries. These days, most Linux systems come with the PHP source code.
For non-Unix/Linux systems, binaries can be downloaded at
http://www.php.net/downloads.php.
Hypertext refers to the way in which Web pages (HTML documents) are
linked together. When you click a link in a Web page, you are using hypertext. It is
this system of linking documents that has made the World Wide Web the global
phenomenon it has become. Markup Language describes how HTML works. With a
markup language, you simply “mark up” a text document with tags that tell a Web
browser how to structure it. HTML originally was developed with the intent of
defining the structure of documents (headings, paragraphs, lists, and so forth) to
facilitate the sharing of scientific information between researchers. All you need to do
to use HTML is to learn what type of markup to use to get the results you want.
CSS is responsible for the Design of the Webpage, how every thing looks, and
where it is on the page.
→ Inline Style Sheet is useful for applying a unique style to a single HTML
element:
Inline Style Sheet is useful for applying a unique style to a single HTML element:
Example:
→ An internal style sheet can be used to define a common style for all HTML
elements on a page.
Example:
<html>
<head>
</head>
16
<body>
</body>
</html>
→ External style sheet are ideal when the style is applied to many
pages.
→ With external style sheets, you can change the look of an entire site by
changing one file.
Example:
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body><h1>This is a heading</h1></body>
</html>
The first step toward understanding and working with HTML is learning the basic
terms that describe most of the functions of this language. You will come across these
terms repeatedly as you use HTML and if you understand them, you will have
progressed a long way toward comprehending HTML, not to mention
XHTML.
17
ELEMENTS
TAGS
Often, you’ll find the terms element and tag used interchangeably. It’s fairly
common, but not strictly accurate. An element is made up of two tags: an opening tag
and a closing tag. Although it might seem somewhat picky to make this distinction,
when you begin to work with XHTML (Extensible Hypertext Markup Language), it
will be a very important difference to remember. If you get into the habit of
distinguishing elements and tags from the very beginning, you’ll save yourself some
confusion down the line.
All tags are constructed the same way. The tag begins with a “less than” sign
(<), then the element name, followed by a “greater than” sign (>). For example, an
opening tag for the paragraph element would look like this: <p>. the tags. A simple
paragraph might look like this: <p>this is an HTML paragraph. </p>.Some elements
do not use closing tags because they do not enclose content. These are called empty
elements. For example, the line break element <br> does not require a closing tag. In
the case of empty elements, add a closing slash after the element name, like this: <br
/>. When a browser sees the slash, it will recognize the element as one that does not
need a separate, closing tag.
18
MySQL
The MySQL database has become the world's most popular open source database Page | 11
because of its consistent fast performance, high reliability and ease of use. It's used in more than
6 million installations ranging from large corporations to specialized embedded applications on
every continent in the world. MySQL is a open source
Relational Database Management System. MySQL is very fast reliable and flexible
Database Management System. It provides a very high performance and it is
multithreaded and multi user Relational Database management system.
MySQL Features
MySQL are very fast and much reliable for any type of application. MySQL is
very Lightweight application. MySQL command line tool is very powerful and can
be used to run SQL queries against database. MySQL supports indexing and binary
objects. It is allow changes to structure of table while server is running.
MySQL has a wide user base. It is a very fast thread-based memory allocation
system. MySQL code is tested with different compilers. MySQL is available as a
separate program for use in a client/server network environment. The MySQL
available for the most Unix operating platform.
MySQL are the available for window operating system window NT, window
95, and window 98.MySQL available for OS/2. Programming libraries for C, Python,
PHP, Java, Delphi are available to connect to MySQL database.
19
MySQL Advantage
MySQL is very popular and it is world most popular open source Database. So it is
easy to find high quality staff around the world. The MySQL has most capabilities to handle
most corporate database application and used to very easy and fast.
20
Application Tier: The middle layer handles the logic of the application. It's
built using PHP and connects the user interface with the database. It processes user
requests, validates inputs, and manages user sessions.
Data Tier: The database stores information about users, restaurants, menus,
orders, and reviews. MySQL is used as the relational database management system to
ensure efficient data storage and retrieval.
23
Menu Items: Stores information about the dishes offered by each restaurant,
including names, descriptions, prices, and images.
Orders: Stores details about each placed order, including the user who placed it, the
restaurant, items ordered, total cost, and order status.
Reviews: Contains user reviews and ratings for restaurants and their menu items.
24
Design: The system architecture and database schema were designed based on the
collected requirements.
Deployment: The website was deployed on a cloud server, ensuring accessibility for
users from various locations.
User Acceptance Testing: Users were invited to test the website and provide
feedback to identify any issues or areas for improvement.
25
6.SYSTEM CODING
<?php
include 'includes/connect.php';
if($_SESSION['admin_sid']==session_id())
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Food Menu</title>
<!-- Favicons-->
<!-- Favicons-->
<link rel="apple-touch-icon-precomposed" href="images/favicon/apple-touch-icon-
152x152.png">
<style type="text/css">
.input-field div.error{
position: relative;
top: -1rem;
left: 0rem;
font-size: 0.8rem;
color:#FF4081;
-webkit-transform: translateY(0%);
-ms-transform: translateY(0%);
-o-transform: translateY(0%);
transform: translateY(0%);
.input-field label.active{
width:100%;
left:0px;
right:70px;
</style>
</head>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
</div>
<div class="navbar-fixed">
<nav class="navbar-color">
<div class="nav-wrapper">
<ul class="left">
</ul>
</div>
</nav>
</div>
</header>
<div id="main">
<div class="wrapper">
<aside id="left-sidebar-nav">
<div class="row">
</div>
</li>
</ul>
</div>
</div>
</div>
</li>
</li>
<li class="no-padding">
<div class="collapsible-body">
<ul>
7.FORM DESIGN
7.1 HOME PAGE:
7.2 Login:
7.3 SEND OTP:
7.4 FOOD ORDER:
Page | 35
8.CONCLUSION
8.CONCLUSION:
Therefore, conclusion of the proposed system is based on user’s need and is user
centered. The system is developed in considering all issues related to all user which are
included in this system. Wide range of people can use this if they know how to operate android
smart phone. Various issues related to Mess/Tiffin Service will be solved by providing them a
full-fledged system.
With online food ordering system, a restaurant and mess menu online can be set
up and the customers can easily place order. Also with a food menu online, tracking
the orders is done easily, it maintain customer’s database and improve the food
delivery service.
The restaurants and mess can even customize online restaurant menu and upload
images easily. Having a restaurant menu on internet, potential customers can easily
. Currently we are trying to make our system more secure and efficient.