Beruflich Dokumente
Kultur Dokumente
1|Page
Error! Bookmark not defined.
2|Page
2.1. State Transition Diagram ........................................................................................................ 46
2.1. Component Diagram ............................................................................................................... 49
2.1. Deployment Diagram .............................................................................................................. 50
1.1 Introduction
Now a days, Smartphones are emerging exponentially and are prevalent to provide tech
services like navigation, web surfing, games, and almost all functionality just in your hand. This
change encourages the developers to develop apps that personalized to mobile phone terms and
could be used easily through this simple, light weight hand-held device.
Mobile applications (apps) can help people manage their own health and food, promote
healthy living through food, and gain access to useful information about restaurants when and
where they need it. These tools are being adopted almost as quickly as they can be developed.
Mobile has become an inseparable part of our existence. It is observed the unavailability
of information about nearby and top-rated do dishes has resulted into disappointment.
“DELICIOUS FOOD FINDER”. Addresses the concern of our society by using android
application development especially for Pakistan. However, developing this type of app gives a big
challenge because of the limited mobile resources such as the memory size, the CPU cycle, the
battery life, etc. Therefore, the approach that is used to solve this problem is to develop apps
conferring to the resource’s capacity of each mobile device.
Any new user that is new in country/city while entering a restaurant for food, one usually
struggles to acquire their Menu and Reviews to compare their food items, quality, pricing, service
and general ambiance. It is difficult to find a Restaurant with most liked dishes for a stranger or
for a new person. For this purpose, people head to social media or ask their colleagues. Using this
app user will beneficially helpful in a search for a restaurant and dishes by different criteria such
as restaurant name, dish name, or city name etc. It is basically food social app, which encircles all
taste needy persons to help them as early as possible. That’s why we name this application
“DELICIOUS FOOD FINDER”.
1.2 Purpose
Our main purpose of developing this app is to facilitate the people to find the delicious food in a
particular area. This application will make the eatery decision better of the people. It is very easy
to find the good taste in a particular area through the mobile application. With the help of this
application people don’t need to ask anyone spreading awareness of how we can consume extra
food wisely, instead of littering or wasting it. It is better to feed any hungry needy than to later liter
in bins, rotten on road and streets, and spread contagious diseases. It is an important cause of our
environment pollution. By using this app, people will be able to donate food at their doorstep in
just couple of minutes.
This application is based on some simple steps that allow donors to avail services by few clicks.
3|Page
1.3 Problem Statement
While entering a restaurant one usually struggles to acquire their menus and reviews to compare their
food items, quality, price, services and general ambiance.
Or visiting new place people head to social media or ask their colleagues. People have no idea about the
famous dishes of different restaurants. They always need help to make the decision about good taste.
1.4 Objective
Facilitate the people to find the restaurant easily through navigation.
People can find the famous dishes of different restaurants easily.
Management can enhance the publicity of their most delicious dishes.
People can find by their own.
Rating of Dishes
Verified reviews from user on Dish. It will generally impact on Dish Rating and it also helpful for
Restaurant fame and their good taste.
4|Page
Google Map API + v2 Key
Data Storage
API in PHP Web view
Admin Panel
Login
View Data (Restaurant + User + reviews)
Add, View, Remove, Update Restaurants
Add, View, Update, Remove Dishes
Update Timing of Restaurants
Send Discount Notification
Add, View, Update user, Delete user
View, Update, Remove user review
Change password
Restaurant Admin Panel
Signup and Login
View Data (Restaurants + Dishes + reviews)
Delete (Restaurants + Dishes)
Update (Restaurants + Dishes)
Send Discount Notification Through SMS
Add and Update location of Restaurant
View, Update basic information of Restaurant (timing + outdoor sitting + Wi-Fi)
Change Password
User Panel
Signup and Login
View (Restaurant + Dishes + Reviews)
View (Restaurants + Dish) Information in Detail
View Most Liked Nearby Restaurants Dishes
Give 5-Star Rating + Review on Dish
Received Discount Notification Through SMS
Get Recommendation of nearby dishes
Navigate path towards Restaurant (Google Map)
Searching (restaurant name) etc.
Change Password
5|Page
Chapter 2 Software Requirements Specification
6|Page
2.1 Introduction
2.1.1 Purpose
This document provides requirement specification for finding the nearest restaurants with their best
dishes. Our purpose is to make a user friendly, economic and common solution for our customers/users.
The users can also view information according to their roles. Our intention is to give access to the people
who want to identify best food nearby. The purpose is to develop an application that allows user to login
after creating account, user can search dish on the basis of quality and price, navigate towards restaurant
and provide recommendation.
2.1.2 Scope
The delicious food finder application includes all accessibility to the people who wants to know about
famous dishes of particular area. This application can be use country wide, in any city or town but the
application is running in Lahore, yet. Any person who wants to get information about delicious food can
use this application in just few clicks. By using Google maps API, user can access to the nearest restaurants
with their best dishes, where they can find the good food. In short, this app will help to make eatry decision
better, effective and efficient.
Term Definition
User/Customer Someone who interacts with the application to find delicious food.
Admin/Administrator System administrator who is given specific permission for managing and
controlling the system
Web-Portal A web application which present special facilities for donors and
Volunteers
Google Maps API Google maps application program interface
SDK Software Development Kit
2.1.4 References
https://www.w3schools.com/
https://www.tutorialspoint.com/
https://developer.android.com/reference/org/w3c/dom/Document.html
2.1.5 Overview
Overall d The SRS is divided into three major components:
The first part contains the introduction about the project to be prepared; it also describes the basic
purpose and the scope of the document.
The second part describes the overall description about the project. Then in the last part specific
requirements are listed.
Next, we explain the design procedures with the help of different UML diagrams. In the next phase we
explain all the testing strategies that are used and finally the document lists down all the technologies
that the project is using.
7|Page
2.2 Overall description
8|Page
Keyboard 108 keys
Monitor VGA
Mobile/Tab Minimum 1 GB Ram
2.2.1.4 Software Interface
User / Interface Material Design / UI /UX / API in php / Bootstrap
Language Android Programming, Php,
Database: MYSQL
2.2.1.5 Communication Interface
As this application is web and android based, the communication between the web and android application will
be done by volley library.
2.2.1.6 Memory
There are no constraints on either primary or secondary memory.
2.2.1.7 Operations
The basic operations that will be done by Admin, Restaurant manager and Customer/User are as follow:
Admin will add, delete or update the accounts of restaurant Manager and Customer. Admin will maintain
the website, records, etc.
Restaurant manager will register, login website, update, view and some delete functionalities.
Customer/User will register, create profile, find restaurant detail, dishes details, and navigation towards
restaurant, and even can search the restaurant or dishes on the basis of quality and price through
reviews.
2.2.1.8 Site adaptation requirements
There are no special requirements for this site adaption a user just must have any smart phone, laptop or
computer.
ID FR_01
Name signup
To Create Account Open the application Signup page is Internet Connectivity Open application to
and click signup shown required sign up.
button
Name Login
To log in to the Open the application Log in page is shown Internet Connectivity Open the
page and click signup and registration is Application to
button required. login
ID FR_01
Name Search
To search the User should login to Searching Options Internet Connectivity Login to the
details the account displayed and login required application and
search the restaurant
or their dishes
10 | P a g e
ID FR_01
Name Navigate
To get direction Open the application Navigation started Internet Connectivity Open the
and login, then use successfully required application login,
navigation, current use navigation
location is required towards restaurants
open
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website and
highlights the website and successfully required click on highlights
click highlights button to view
button highlights
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
11 | P a g e
click highlights button to view
button highlights
5
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
7
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
9
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
12 | P a g e
highlights the website and successfully required click on highli
click highlights button to view
button highlights
11
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
13
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
15
ID FR_01
13 | P a g e
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
17
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
19
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
21
ID FR_01
14 | P a g e
Description Input Output Requirements Basic Work F
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
23
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
25
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
27
ID FR_01
15 | P a g e
Name View highlights
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
29
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
31
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
33
16 | P a g e
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
35
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
37
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
17 | P a g e
39
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website
highlights the website and successfully required click on highli
click highlights button to view
button highlights
41
ID FR_01
To view Enter URL to open Highlights viewed Internet Connectivity Open website and
Highlights the website and successfully required click on highlights
click highlights button to view
button highlights
2.2.4.1Hardware Limitations
There is no tough hardware required for using our application but it is recommended to use better machine to run
application perfectly.
18 | P a g e
2.2.4.2 Parallel Operations
There are no parallel operations in our system because we design interface in such a way that all operations are
in sequence and it consists of simple and easy steps.
2.2.4.3 Control Functions
Functions should be in control of admin so the ordinary user don’t get any access of the system. We make sure
that our system doesn’t allow any un-authorized access.
2.2.5 Assumptions and Dependencies
Dependency of our product is that always be used if you have internet connection. Some of the others are
as follows:
User must have mobiles or pc/laptops according to system requirement for the intermediate connection.
Updates are required so that the admin work properly all the time.
The website will target the both system users and smart phone users according to their requirement.
If there is anything which need to update in the website, it should be deal well.
User should have the basic knowledge of the system.
Catalogue or manual would be provided.
2.2.6 Apportioning of requirements
If there are any updates in the software, we may need a few additional requirements to cope with the problem.
2.3.2.2 Operability
The whole installation should be in a safe and reliable functioning condition, according to pre-defined operational
requirements.
2.3.2.3 Reliability
The specified components should be able to perform its required functions under stated conditions for a specified
period of time.
2.3.2.4 Performance
Focus should be kept on monitoring and managing the performance and service availability of software of
applications.
20 | P a g e
Chapter no.3
21 | P a g e
3.1 Use Case Diagram
22 | P a g e
3.1.1 Signup
23 | P a g e
Alternative path
User Activity System response
3.1.2 Login
24 | P a g e
1.User observed login panel
2.User enter user name and password
3.User press login button 3.System verify user name and password
4.System view profile page
Alternative path
User Activity System response
1.invalid password or user name
2.System signal error and reject login process and
redirect to login page
3.1.3 Rating
25 | P a g e
Use Case Id: 03
Use Case Name: UC – Rating
Level: User
Primary Actor: User
Goal: To give review and rating on dishes
Pre-condition User should be login
Post Condition: Give rating and review successfully
Trigger: User
User Activity System response
Alternative path
User Activity System response
3.1.4 Navigation
26 | P a g e
Use Case Id: 04
Use Case Name: UC – Navigation
Level: User
Primary Actor: User
Goal: Navigate path toward restaurant
Pre-condition System display a list of top dishes
Post Condition: A path will be shown to user restaurant
Trigger: User
Alternative path
1.User press add restaurant button 1.Show google map with moving pointer on map
2.User after searching city more cursor on map to Save exact location of restaurant
save exact location
Alternative path
28 | P a g e
Use Case Id: 06
Use Case Name: UC – SMS notification
Level: Restaurant admin/Main admin
Primary Actor: Restaurant admin/Main admin
Goal: Send SMS notification of dish discount
Pre-condition Admin should be login
Post Condition: Send dish discount notification through SMS to user that give rating
Trigger: Restaurant admin/Main admin
Alternative path
29 | P a g e
Delicious Food Finder
Chapter 4
30 | P a g e
Delicious Food Finder
31 | P a g e
Delicious Food Finder
32 | P a g e
Delicious Food Finder
The level 0
The flow of information inside the system is defined in this level
33 | P a g e
Delicious Food Finder
The level 1
The flow of information outside the system is defined in this level
34 | P a g e
Delicious Food Finder
35 | P a g e
Delicious Food Finder
36 | P a g e
Delicious Food Finder
37 | P a g e
Delicious Food Finder
1.1 Manager
38 | P a g e
Delicious Food Finder
1.1 User/Customer
39 | P a g e
Delicious Food Finder
You can easily see how tasks are distributed between components.
You can identify patterns of interaction that make it difficult to update the software.
a) Login
This sequence diagram is to elaborate login sequence of system for user.
40 | P a g e
Delicious Food Finder
Rating
This diagram shows how user perform rating and review of dish.
41 | P a g e
Delicious Food Finder
c) Navigation
This sequence diagram show how user navigate its path towards restaurant.
42 | P a g e
Delicious Food Finder
e) Add location
This sequence diagram show how Main Admin/Restaurant Admin add location
of Restaurant through Google Map.
43 | P a g e
Delicious Food Finder
2.1. Collaboration
44 | P a g e
Delicious Food Finder
45 | P a g e
Delicious Food Finder
46 | P a g e
Delicious Food Finder
47 | P a g e
Delicious Food Finder
48 | P a g e
Delicious Food Finder
49 | P a g e
Delicious Food Finder
50 | P a g e