Вы находитесь на странице: 1из 23

A MINI PROJECT ON-

FOOD ORDERING SYSTEM

PROJECT GUIDE- MR. PRAKASH SIR

FACULTY INCHARGE- MR. RAJKUMAR SIR

NIKUNJ PATHAK KOVID KRISHNAN

1RN16IS057 ISE-A
1RN16IS044
ABSTRACT

● The Online Food Ordering System gives restaurants the ability to increase
sales and expand their business by giving customers the facility to order food
online.
● With an online restaurant menu ordering system, customers can place orders
online 24*7.
● With a food menu online we can easily track the orders, maintain customers
database and improve the food delivery service.
● The restaurant can even customize online restaurant menu and upload
images easily.
AGENDA

❏ INTRODUCTION
❏ REQUIREMENTS
❏ ER DIAGRAM
❏ SCHEMA DIAGRAM
❏ ARCHITECTURE
❏ FRONT END DESIGN
❏ QUERIES
❏ FUTURE ENHANCEMENTS
❏ REFERENCES
INTRODUCTION

● An ordering system is referred to as a set of detail methods that is being


used in handling the ordering process.

● Food ordering can be computerized or done manually. It helps the


customer to order their food themselves without visiting the restaurant
through its portal.

● This system brings together customers and restaurants.

● For instance service quality is the most important part for a customer.
Service quality means taste, and speed of delivery.
REQUIREMENTS
SOFTWARE:

● OPERATING SYSTEM : LINUX, WINDOWS


● SERVER : APACHE TOMCAT 9
● DATABASE : MYSQL
● BROWSER : MOZILLA FIREFOX, GOOGLE CHROME
● IDE : ECLIPSE

HARDWARE:

● PROCESSOR : PENTIUM 4 PROCESSOR AND ABOVE


● PROCESSOR SPEED : 2.4 GHZ
● RAM : 2GB
● STORAGE SPACE : 60GB
ER DIAGRAM
SCHEMA DIAGRAM
ARCHITECTURE
● FRONT END
HTML and CSS3: HTML and CSS are the two core technologies to build web
pages. HTML provide the structure and CSS provides the visual and aural
layout.
● BACK END
Java servlet pages: JSP is a server-side programming technology that enables
the creation of dynamic, platform-independent method for building Web-based
applications. JSP have access to the entire family of java APIs, including the
JDBC API to access enterprise databases.
● Database
MySQL: MySQL is an open source relational database management system. It
is based on the structured query language(SQL) which is used for adding,
removing, modifying information in the database.
RESTAURANT LOGIN
FRONT END DESIGN
CUSTOMER SIGNUP
USER HOME
PROFILE
MENU
CART
QUERIES
● "select u.restaurant_id,u.product_id,u.quantity,u.price,r.name,p.name
from "+username+"cart u,restaurant r,product p
where u.restaurant_id = r.restaurant_id and u.product_id = p.product_id "

❏ This query was used to list out the items in the user's cart.
And also to fetch restaurant_id and product_id which will be sent to
DeleteFromCart servlet .

● "select *
from restaurant
where restaurant_id=?"

❏ This query was used to fetch the information to be displayed on Restaurant


Profile page.
● "select p.product_id,p.name,c.name,s.price,p.image
from serves s , product p , category c
where s.product_id = p.product_id and p.category_id = c.category_id and
s.restaurant_id = ?""

❏ This query was used to list out the menu of a particular restaurant in
RestaurantMenu servlet.
In the menu product name,price,image,category are displayed.

● " select *
from customer
where cust_id=? and
card_no=? and cvv=? "

❏ This query was used to verify whether the cvv and card_no provided during
payment where
valid or invalid in LogicPlaceOrder servlet.
● " update restaurant set "+attribute+"=? where restaurant_id='"+restaurantid+"'"

❏ This query was used in LogicChangeRestaurantProfile servlet to update a


restaurant profile attribute like password or
name or address...

● "update serves set price=? where restaurant_id=? and product_id=?"

❏ This query was used in ChangeProduct servlet , to update the price of an item in
a particular restaurant's menu.

● "insert into product(name,category_id) values(?,?)"

❏ This query was used to insert a new product in the database.Used in


LogicAddNewProduct servlet.
● "select max(product_id) from product"

❏ product_id attribute in product table increments automatically....therefore fetching


the max prodct_id will
give us the product_id of the last product inserted.Used in LogicAddNewProduct
servlet.

● "delete from "+username+"cart"

❏ This Query is used to empty the cart for a particular user after the order is
placed.Used in EmptyCart servlet.

● "delete from serves where restaurant_id=? and product_id=?"

❏ This query was used in DeleteMenuProduct servlet , to delete a particular item


from a restaurant's menu.
● "select p.product_id,p.name,p.image,c.category_id,c.name
from product p,category c where p.category_id = c.category_id and
p.product_id NOT IN( select product_id
from serves
where restaurant_id =? )"

❏ When the restaurant wants to add an existng product into it's menu then this
Query is used to display the
list of all the products(along with their info) not already present in restaurant's
menu.Used in AddExistingProduct servlet.
FUTURE ENHANCEMENTS

● Online food ordering systems became a trendsetter, impeccably growing at a


quicker pace.

● Guarantees its users to possess a more robust and convenient manner of


ordering their cuisines.

● Improved order accuracy, expanded reach, convenient and quicker delivery


are some of its factors which will be held responsible for its growth.
REFERENCES

⦁ Stackoverflow.com
⦁ W3schools.com
⦁ Mysql.com
⦁ JAVA complete reference by herbert schild
⦁ Tutorials point
THANK YOU

Вам также может понравиться