Skip to content

avocadopelvis/restaurant-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silver Leaf - Restaurant Web Application

A Restaurant Web Application with Table Booking, Online Food Ordering and Delivery Tracking.

Brief Description

Silver Leaf is a web-based application that is operated on a web server with its data being retained in a database. It is designed to enable the registered customer to reserve a table at the restaurant at a specified time in accordance with its availability, view and order the offered food item of their choice, and track the delivery of their order.
Since the Internet provides a wider range of customers, the application will provide the restaurant with a chance to increase their profits while customers can avail the restaurant's services at the comforts of their homes.

How to install our project

First, clone this repository and create a virtual environment using:

python -m venv venv

Activate the virtual environment:

./venv/Scripts/activate

Install the required packages using:

pip install -r requirements.txt

Create an Authy Application and grab your API Key https://www.twilio.com/console/authy/applications
Edit config.py and update the API key with your application key. Create a secret key for managing sessions.

cd to the location of the cloned repository and run the command:

python run.py

Copy http://127.0.0.1:5000/ and paste it in the address bar of a browser.

Working of our Website

The front-end portion of the web application has been developed using HTML, CSS & JavaScript while the backend portion has been developed using Flask & SQLite. The information regarding the users, food items, tables and orders are stored in a database created using SQLite. Through the use of Flask, the web app interacts with the database. To verify the user's phone number, we have used Twilio Authy API and the delivery tracking has been implemented using Google Maps Javascript API and Google Directions API

Home Page

home-page

Registration Page

register

Phone Number Verification

otp page

Login Page

login

Forgot Password Page

forgot

Services Page

services

Table Reservation Page

table-reservation

Menu Page

menu

Cart Page

cart

Order Confirmation Page

congrats

Delivery Tracking Page

order-id-page

track

About Us Page

about-us

Contact Us Page

contact-us

Developed by:

If you would like to make any suggestions to improve the web application, feel free to contact any of the developers.