Class 12 Cs Investigatory Project
Class 12 Cs Investigatory Project
TRICHY
FOOD PORTAL
CERTIFICATE
PRINCIPAL
ACKNOWLEDGEMEN
T
INDEX
Objective
Introduction
Description
Program Coding
Table
Program Output
Bibliography
OBJECTIVE
To develop a Python and SQL project to
create a vibrant and interconnected food
community, fostering a love for diverse
cuisines and culinary experiences.
Whether you are a food enthusiast
looking for your next dining adventure or
a restaurant seeking to expand your
reach, our project FOOD PORTAL is the
go-to platform for all things that are
related to food.
INTRODUCTION
Welcome to food portal :
In the hustle and bustle of our daily lives,
finding a quick and delicious meal can be a
challenge. But fear not, for we present to
you the Food Portal – a digital haven for all
your culinary cravings! Whether you're an
admin looking to manage the portal with
precision or a hungry soul ready to explore a
world of delectable options, our portal had
made sure that you are covered.
Admin Access :
The gateway to culinary control lies in the
hands of the admin. Armed with a secure
password, the admin block opens up a realm
of possibilities for managing the Food Portal
with finesse. From overseeing orders to
updating the menu, the admin has the key
to culinary command.
Ordering Bliss :
For the food enthusiasts who crave a
delightful dining experience, the Food Portal
offers an extensive array of culinary delights.
Browse through a tempting menu
showcasing a variety of dishes, each with its
own unique flavour profile. With just a few
clicks, you can place your order and tantalize
your taste buds with the finest cuisines.
Seamless Exit :
Had your fill of culinary delights or finished
managing the admin block? Fear not, for the
exit is as smooth as your favourite dessert.
With a simple command, bid adieu to the
Food Portal, knowing that it's always ready to
welcome you back for your next gastronomic
adventure.
Embrace the fusion of technology and taste
with the Food Portal – where admin control
meets culinary exploration. Join us on this
digital journey, and let the flavours of
innovation and convenience tantalize your
senses. Bon appetit!
DESCRIPTION
UPDATING FOOD :
DELETING FOOD :
VIEW ORDERS :
if us == 1:
fnid = int(input("Enter the Food ID whose food name you want to
update: "))
fna = input("Enter the updated Food Name: ")
e.execute("UPDATE item SET Food_Item = '{}' WHERE S_no =
{}".format(fna, fnid))
print("UPDATED SUCCESSFULLY")
d.commit()
elif us == 2:
fnic = int(input("Enter the Food ID whose food price you want to
update: "))
fnf = input("Enter the updated Food Price: ")
e.execute("UPDATE item SET Prices = {} WHERE S_no = {}".format(fnf,
fnic))
print("UPDATED SUCCESSFULLY")
d.commit()
if ask == 1:
add_food()
elif ask == 2:
update_food()
elif ask == 3:
delete_food()
elif ask == 4:
view_orders()
elif ask == 5:
return
http://www.python.org
http://www.google.co.in
https://www.mysql.com
https://www.wikipedia.org