Online Food-Ordering System: Group Member1 V.Sriram (19BCE0934) Group Member2 S.Sai Lokesh (19BCE2379)
Online Food-Ordering System: Group Member1 V.Sriram (19BCE0934) Group Member2 S.Sai Lokesh (19BCE2379)
Online Food-Ordering System: Group Member1 V.Sriram (19BCE0934) Group Member2 S.Sai Lokesh (19BCE2379)
REVIEW REPORT
Submitted by
Prepared For
PROJECT COMPONENT
Submitted To
Dr.Karthikeyan
Associate Professor
Abstract:
The food business is already very profitable and expanding it online will turn out to
be more beneficial for a restaurant. This online food ordering website enables us to order
various foods and beverages from the restaurant without having to step out of our houses.
Using internet we can just order and it will delivered to the location we input. This also
provides the restaurant to be more flexible and to increase their number of customers. The
customers can simply register themselves in the website and then a user id will be
generated for them which will be unique. After that they can login and go through the Menu
, read the description of the various food items and then make their order. Online Food
Ordering System could be a part of e-commerce. E-commerce or business through web
suggests that distributing, buying, selling, marketing, and coupling of product or services
over electronic systems like the net and alternative pc networks. Internet has seen an
amazing growth in terms of coverage and awareness. So giving the business a web presence
has become terribly crucial and vital. With Online Ordering System we are able to: discover
we have a tendency to building menu on-line and also the customers can simply place order
with a straightforward depression. conjointly with a food menu on-line we are able to
simply track the orders, maintain customer's info and improve the food delivery service.
Introduction:
The Online Ordering System will be outlined as a straightforward and convenient
approach for patrons to buy food on-line, while not having to travel to the edifice. This
system is enabled by the net – it's the net that connects the edifice or the company on
one hand, and therefore the client on alternative hand. Therefore, as per this system,
the customer visits the restaurant’s app or website, browses through the various food
items, combos and cuisines available there and goes ahead and selects and purchases
the items he or she needs. These items will then be delivered to the customer at his or
her doorstep at the time they choose by a delivery person. Payments for such online
orders can be made through debit cards, credit cards, cash or card on delivery, or even
through digital wallets. This system for on-line food delivery is totally safe, secure and
may be a very hip technique that's revolutionizing the approach during which the food
trade operates.
Objective:
The main objective of this project is to develop an application which gives provision to
the restaurant owners to flourish their business by uploading menus at no cost and will
invariably lead to higher customer retention and acquisition rates. Reduce time-consuming
phone orders and eliminate illegible fax orders. No more busy phones or the requirement
for extra phone lines. An edge over the competition at an affordable price. Broader
customer reach across regions. Builds a customer database. Provides a channel for
marketing and promotion lowering your advertising cost.Helps in improved service.Greater
customer satisfaction!!
ER-Diagram:
Relational Mapping:
Normalisation
Conversion of delivery boy entity into 1NF: All attributes should have atomic values and
unique values.
Conversion into 2NF:
Candidate key: Emp_id
Check whether the LHS is a proper subset of some candidate key or the RHS are not all key
attributes
Functional dependicies we get are:
Emp_id→Order_id
Emp_id→Emp_name, D.Ph.no, Departure_Time ,Arrival_Time
Conversion into 3NF:
Candidate key: Emp_id
Check whether the LHS is superkey or the RHS are all key attributes
Functional dependicies we get are:
Emp_id→Order_id
Emp_id→Emp_name, D.Ph.no, Departure_Time ,Arrival_Time
Conversion into BCNF: A table is in BCNF if and only if for every non-trivial FD, the LHS is a
superkey. Therefore, the table is already in BCNF.
Conversion of food entity into 1NF: All attributes should have atomic values and unique
values.
M_name varchar2(10),
L_name varchar2(10),
Password varchar2(20),
Colony varchar2(20),
Emp_name char(20),
D_Ph_no number(12),
departure_time timestamp,
arrival_time timestamp);
beverages varchar(20),
Feedback_msg varchar2(150));
Card_holder_name varchar2(30),
CVV number(3),
Exp_date varchar2(10),
Security_code number(6));
Payment_time timestamp,
INSERTING:
insert into employee2 values ('EMP001', 'Shaan Javeri',9876543210, '13-sep-2020 03:21:09', ' 13-
sep-2020 04:03:22');
insert into employee2 values('EMP003', 'Rajaryan K' ,7654321098,'06-jul-2020 07:21:09', ' 06-jul-
2020 08:53:22');
insert into food2 values ('F001', 'Eggs Fried or Omelette',' ', 'Non Veg', 'Null', 'Available');
insert into food2 values('F002', 'Chocolate Donuts', 'Veg',' ', 'Null', 'Available');
insert into food2 values('F003', 'Aloo Fry Roll-Mashed Potatoes Sauted In Secret Spices Rolled To
Perfection In Your Favorite Base Wrap', 'Veg',' ', 'Lemon Soda', 'Not Available');
insert into food2 values('F004', 'Dark Fantasy Thickshake- Tall Dark & Handsome - What do you get
when choco fill cookies, ice cream, chocolate and a topping of fudge all come together in a dessert?
A tall, dark and handsome fantasy.', 'Veg',' ', 'Null', 'Available');
insert into food2 values('F005', 'Chicken Combo Pack - 2 Chicken Samosas +2 Chicken Croquettes + 2
Prawn and Cheese ressois+ 2 Veg and Cheese Mini Spring Rolls.',' ', 'Non Veg', 'Coke 200ml',
'Available');
5.
select
Customer.cust_id,Customer.F_name,Customer.L_name,Order1.Order_id,Order1.food_item_id,foo
d2.description from((Customer inner join Order1 on Customer.cust_id=Order1.cust_id)INNER join
food2 on food2.food_item_id=Order1.food_item_id);
6. display card no of all card type payments
from order1
group by date_or;
REVIEW-3
1.NESTED QUERIES:
1.
2.
4.
6.
Set serveroutput on
DECLARE
f_id food2.food_item_id%type;
f_description food2.description%type;
f_bvg food2.beverages%type;
f_status food2.status%type;
CURSOR f_food2 is
SELECT food_item_id, description, beverages, status FROM food2;
BEGIN
OPEN f_food2;
LOOP
FETCH f_food2 into f_id, f_description, f_bvg, f_status;
EXIT WHEN f_food2%notfound;
dbms_output.put_line(f_id|| ': ' || f_description|| '--- ' || f_bvg || '----> ' || f_status);
END LOOP;
CLOSE f_food2;
END;
/
Set serveroutput on
declare
total number(10);
fb_msg feedback2.feedback_msg%type:='&fb_msg';
begin
select count(*) into total from feedback2 inner join feedback1 on
feedback1.feedback_id=feedback2.feedback_id and feedback2.feedback_msg=fb_msg;
dbms_output.put_line('Total number of customers that gave the feedback of '||fb_msg||' are
'||total);
end;
/
3.FUNCTION OR PROCEDURE USING PLSQL:
Procedure: to update or replace the pay_type in a payment4 for pay_id:P0003 and total
aamout:990;
set serveroutput on;
a payment4.pay_type%type;
begin
end;
exec ptype('&p_id',&t_amt);
Trigger: use a trigger to generate the age of the customers(for this first we need to alter the
customer table to add dob and then age column the we create the trigger and update the dob
values into the table)
alter table Customer add dob date;
begin
:new.age := months_between(sysdate,:new.dob)/12;
end;
Cursor: use pl/sql and write a cursor to give 100 rupees off to customers who are 20 or below in
age.
declare
c custm%rowtype;
age number;
offer int;
begin
open custm;
loop
fetch custm into c;
age:=months_between(sysdate,c.dob)/12;
if(age<=20) then
end if;
end loop;
close custm;
end;
Cursor: write a cursor to update the status of a food item with food_item_id=”F004” to ‘not
available’.
DECLARE
f fd%rowtype;
BEGIN
open fd;
loop
fetch fd into f;
end if;
end loop;
close fd;
END;
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: