0% found this document useful (0 votes)
30 views28 pages

Aarti Saswat Documentation

The document outlines the development of a Food Ordering Website, detailing its features, system design, and implementation. Key functionalities include user-friendly interfaces for customers and restaurant management, secure payment options, and order tracking. It also discusses the technologies used, such as PHP, Bootstrap, and MySQL, along with the project's planning and team structure.

Uploaded by

fadosam801
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views28 pages

Aarti Saswat Documentation

The document outlines the development of a Food Ordering Website, detailing its features, system design, and implementation. Key functionalities include user-friendly interfaces for customers and restaurant management, secure payment options, and order tracking. It also discusses the technologies used, such as PHP, Bootstrap, and MySQL, along with the project's planning and team structure.

Uploaded by

fadosam801
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 28

Food Ordering website

INDEX

Sr no. Title Page no.


Part-I Introduction
1.1 Introduction to Project 3
1.2 Project Profile 4
Part-II System Analysis and Design
2. Project Planning 6
2.1 Scope of the System 6
2.2 Software Process Model 6
2.3 Project Team 7
3. System Design 8
3.1 Data Flow Diagrams 8-19
3.2 Er Diagram 20
3.3 Database Design 21-22
Part-III Implementation Details
4. Screen Layouts 24-46
Part-IV Tools & Technologies
5 About PHP 48
6 About Bootstrap Framework 49
7 About MySQL 50
8 Bibliography 51

P a g e 1 | 28
Food Ordering website

Part – I
Introduction

P a g e 2 | 28
Food Ordering website

1.1 Introduction to Project

Project Title: Food Ordering Website

In today’s fast-paced world, online food ordering has become an essential service. Our
Project, a Food Ordering Website, aims to provide a seamless and convenient platform
for customers to browse menus, place orders, and enjoy their favorite meals from local
restaurants or home-based kitchens.

Key Features

 User Friendly Interface: Customers can easily navigate through various food
categories and menus
 Easy Ordering: a simple process to select food items, customize preferences, and
place an order.
 Secure payments: Multiple payment options, including online transactions and on
delivery.
 Order Tracking: Customers can track their orders in real time.
 Restaurant dashboard: Restaurants can Manage menus, track orders, and update
availability.

Users and Functionalities


Admin:
 Login using username and password
 Dashboard
 Restaurant management
 Order management
 User Managements
 Transactions

User
 User Registration (Sign up/Login)
 Restaurant & menu Browsing

P a g e 3 | 28
Food Ordering website

 Easy Ordering process


 Order tracking

1.2 Project Profile

Project Title Food Ordering Website


Project Type Web Application
Font End Technologies HTML, CSS, Boot Strap Frame Work
Back End Technologies PHP, My-SQL
Database MySQL
Internal Guide Pritesh D Patel
Submitted By Aarti Nagolkar & Saswat Mishra

P a g e 4 | 28
Food Ordering website

Part – II
System Analysis and
Design

P a g e 5 | 28
Food Ordering website

2. Project Planning

2.1 Project Objective

 Develop a User Friendly food ordering website for customers, restaurants, and
administrators.
 Implement Secure Payment Methods and Time tracking Orders.
 Provide an efficient admin pane for restaurants and order management

2.2 Software Process Model

Waterfall Model
Waterfall approach was first SDLC Model to be used widely in Software Engineering to
ensure success of the project. In "The Waterfall" approach, the whole process of software
development is divided into separate phases. In this Waterfall model, typically, the outcome
of one phase acts as the input for the next phase sequentially.

The different phases of the Waterfall Model.

The sequential phases in Waterfall model are

P a g e 6 | 28
Food Ordering website

Requirement Gathering and analysis − All possible requirements of the system to be


developed are captured in this phase and documented in a requirement specification
document.

System Design
The requirement specifications from first phase are studied in this phase and the system
design is prepared. This system design helps in specifying hardware and system requirements
and helps in defining the overall system architecture.

Implementation
With inputs from the system design, the system is first developed in small programs called
units, which are integrated in the next phase. Each unit is developed and tested for its
functionality, which is referred to as Unit Testing.

Integration and Testing


All the units developed in the implementation phase are integrated into a system after testing
of each unit. Post integration the entire system is tested for any faults and failures.

Deployment of system
Once the functional and non-functional testing is done; the product is deployed in the
customer environment or released into the market.

Maintenance
There are some issues which come up in the client environment. To fix those issues, patches
are released. Also to enhance the product some better versions are released. Maintenance is
done to deliver these changes in the customer environment.

2.3 Project Team

Profile
Name Aarti Nagolkar & Saswat Mishra
Address Umbergaon, Gujarat, India
Contact No. 9067385516, 7600574874
E-mail Address [email protected] & [email protected]
Seat No. 370 & 369

P a g e 7 | 28
Food Ordering website

3.1 Data Flow Diagram

External Entities

Admin: Interacts with the system to manage everything


Restaurant Owner: Registers restaurants, update menu
User / Customer: View Menu, Place Order

Level 0 DFD

Login
Login

Customer Admin
Food
Acces
Ordering s
System
Access
Access

Register

