A Restaurant Web Application with Table Booking, Online Food Ordering and Delivery Tracking.
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.
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.
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
If you would like to make any suggestions to improve the web application, feel free to contact any of the developers.