Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
FoodSetGo
SUBMITTED BY:
Mohammad Ghaffar (70035564)
Zain Khalid (70031823)
Babar Ali (70032173)
DEGREE
Bachelor of Science in Software Engineering
DEPARTMENT
Computer Science and IT
i
FoodSetGo
SIGNATURE PAGE
STATEMENT OF SUBMISSION
Submitted to The University of Lahore in partial fulfillment of the requirements for the award of
degree of Bachelors of Science in Software Engineering (Hons).
(Lecturer UOL)
Department of CS & IT
ii
FoodSetGo
DECLARATION
We hereby declare that this research work, neither as a whole nor as a part has already been
written by any person. It is further declare that we have done the research entirely upon the
basis of our personal efforts made under the guidance of my supervisor. No portion of the work
presented in this thesis has been submitted in support of any research for any other degree or
qualification of this or any other University of institute or institute of learning. This declaration is
submitted for the award of BS Software Engineer.
iii
FoodSetGo
ACKNOWLEDGEMENT
All the praises to the most Beneficent and Compassionate, ﷲthe Almighty, whose blessings and
strengths enabled us to complete this documentation for our BSSE. Millions of Darood-o-Salam
to Holy Prophet Hazrat Mohammad ﷺ. The satisfaction that accompanies that the successful
completion of any task would be incomplete without the mention of people whose ceaseless
cooperation made it possible, whose constant guidance and encouragement crown all efforts
with success. We have made this report file on the topic FoodSetGo. We have tried our best to
illustrate all the relevant detail to the topic to be included in the report. First and foremost, we
would like to express our humblest gratitude for our eminent good natured and gracious
supervisor, Mr. Syed Zishan Ali. His vast knowledge in the subject, patience, enthusiasm,
expertise, instantaneous and timely guidance has always been a source of encouragement for us.
We have been extremely lucky for being able to work under supervision of encouraging and
considerate advisor. His invaluable help and suggestions throughout the work have contributed
to the success of this research work. We are really grateful to Mr. Syed Zishan Ali for the valuable
suggestions and advices. We thank him for providing us the support, confidence and most
importantly the track for the topic whenever we needed it. Working as a team we realized lot of
things like how to manage work as a team, experience to work in a team. We also want to thanks
to all the professors and all staff members and friends for all the help and co-ordination extended
in bringing out this project report successfully in time. Last but not least; we are very much
thankful to our parents who guided us in every step which we took.
iv
FoodSetGo
Table of Contents
CHAPTER – 1 ................................................................................................................................................. 1
1.1 Introduction .................................................................................................................................. 2
1.2 Purpose ......................................................................................................................................... 2
1.3 Objective ....................................................................................................................................... 3
1.4 Existing Solution ........................................................................................................................... 3
1.5 Proposed Solution ........................................................................................................................ 4
CHAPTER – 2 ................................................................................................................................................. 5
2.1 Introduction .................................................................................................................................. 6
2.1.1 Purpose ..................................................................................................................................... 6
2.1.2 Scope ......................................................................................................................................... 6
2.1.3 Overview ................................................................................................................................... 6
2.2 Overall Description ....................................................................................................................... 6
2.2.1 Product Perspective ................................................................................................................. 6
2.2.2 Product Functions..................................................................................................................... 7
2.2.3 User Characteristics .................................................................................................................. 8
2.2.4 Constraints ................................................................................................................................ 8
2.2.5 Assumptions and Dependencies .............................................................................................. 8
2.3 Specific Requirements .................................................................................................................. 8
2.3.1 Non-functional Requirements ................................................................................................. 8
2.3.2 Functional Requirements ....................................................................................................... 10
2.3.2.1 Administration........................................................................................................................ 11
2.3.2.2 Customer ................................................................................................................................ 11
2.3.2.3 Restaurant .............................................................................................................................. 15
Chapter – 3 ................................................................................................................................................. 19
3.1 Aggregated Use Case Diagram ................................................................................................... 20
3.2 Administration............................................................................................................................ 20
3.2.1 Login .................................................................................................................................... 20
3.2.2 Manage Issues .................................................................................................................... 21
3.3 Customer .................................................................................................................................... 23
v
FoodSetGo
vi
FoodSetGo
List of Tables
Table 1 Manage Customers ........................................................................................................................ 11
Table 2 Manage Restaurant ........................................................................................................................ 11
Table 3 Customer Register .......................................................................................................................... 12
Table 4 Customer Login .............................................................................................................................. 12
Table 5 View Menu ..................................................................................................................................... 13
Table 6 Add Meal to Cart ............................................................................................................................ 13
Table 7 Total Bill of Customer ..................................................................................................................... 14
Table 8 Delete/Cancel Order ...................................................................................................................... 14
Table 9 Track Order..................................................................................................................................... 14
Table 10 Apply for Job................................................................................................................................. 15
Table 11 Restaurant Registration................................................................................................................ 15
Table 12 Restaurant Login .......................................................................................................................... 16
Table 13 View Order ................................................................................................................................... 16
Table 14 Cancel Order................................................................................................................................. 16
Table 15 Update Menu ............................................................................................................................... 17
Table 16 Post a Job...................................................................................................................................... 17
Table 17 Delete Job ..................................................................................................................................... 17
Table 18 Customer Details .......................................................................................................................... 18
Table 19 Admin Login.................................................................................................................................. 21
Table 20 Manage Issues .............................................................................................................................. 22
Table 21 Customer Registration.................................................................................................................. 23
Table 22 Customer Login ............................................................................................................................ 24
Table 23 Search Restaurant ........................................................................................................................ 25
Table 24 Select Meal ................................................................................................................................... 26
Table 25 Add Meal to Cart .......................................................................................................................... 27
Table 26 Place Order ................................................................................................................................... 29
Table 27 Track Order................................................................................................................................... 30
Table 28 Make Payment ............................................................................................................................. 31
Table 29 Apply for Job................................................................................................................................. 32
Table 30 Restaurant Registration................................................................................................................ 33
Table 31 Restaurant Login .......................................................................................................................... 34
Table 32 Update Menu ............................................................................................................................... 35
Table 33 Check Order.................................................................................................................................. 36
Table 34 Confirm Order .............................................................................................................................. 37
Table 35 Post a Job...................................................................................................................................... 38
Table 36 Delete a Job .................................................................................................................................. 39
Table 37 Deliver Meal ................................................................................................................................. 40
Table 38 Receive Payment .......................................................................................................................... 41
vii
FoodSetGo
List of Figures
Figure 1 Aggregated Use Case .................................................................................................................... 20
Figure 2 Admin Login .................................................................................................................................. 20
Figure 3 Manage Issues ............................................................................................................................... 21
Figure 4 Customer Registration .................................................................................................................. 23
Figure 5 Customer Login ............................................................................................................................. 24
Figure 6 Search Restaurant ......................................................................................................................... 25
Figure 7 Select Meal .................................................................................................................................... 26
Figure 8 Add Meal to Cart ........................................................................................................................... 27
Figure 9 Place Order.................................................................................................................................... 28
Figure 10 Track Order ................................................................................................................................. 29
Figure 11 Make Payment ............................................................................................................................ 30
Figure 12 Apply for Job ............................................................................................................................... 31
Figure 13 Restaurant Registration .............................................................................................................. 32
Figure 14 Restaurant Login ......................................................................................................................... 33
Figure 15 Update Menu .............................................................................................................................. 34
Figure 16 Check Order ................................................................................................................................ 35
Figure 17 Confirm Order ............................................................................................................................. 36
Figure 18 Post a Job .................................................................................................................................... 37
Figure 19 Delete a Job ................................................................................................................................. 38
Figure 20 Deliver Meal ................................................................................................................................ 39
Figure 21 Receive Payment ......................................................................................................................... 40
Figure 22 Deposit Payment ......................................................................................................................... 41
Figure 23 Architecture Diagram .................................................................................................................. 44
Figure 24 Entity Relationship Diagram........................................................................................................ 45
Figure 25 DFD Level 0.................................................................................................................................. 48
Figure 26 DFD Level 1.................................................................................................................................. 49
viii
FoodSetGo
ix
FoodSetGo
CHAPTER – 1
1
FoodSetGo
1.1 Introduction
The Food Set Go system sets up a food menu online and customers can easily place the order as
per they like. Also with a food menu, online customers can easily track the orders. The
management maintains customer’s database, and improve food delivery service. The Restaurant
management systems motivates us to develop the system. There are various facilities provided
so that the users of the system will get service effectively. Again, the idea comes that mostly mess
users are person who are shifted for various reason in new cities. So, they are interrelated.
Increasing use of smart phones is also considered as a motivation, so that any users of this system
get all service on single click. Another motivation can be considered as the system will be
designed to avoid users doing fatal errors, users can change their own profile, users can track
their food items through GPS, and users can provide feedback and recommendations. This
proposed system will be used by the people who keep shifting from cities to cities. As well as, it
will be useful for the students studying in different cities. There will be no limitation on the
amount of order the customer wants. Our proposed system provides the general population with
the facility of locating nearby restaurants, ordering their meal thru our system and delivering
them at their doorstep. The software will first automatically detect the location of the user or the
user can manually enter their location. Then the program will show the user, all the nearby
restaurants registered with the software. Users can also locate restaurants with a specific food
type like fast food or desi. Users can check different credentials, such as name, address and
contact info of the restaurant registered with the system. Payment method would be cash on
delivery. The system/interface will take input from the user. The major attributes that will give
input to the dataset are: name, address, email-Id, mobile no. etc. The output will include
user/customer’s Order, Bill, Feedback and Payment options. Initially there will be 15 to 20
restaurants considered inside Lahore city.
1.2 Purpose
Our main Purpose is to develop an online food ordering system that minimizes the amount of the
burden on the staff at restaurants by
Allowing users to place their order online using android app (in future) and website on
computers.
That saves customer’s time and expenses by allowing them ordering with few clicks
without the need to be put in waiting line and long loop calls.
That is convenient for customers to use.
That is available for customers 24/7.
That is specifically designed to target the Lahore customers.
That is fast so the order customer places reaches related restaurant as quickly as possible.
2
FoodSetGo
1.3 Objective
Following are the core objectives we will achieve at end.
• It is easier for customers to visit a single website or app instead of visiting every
restaurant chain in the area.
• With a website or app, customers have more options and it becomes easier to explore
all the restaurants and cuisines available in the area.
• Customers can compare prices, reviews and ratings for quality assurance.
• To increase efficiency and improve services provided to the customers through better
application of technology in daily operations.
• Customers can have a visual confirmation that the order was placed correctly.
• Accessibility freedom of Customer.
• Customer satisfaction and happiness.
• Quick response of the users’ queries.
• Having a relationship between a restaurant and the customers.
• Give the customer an opportunity to buy Breakfast, Lunch and Dinner on the click of
a button.
3
FoodSetGo
4
FoodSetGo
CHAPTER – 2
5
FoodSetGo
2.1 Introduction
2.1.1 Purpose
FoodSetGo is a system designed primarily for use in the online food ordering system. This
system will help restaurants to increase scope of business by reducing the labor cost
involved. The system also allows to quickly and easily manage an online menu which
customers can browse and use to place orders with just few clicks. Restaurant employees
then use these orders through an easy to navigate graphical interface for efficient
processing.
2.1.2 Scope
FoodSetGo main aim is to simplify and improve the efficiency of the ordering process for
both customer and restaurant, minimize manual data entry and ensure data accuracy and
security during order placement process. Customers will also be able to view product
menus and there ingredients and be able to have a visual confirmation that the order was
place correctly.
2.1.3 Overview
Our proposed system is an online food ordering system that enables ease for the
customers. It overcomes the disadvantages of the traditional queueing system. Our
proposed system is a medium to order online food hassle free from restaurants as well as
mess service. This system improves the method of taking the order from customer. The
online food ordering system sets up a food menu online and customers can easily place
the order as per their wish. Also with a food menu, customers can easily track the orders.
This system also provides a feedback system in which user can rate the food items. The
system will be designed to avoid users doing fatal errors, users can change their own
profile and users can track their food items through GPS. We will make a website as well
as an Android App of this system with a central database.
6
FoodSetGo
Customer:
Register
Login / Logout
View Menu
Add Meal to Cart
Place Multiple Meal Orders
Can see total bill of ordered meal
Delete Orders
Track Order Delivery
Apply for Job
View Restaurant details like Address and Contact Number
Restaurant:
View Order
Cancel Order
View Menu
Update Menu
Add Job Opportunity
Delete Job Opportunity
View Customer Details
Call Customer for Confirmation of Order Placed
7
FoodSetGo
2.2.4 Constraints
User should know how to use internet.
User needs to register to have access to every restaurant.
A user cannot be registered twice by same email address.
Email and password is used for authentication of user.
Database server may have connectivity issue which may hinder other functionality
of the system.
Loading time of the system may be an issue. It will be variable because of
difference in end user computer specification and internet quality.
All database operations must be with MySQL Database.
Scripting can be only in JavaScript.
8
FoodSetGo
Performance Requirements
The software shall accommodate to save high number of records of customers
and products items without any fault. The performance of the system is not only
depends on web server but also on end users computer. The system is designed
using PHP with MySQL database. All pages of system are light weight as there will
be PHP and HTML coding with light images. We are not using high graphics and
big size images that will take forever to load. Time is the main factor involved in
performance; our application fulfills every desired task in the minimum time. The
performance of the system depends upon web server and upon network speed.
This system is web based therefore it also depends upon internet speed.
The XAMPP tool was used while developing the system so it makes it more
efficient to perform in any environment. We have made a system that performs
well in all situations like low speed network as well as high speed.
Software Requirements
Software use shall not cause any harm to human users. It is in fact build for the
benefit of the customers who will save a lot of time and money through online
order and delivery instead of wasting time in waiting and money on extended long
phone calls.
Security Requirements
Software will use secured database. Only registered user can order and a
privileged Admin can access their restaurant. The system will not allow anyone to
place order without registering as the information during registration will be used
for delivery. Registration is only a one-time process and it will save user the hurdle
of giving his information of place, phone and name. Only a privileged admin will
have access to the admin panel of restaurant. Security is also placed on user
without admin privilege trying to access the admin panel through URL. User’s
personal information like phone is encrypted and secured.
Efficiency
With technological advancements life has become much easier, efficient and fast.
As our generation has entered to a digital era, every field of life has altogether
adopted a new change.
The computerized system introduced here will increase efficiency. Due to accurate
speed it will work properly. Use of sessions for most of our work makes this site
efficient and performs faster. The order, food menus are processed through
database which make our site efficient.
9
FoodSetGo
Reliability
Our system is very reliable. When a user submits his order selecting meal from his
favorite fast food points, his order is then split and submitted to the concerned
restaurant that can view order, customer information and then deliver it.
Digital system is for more reliable than manual as data managed through online
databases instead of oral or manual orders. There are high chances of managers
or the cook forgetting the orders. Our system makes sure the order is in the order
list until it is delivered. Then the admin of the franchise can delete that order if it
is submitted successfully.
Data Security
Our system secures personal information of the users by encrypting. Our system
makes sure no one can access the admin panel other than the authorized person.
As we have different franchises in our system. We make sure one admin cannot
access other franchise personal data.
Maintainability
Our system is easily maintainable. Flaws are easily detected and removed.
Validation
Validation is one of the strong point of our system. We are using validation from
users register forms to submit forms and from main admins management of the
system to the station admins management of their station. We are using
validation everywhere necessary in the system. No user is allowed to submit their
order without giving the necessary details by the system. No restaurant admin can
insert data without going through various validation checks.
Modification
We allow data modification of certain aspects of the system. For example a
franchise wants to delete the menu or want to insert a new one, it is easily doable
through their station admin panel. We have made sure the modification is doable
as it is constant need of fast food points to add or remove food menus.
Portability
This system can run on any system like Windows, Macintosh or even Android or
iPhone. This system can run on any browser like Chrome, Firefox, Opera or Safari.
10
FoodSetGo
2.3.2.1 Administration
o Add, Delete Customers.
o Add, Delete Restaurants.
ID: FR_01
Name: Manage Customer
Description Input Output Basic work flow
Administration can add or Login Creation or Enter customer
delete any customer. deletion of a details and add or
Details of customer account. delete him in the
customer system.
ID: FR_02
Name: Manage Restaurant
Description Input Output Basic work flow
Administration can add or Login Creation or Enter restaurant
delete any restaurant. deletion of a details and add or
Details of restaurant delete it in the
restaurant account. system.
2.3.2.2 Customer
o Register
o Login
o View Menu
o Add Meal to Cart
o Can see total bill of ordered meal
o Delete Orders
o Track Order Delivery
o Apply for Job
11
FoodSetGo
ID: FR_03
Name: Register
Description Input Output Basic work flow
Register customer into the system Name Creation of a Customer opens
customer the app and click
Address account. on register
button.
Contact Number Customer put his
all required
Email Address information and
customers
account is
created.
Table 3 Customer Register
ID: FR_04
Name: Login
Description Input Output Basic work flow
Customer can login into the system Email Address Login of a Customer opens
customer the app and click
on login button.
Password Customer put his
email address
and his password
which he created
while registering.
Customer is
logged into the
system.
Table 4 Customer Login
12
FoodSetGo
ID: FR_05
Name: View Menu
Description Input Output Basic work flow
Customer can view the Restaurant Name Shows menu of Customer opens
menu of a restaurant. selected the app and click
Food Type restaurant. on selected
restaurant.
Restaurant menu
appears on
customer screen.
Customer can
select his desired
meal.
Table 5 View Menu
ID: FR_06
Name: Add Meal to cart
13
FoodSetGo
ID: FR_07
Name: Total Bill
Description Input Output Basic work flow
Customer can now see his View Cart System shows the Customer click on
total bill of his selected meal. cart of his selected cart button.
meals and shows Customer can now
the total amount see the selected
to be paid. meals and his total
bill.
Table 7 Total Bill of Customer
ID: FR_08
Name: Delete an Order
Description Input Output Basic work flow
Existing order is Delete all the Order Deleted Cancel/delete the
deleted/cancelled. information of the order
order.
Table 8 Delete/Cancel Order
ID: FR_09
Name: Track Order
14
FoodSetGo
ID: FR_10
Name: Apply for Job
Description Input Output Basic work flow
Customer can apply for the Check Restaurants Available jobs. Customer click on
posted jobs on the portal. Vacancies. careers button.
Customer can now
see the open
vacancies at
different
restaurants.
Table 10 Apply for Job
2.3.2.3 Restaurant
o Register
o Login
o View Order
o Cancel Order
o Update Menu
o Add Job Opportunity
o Delete Job Opportunity
o View Customer Details
ID: FR_11
Name: Register
Description Input Output Basic work flow
Register restaurant Restaurant Name Creation of a Restaurant opens
into the system. restaurant the app and click
Address account. on register button.
Restaurant put his
Contact Number all required
information and
Email Address restaurant account
is created.
Menu
Table 11 Restaurant Registration
15
FoodSetGo
ID: FR_12
Name: Login
Description Input Output Basic work flow
Restaurant can Email Address Login of a Restaurant opens
login into the system. restaurant the app and click
on login button.
Password Restaurant put his
email address and
his password
which he created
while registering.
Table 12 Restaurant Login
ID: FR_13
Name: View Order
ID: FR_14
Name: Cancel an Order
Description Input Output Basic work flow
Existing order is Cancel all the Order Cancelled Cancel the order and
cancelled. information of the system will inform the
order. customer that your
order has been
cancelled by the
restaurant.
Table 14 Cancel Order
16
FoodSetGo
ID: FR_15
Name: Update Menu
Description Input Output Basic work flow
Restaurant can update or Deals Updated Menu. Restaurant
change the menu into the system. manager can
New Prices update the menu
and change the
Delete a meal prices of meals or
from the list. add any new
deals and
discounts.
Table 15 Update Menu
ID: FR_16
Name: Add Job
ID: FR_17
Name: Delete Job
Description Input Output Basic work flow
Existing job opportunity is Delete all the Job Deleted Delete the Job and its
deleted. information of the details.
job.
Table 17 Delete Job
17
FoodSetGo
ID: FR_18
Name: Customer Details
Description Input Output Basic work flow
Restaurant can see all the Details of customer. Customer details When an order is
details of the customer. placed in the system,
restaurant can now
see the required
details of the
customer that are
necessary for the
meal delivery like
customer Name,
Address and contact
number.
Table 18 Customer Details
18
FoodSetGo
Chapter – 3
19
FoodSetGo
3.2 Administration
3.2.1 Login
20
FoodSetGo
Primary, Administrator.
Secondary Actors
Trigger Login Request comes in.
Basic Events Flow Step Action
21
FoodSetGo
Preconditions Admin should be logged in and have full contact with both the restaurant and
the customer.
Success End Condition Managed issues without any loss of stakeholders.
Failed End Condition Issue is not managed and lose any restaurant or customer or both.
Primary, Administrator
Secondary Actors
Trigger Any complain comes in.
Basic Events Flow Step Action
22
FoodSetGo
3.3 Customer
3.3.1 Register
23
FoodSetGo
3.3.2 Login
24
FoodSetGo
25
FoodSetGo
26
FoodSetGo
27
FoodSetGo
28
FoodSetGo
29
FoodSetGo
30
FoodSetGo
31
FoodSetGo
32
FoodSetGo
3.4.2 Login
33
FoodSetGo
34
FoodSetGo
35
FoodSetGo
36
FoodSetGo
Success End Condition Customer receives his food and restaurant have money for food.
Failed End Condition Customer does not have money, restaurant failed to deliver food.
Primary, Restaurant Manager.
Secondary Actors
Trigger Place order request comes in.
Basic Events Flow Step Action
37
FoodSetGo
38
FoodSetGo
Failed End Condition Manager faces an issue regarding deleting the job post.
Primary, Restaurant Manager.
Secondary Actors
Trigger Delete job request comes in.
Basic Events Flow Step Action
39
FoodSetGo
40
FoodSetGo
Secondary Actors
41
FoodSetGo
42
FoodSetGo
Chapter – 4
Design
43
FoodSetGo
44
FoodSetGo
45
FoodSetGo
46
FoodSetGo
applicant_phone varchar(11) no
applicant_email varchar(50) no
restaurant varchar(50) no
Table 44 Job Applicants Data Dictionary
47
FoodSetGo
purchases int(10) no
address varchar(50) no
phone varchar(11) no
Table 49 Users Data Dictionary
48
FoodSetGo
49
FoodSetGo
50
FoodSetGo
51
FoodSetGo
52
FoodSetGo
53
FoodSetGo
54
FoodSetGo
55
FoodSetGo
56
FoodSetGo
57
FoodSetGo
58