Restaurant

P a g e 8 | 28
Food Ordering website

Level – 1 DFD

Register
Customer Admin

Manage Users
View Menu

Manage Registration
Place Order Food Ordering of Restaurants
View Order Status
System
Manage Menus

Manage Menu
Restaurant
Update Order Status

Register Themselves

P a g e 9 | 28
Food Ordering website

Level - 2 DFD

Can View Order


Status
Customer
Registers Can place an Order Status
New Users order

Place Order
Can browse
Register menu

View Menu

Add / Delete
Users Manage Users
Add / Delete
Menus
Add / Delete Restaurant
Admin Restaurants
Manage Menus
Manage Registration
of Restaurants

Can Change Order


Update Order Status
status according

Register Themselves
Updates Order
Can Register
status to admin
Themselves in FOS

P a g e 10 | 28
Food Ordering website

LEVEL-2 DFD
Master Entry for Admin

Add, Update and


Add, Update and
Delete Users
Delete Users Manage Users
Users
User Registration &
User Registration & Login Request
Login Request

Admin

Registered Restaurant List


Registered Restaurant List Manage
Restaurants Restaurants
Approve/Reject Restaurant Approve/Reject Restaurant
Registration Registration

LEVEL-2 DFD
Master Entry for Restaurants

Add, Update and


Add, Update and
Delete Menu
Delete Menu Manage Menu
Menus
User Registration &
User Registration &
Login Request
Login Request P a g e 11 | 28

Restaurants
Food Ordering website

Updated Order Information

Order Processing, Status


Update
LEVEL-2 DFD
Master Entry for Customers

User Registration & User Registration &


Login Request Login Request
View Menu Menu
Retrieve Menu Data
Retrieve Menu Data

Customer

Store Order Details Store Order Details


Place Order
Order
Approve / Reject Approve/Reject
Restaurant Restaurant

P a g e 12 | 28
Food Ordering website

3.3 Database Design

USERS (Customers)
Name Type Length Constrain Null Description
t
user_id int - Primary - autoincrement
name varchar 50 - - usertype
email Varchar 100 Unique - Users email address
Password Varchar 255 - - Hashed password for security
Phone varchar 20 - - Users phone number
Address text - - - Users delivery address

Restaurant table
Restaurant_id Type Length Constraint Null Description
Name varchar 100 - - autoincrement
Address text - - - Name of Course
Contacting_info varchar 50 - - Type of Course
Rating Decima 3,2 -
l
Cusine_type varchar 50 -

Menu item table:


Name Type Length Constraint Null Description
Menu_item_id Int - Primary,Aut - Unique id for each
o Increment menu item

Restaurant_id Int - Foreign Key - Id of the associated


restaurant
Name varchar 100 - - Name of the menu
item

P a g e 13 | 28
Food Ordering website

Description Text - - - Description for the


menu item
Price Decimal 10,2 - - Price for the menu
item
Category Varchar 50 - -- Category example
appetizer
Price Decimal 10,2 - - Item
Category Varchar 50 - - Price of the menu
item
Image Url Varcharr 255 - - Url for the image of
menu item
Availability_Status Boolean Default true - - Wether the item is
available or not
Created_at Date,Time Default - - Timeestammp when
current_timestamp the item is added
Updated_at Date,Time Default - - Timestamp when
current_timestammp the item was last
on update current updated
update timestamp
-
STAFF DETAILS:
Name Type Lengt Constraint Null Description
h
st_id int - Primary - autoincrement
st_name varchar 50 - - Name of Staff
st_email varchar 25 - - Email-ID
st_password varchar 10 - - Password
Payment table:
Name Type Length Constraint Null Description
Payment_id int - Primary key, auto - Unique id
increment
Order_id int - Foreign key to - Id for the order
orders
Payment_date Date, - Default - Timestamp of the payment
Time current_timestamp
Payment_method varchar 50 - - Payment method

P a g e 14 | 28
Food Ordering website

Part – III
Implementation
Details

P a g e 15 | 28
Food Ordering website

ADMIN PORTAL
Admin-Login Page

Admin Dash Board

P a g e 16 | 28
Food Ordering website

Page to add restaurants category and Restaurants

P a g e 17 | 28
Food Ordering website

Can Manage Menus

Customer Dashboard
Home Page P a g e 18 | 28
Food Ordering website

Restaurants and Their Menus

Users can Browse Menu

P a g e 19 | 28
Food Ordering website

can Place orders

Payment options & Bill

P a g e 20 | 28
Food Ordering website

Order Confirmation

P a g e 21 | 28
Food Ordering website

Order Status

P a g e 22 | 28
Food Ordering website

Part-IV
Tools & Technologies

5. About PHP

Introduction to PHP
PHP (Hypertext Preprocessor) is a widely-used open-source scripting language designed
primarily for web development. It is embedded within HTML and executed on the server,
making it a powerful tool for creating dynamic and interactive web applications. Initially
created by Rasmus Lerdorf in 1994, PHP has evolved into a robust and flexible language that
powers millions of websites worldwide, including major platforms like Facebook,
WordPress, and Wikipedia.

