Skip to content

AnonCoderymous/Restaurant-Site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a restaurant site system. It is a demonstration of how a restaurant site works. You get to see a user-friendly UI at the begining. The user can interact with the UI. Then if user wants to order something, he/she can navigate to 'Menu' Section, and can search and add item to cart and they can order items, the user can also see the past orders in the 'My Order History' page. There is also an authentication system, which allows user to prefill information rather than filling it again. The Admin panel, also has various functionalities, the admin user can see registered users, they can see orders, and can add new food items, or delete or update existing items. It has CRUD Operations.

Product Image Generation URL

https://www.freepik.com/

Technologies

* Frontend :- 
	1. HTML5
	2. CSS3
	3. JavaScript (ES13/ECMAScript 2022)

* Backend :-
	1. PHP
	2. MySQL Database
	3. PhpMyAdmin

Database Structure

Database Name : db_restaurant
Table(s):
	1. admin :- The credentials of admin user.
	2. users :- Credentials of registered users.
	3. orders :- Orders placed.
	4. items :- Food items information/details.

URL(s) & Actions

# Operations
	* http://localhost/restaurantsite/php/config.php :- File which is used to connect to MySql Database.
	* http://localhost/restaurantsite/php/cart_items.php :- Display the information of items in cart.
	* http://localhost/restaurantsite/php/header.php :- Contains the header information of the website.
 		* http://localhost/restaurantsite/php/showItems.php :- Display item information when user Search for a product
   		* http://localhost/restaurantsite/php/order.php :- Place an order and insert order details in the database.
 	* http://localhost/restaurantsite/admin/edit-admin-prof.php :- Edit the details of the admin.
	* http://localhost/restaurantsite/admin/login.php :- Handle authentication process of admin.
 		* http://localhost/restaurantsite/admin/logout.php :- Deauthenticate admin.
	* http://localhost/restaurantsite/admin/removeUser.php :- Delete a user.
	* http://localhost/restaurantsite/admin/updateStatus.php :- Update the order status.
   
# Normal User
	* http://localhost/restaurantsite/index.php :- Home Page of the website, where user can interact.
	* http://localhost/restaurantsite/menu.php :- Page which has the items/menus of the restaurant.
	* http://localhost/restaurantsite/cart.php :- The cart page of restaurant site.
	* http://localhost/restaurantsite/checkout.php :- The checkout page, where user have to enter the delivery and contact information.

# Admin (Super User)
	* http://localhost/restaurantsite/admin/index.php :- The Admin login panel.
	* http://localhost/restaurantsite/admin/dashboard.php :- The Admin Dashboard.
	* http://localhost/restaurantsite/admin/admin-profile.php :- Admin Change Profile Area.
	* http://localhost/restaurantsite/admin/orders.php :- The orders will appear here.
	* http://localhost/restaurantsite/admin/users.php :- Users details etc.

Screenshots

							HOME PAGE
![Screenshot (130)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/493d5e86-4e4c-4033-894d-24f2ffe5beab)
![Screenshot (131)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/16882606-b4e2-4df3-b037-f3fc9e0c47e4)
![Screenshot (132)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/79bc825d-ff6e-452f-8e39-aca34009d645)
![Screenshot (133)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/d33c040f-cd1e-487d-a8f6-56c897b4ce84)
![Screenshot (134)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/3c50c5e3-8272-41e4-bffb-a0be03f32821)

							MENU PAGE
![Screenshot (135)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/f7da992d-c316-452c-a7aa-88940beece92)
![Screenshot (136)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/e79b7169-7578-407e-bd7d-6be69d7df44b)
![Screenshot (137)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/3ccbdd9e-dbea-4b17-958c-e9de50aae8a3)
![Screenshot (137)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/9733409c-1126-45b4-840f-a3cee99d82da)

							CART PAGE
 ![Screenshot (138)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/5d5498a2-dbac-4bda-805f-cc4d11c321b8)

							CHECKOUT PAGE
![Screenshot (139)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/b7511eca-4f7b-4113-974e-3a3b918ce579)

							ADMIN LOGIN PAGE
![Screenshot (144)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/4d1ca918-d29c-45dc-b5fd-ffbc32d9946e)

							ADMIN DASHBOARD
![Screenshot (140)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/552371c3-ae40-443b-bc14-c482f37d3c2b)

							ADMIN ACCOUNT EDIT PAGE
![Screenshot (141)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/9fe9d736-a390-4521-b661-4b1ff54781e0)

							ADMIN ORDERS PAGE
![Screenshot (142)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/224d379d-b862-4600-a51e-1695a78b1717)

							ADMIN USERS PAGE
 ![Screenshot (143)](https://github.com/AnonCoderymous/Restaurant-Site/assets/100998097/3e994aab-8107-45de-b4e6-87b84be6acbf)

Opinion

Thank you guys for glance at my project. This is my work and I've built it for learning and experience purpose. If you want, you can collab with me, also I'm a fresher and wanting to learn more and explore the field of Web Development. Hope you guys liked it. If you want to share your advice or opinions you can raise an issue. Thank you, and have a wonderful time !!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published