Features of PHP
PHP offers numerous features that make it a preferred choice for developers:

Open Source and Free – PHP is freely available for anyone to use and modify. This makes
it accessible to beginners and professionals alike.

Cross-Platform Compatibility – It runs on various operating systems, including Windows,


Linux, macOS, and Unix, ensuring flexibility in deployment.

Easy to Learn and Use – PHP has a simple syntax similar to C and JavaScript, making it
easy to grasp for developers familiar with these languages.

P a g e 23 | 28
Food Ordering website

Server-Side Execution – PHP scripts are executed on the server, and only the resulting
HTML is sent to the client's browser, enhancing security and efficiency.

Database Connectivity – PHP seamlessly integrates with multiple databases, such as


MySQL, PostgreSQL, and MongoDB, allowing dynamic content management.

Support for Various Protocols – PHP supports protocols like HTTP, HTTPS, FTP, and
more, making it suitable for web services and APIs.

Extensive Library Support – It provides numerous built-in functions and extensions for
handling images, encryption, file handling, and more.

Applications of PHP

PHP is versatile and used in various web applications, including:

Dynamic Websites – It enables interactive features like user authentication, comments, and
content updates.

Content Management Systems (CMS) – Platforms like WordPress, Joomla, and Drupal rely
on PHP for managing website content.

E-commerce Websites – Online stores such as Magento, WooCommerce, and OpenCart use
PHP to handle product catalogs, payments, and orders.

Web Applications – Custom applications like CRM, ERP, and project management tools are
often built using PHP.

APIs and Web Services – PHP facilitates API development, allowing applications to
communicate seamlessly.

P a g e 24 | 28
Food Ordering website

6. About Bootstrap Framework

Introduction to Bootstrap
Bootstrap is a free, open-source front-end framework designed to help developers create
responsive and mobile-first websites quickly and efficiently. Developed by Twitter and
released in 2011, Bootstrap provides a collection of HTML, CSS, and JavaScript components
that streamline the web development process. It is one of the most popular front-end
frameworks, widely used for building modern, responsive, and visually appealing websites.

Key Features of Bootstrap


Bootstrap offers several powerful features that make it a preferred choice for web developers:

Responsive Design – Bootstrap’s grid system automatically adjusts the layout to fit different
screen sizes, making websites mobile-friendly.

Pre-built Components – It includes ready-to-use UI components like buttons, navigation


bars, modals, alerts, and carousels, reducing development time.

Customizable – Developers can modify Bootstrap’s default styles and settings using CSS or
by overriding the built-in variables in Sass.

Cross-Browser Compatibility – Bootstrap ensures consistency across different web


browsers like Chrome, Firefox, Safari, and Edge.

Grid System – Its flexible 12-column grid layout helps design responsive and well-structured
web pages.

P a g e 25 | 28
Food Ordering website

Extensive Documentation – Bootstrap provides clear and detailed documentation, making it


easy for beginners to get started.

JavaScript Plugins – It includes built-in JavaScript components like dropdowns, modals,


tooltips, and popovers without needing additional libraries.

Applications of Bootstrap
Bootstrap is widely used for various web development projects, including:

Corporate Websites – Many businesses use Bootstrap for sleek and professional website
designs.

Landing Pages – It is perfect for building responsive and attractive landing pages.

Admin Dashboards – Bootstrap-based dashboards provide clean and functional user


interfaces.

E-commerce Websites – Online stores utilize Bootstrap for enhanced usability and
responsiveness.

Web Applications – Many modern web apps use Bootstrap to speed up UI development.

7. About MySQL

Introduction to MySQL
MySQL is an open-source relational database management system (RDBMS) that is widely
used for storing, managing, and retrieving structured data. It was initially developed by
MySQL AB in 1995 and later acquired by Oracle Corporation. MySQL is known for its
speed, reliability, and ease of use, making it a preferred choice for web applications,
enterprise software, and cloud-based solutions.

Key Features of MySQL


Open-Source and Free – MySQL is freely available under the GNU General Public License
(GPL), although commercial versions are also available.

Relational Database Management – It organizes data into tables with rows and columns,
enabling efficient storage and retrieval.

High Performance – MySQL is optimized for handling large amounts of data with minimal
latency, making it ideal for high-traffic websites.

Scalability – It supports scaling both vertically (adding resources to a single server) and
horizontally (distributing the database across multiple servers).

Data Security – MySQL offers robust security features such as user authentication,
encryption, and access control.

P a g e 26 | 28
Food Ordering website

Cross-Platform Compatibility – It runs on multiple operating systems, including Windows,


Linux, macOS, and Unix.

Integration with Web Technologies – MySQL seamlessly integrates with web development
technologies like PHP, Python, Java, and Node.js.

Support for Transactions – It supports ACID (Atomicity, Consistency, Isolation,


Durability) transactions, ensuring data integrity.

Replication and Clustering – MySQL provides replication and clustering for load balancing
and high availability.

8. Bibliography

Search Engine : Google

Online Resources:
 www.GeeksforGeeks.org
 www.tutorialspoints.com

P a g e 27 | 28
Food Ordering website

P a g e 28 | 28

You might also like