A Software Engineering Project
On
WebPOS
as the partial fulfillment of
Semester - IV study
for the degree of
Master of Science (Computer Application)
(Affiliated to Veer Narmad South Gujarat University)
during the academic year 2020-2021.
Developed By: Internal Guide:
Vandana Prajapati Dr. Yesha Mehta
External Guide:
Mr. Pratik Chauhan
Sarvajanik Education Society
Shree Ramkrishna Institute of Computer Education and Applied Sciences
Behind P.T Science College, M.T.B. College Campus, Athwalines, Surat-395 001.
Sarvajanik Education Society
Shree Ramkrishna Institute of Computer Education and Applied Sciences
Behind P.T. Science College, M.T.B College Campus, Athwalines, Surat-395001.
CERTIFICATE
DEPARTMENT OF COMPUTER SCIENCE
This is to certify that Vandana Prajapati with Exam no 10014
has successfully completed her software engineering Project work entitled
WebPOS
as the partial fulfilment of
Semester -IV study
for the degree of
Master of Science (Computer Application)
(Affiliated to Veer Narmad South Gujarat University)
during the academic year 2020-2021.
Internal Project Guide Head of Department I/C Principal
Date :_____________ Place: Surat
University Examination:
Examination No. :
Signature of External Examiners :
INTRODUCTION
SRICEAS 3 WebPOS
INTRODUCTION
SRICEAS 4 WebPOS
INTRODUCTION
INDEX
[Link] CONTENTS Page.
1. Introduction 6
Company profile 7
Project profile 8
2. System Introduction 9
System Aim & Objective 10
System Definition 10
System Scope 10
Limitations (System/Business level) 11
Feasibility Study 11
Hardware, Software Requirements 12
New Tools/ Technologies learned/used 12
3. Requirement Analysis 14
System Requirements 15
Use cases, Activity diagrams, 16
Sequence diagram
Data Dictionary 25
4. Design 26
Interface design 27
Database Design
System Architecture 75
System Flowchart 76
5. Code Methodology 78
Code Rules/Code guidelines/Code styles 79
Code Optimization 79
6. Testing 80
Unit Testing 81
Integration testing 81
System testing 81
Usability Testing 82
User Satisfaction Testing 82
7. Future Enhancement 84
8. Bibliography & References 85
SRICEAS 5 WebPOS
INTRODUCTION
1. Introduction
SRICEAS 6 WebPOS
INTRODUCTION
1.1 Company Profile:
Company Name : Tenacious Techies
912 B, International Commerce
Company Address : Chamber, near Kadiwala School,
Majura Gate, Surat, Gujarat 395002
Founder & Director : Mr. Jigar Doriwala
Business Type : . IT Consultancy
Developed For : Tenacious Techies
Phone No : +91 9979619126
SRICEAS 7 WebPOS
INTRODUCTION
1.2 Project Profile:
WebPOS Web based Point of Sale System for
Project Title
Restaurants
WebPOS is an online and mobile food ordering
Project Definition system which we have developed for restaurant
owners and food lovers.
Operating System Tenacious Techies
Front End [Link](MVC)
Back End MYSQL
Used Technology Ajax, JQuery, Angular Js, JavaScript , HTML
Tools used for UML Microsoft Word 2016
Project Duration 6 Months
Project Guide Dr. Yesha Mehta
Team Members Vandana Prajapati
SRICEAS 8 WebPOS
SYSTEM INTRODUCTION
2. System Introduction
SRICEAS 9 WebPOS
SYSTEM INTRODUCTION
2.1 System Objective
We are fastest growing online food ordering [Link] aim that even small restaurant business
can grow their business online.
Customer can order food item online with great discounts.
Admin can track all the order Activity.
Admin can see all the customers ordering food from their restaurant.
Admin generate various reports almost instantly when required.
2.2 System Definition
WebPOS is an online and mobile food ordering system which we have developed for
restaurant owners and food lovers.
Through WebPOS we are helping customers to discover the best restaurants in city. If you are
restaurant owner, you can easily register your restaurant and upload restaurant menu to start
receiving online order through this fast growing portal without any cost.
2.3 System Scope
This system is design to see all food details around particular food.
Customer of WebPOS can select any method for food ordering.
WebPOS is also providing facility to offer all there or any of them ordering method to
restaurant owner.
Take Away
Dine In
Delivery
The present project elucidates the following features.
Order online
Searching a food.
SRICEAS 10 WebPOS
SYSTEM INTRODUCTION
2.4 Limitations
If the point-of-sale system is Internet-based, there is no access to it if your Internet
connection goes off-line.
There are ongoing costs associated with software-based POS systems.
Software upgrades can be expensive.
You will also have to pay ongoing fees if you’re subscribing, however, you need to
consider the overall savings the POS system can offer your business.
As with all forms of payment systems that are accessible by the public, there are some
security risks.
2.5 Feasibility Study
WebPOS is a web based point of sale system. The main technology and tools that are used
in the project are:
Html
CSS
Bootstrap(version 3)
Angular js(front-end)
[Link] web api’s (back-end) (mvc framework)
Visual studio 2019
My SQL(database)
This tools and technology are used in this project. Which are implemented to develop this
web based application
SRICEAS 11 WebPOS
SYSTEM INTRODUCTION
2 .6 Hardware Software Requirements
Hardware Requirement :
1. Operating System : Windows 10 or above
2. Ram : 4GB or Higher
3. At least 2GB of available disk space
Software Requirement :
1. Operating System : Windows 10 or above
2. Front End : [Link](MVC), Ajax, JQuery, Angular Js, JavaScript,HTML
3. Back End : MYSQL
4. Development Tool : Microsoft Visual Studio 2019
5. Technology : .Net MVC
6. Database Tool : SQL Server 2012
2.7 New Tools/Technology learned/ Used
.Net MVC
The MVC model or "pattern" is commonly used for developing modern user interfaces. It
is provides the fundamental pieces for designing a programs for desktop or mobile, as well
as web applications. It works well with object-oriented programming, since the different
models, views, and controllers can be treated as objects and reused within an application.
JavaScript
JavaScript, often abbreviated as JS, is a programming language that conforms to the
ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and
multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-
orientation, and first-class functions.
AngularJS
AngularJS is a JavaScript-based open-source front-end web framework mainly maintained
by Google and by a community of individuals and corporations to address many of the
challenges encountered in developing single-page applications.
SRICEAS 12 WebPOS
SYSTEM INTRODUCTION
jQuery:
jQuery is a lightweight, "write less, do more", JavaScript library.
The purpose of jQuery is to make it much easier to use JavaScript on your website.
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish,
and wraps them into methods that you can call with a single line of code.
jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and
DOM manipulation.
The jQuery library contains the following features:
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
AJAX:
AJAX is about updating parts of a web page, without reloading the whole page.
AJAX = Asynchronous JavaScript and XML.
AJAX is a technique for creating fast and dynamic web pages.
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data
with the
Server behind the scenes.
This means that it is possible to update parts of a web page, without reloading the whole page.
Classic web pages, (which do not use AJAX) must reload the entire page if the content should
change.
Examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.
SQL SERVER 2012
Microsoft SQL Server 2012 is a relational database management system (RDBMS) designer
the enterprise environment. Like its predecessors, SQL Server 2012 comprises a set of
programming extensions to enhance the Structured Query Language (SQL), a standard
interactive and programming language for getting information from and updating a database.
SRICEAS 13 WebPOS
SYSTEM INTRODUCTION
3. Requirement Analysis
SRICEAS 14 WebPOS
REQUIREMENT ANALYSIS & MODELING
3.1 System Requirements
Required system is for managing online orders. The system should satisfy the following
requirements: -
1. Admin Aspect
Can see all the orders and table reservation request
Can accept and decline the orders
Can accept or decline the request of table reservation
Can edit restaurant’s table
Can add delivery_method
Can add payment_method
Can add food_shop
Can add order
Can add timing of restaurants
Can add delivery area, city, state and country with delivery fees on minimum amount price
Can add information regarding table reservation
Can view order status
Can generate different reports
Can change table
Can purchase different plans of WebPOS
Can view all order
SRICEAS 15 WebPOS
REQUIREMENT ANALYSIS & MODELING
2. Customer Aspect
Can see restaurants according to area, country.
Can see food items.
Can see order.
Can order online for take away or delivery.
Can reserve a table for dine in .
Can changes item.
Can search for order.
Can changes email address.
3.2 Use cases, Activity diagrams, sequence diagram
To develop any software system, it is most important to identify the user requirement in very
same manner. Also to function properly, all interfaces of proposed system with bounding
system must be identified. The correct system is that that satisfied user requirements.
Therefore it very important to analyze the existing system and to document the software
requirement specification for the proposed system, which in turn provides the base for
development of the proposed system.
SRICEAS 16 WebPOS
REQUIREMENT ANALYSIS & MODELING
Requirement Gathering Diagram: -
SRICEAS 17 WebPOS
REQUIREMENT ANALYSIS & MODELING
[Link] Cases
Admin
SRICEAS 18 WebPOS
REQUIREMENT ANALYSIS & MODELING
Customer
SRICEAS 19 WebPOS
REQUIREMENT ANALYSIS & MODELING
2. Activity Diagram
Change Email
SRICEAS 20 WebPOS
REQUIREMENT ANALYSIS & MODELING
Mail Invoice
SRICEAS 21 WebPOS
REQUIREMENT ANALYSIS & MODELING
Update Table
SRICEAS 22 WebPOS
REQUIREMENT ANALYSIS & MODELING
Add Item
SRICEAS 23 WebPOS
REQUIREMENT ANALYSIS & MODELING
Add Delivery Method
Add Payment Method
SRICEAS 24 WebPOS
REQUIREMENT ANALYSIS & MODELING
[Link] diagram
SRICEAS 25 WebPOS
DESIGN
4. Design
SRICEAS 26 WebPOS
DESIGN
4.1 Interface Design
FoodChow
Add Restaurant (Select Country & time zone)
SRICEAS 27 WebPOS
DESIGN
Restaurant Information
SRICEAS 28 WebPOS
DESIGN
Map (Latitude & Longitude)
SRICEAS 29 WebPOS
DESIGN
Reorder
SRICEAS 30 WebPOS
DESIGN
SRICEAS 31 WebPOS
DESIGN
SRICEAS 32 WebPOS
DESIGN
SRICEAS 33 WebPOS
DESIGN
Voucher
SRICEAS 34 WebPOS
DESIGN
SRICEAS 35 WebPOS
DESIGN
SRICEAS 36 WebPOS
DESIGN
SRICEAS 37 WebPOS
DESIGN
Partner-Login
SRICEAS 38 WebPOS
DESIGN
SRICEAS 39 WebPOS
DESIGN
SRICEAS 40 WebPOS
DESIGN
SRICEAS 41 WebPOS
DESIGN
Clear Restaurant
SRICEAS 42 WebPOS
DESIGN
SRICEAS 43 WebPOS
DESIGN
Wish list
SRICEAS 44 WebPOS
DESIGN
SRICEAS 45 WebPOS
DESIGN
Order-online
SRICEAS 46 WebPOS
DESIGN
SRICEAS 47 WebPOS
DESIGN
Manage Restaurant Timings
SRICEAS 48 WebPOS
DESIGN
SRICEAS 49 WebPOS
DESIGN
SRICEAS 50 WebPOS
DESIGN
SRICEAS 51 WebPOS
DESIGN
WebPOS
Sign up
SRICEAS 52 WebPOS
DESIGN
Login
Dashboard
SRICEAS 53 WebPOS
DESIGN
Start Order
SRICEAS 54 WebPOS
DESIGN
Add Item
Delivery Method
SRICEAS 55 WebPOS
DESIGN
SRICEAS 56 WebPOS
DESIGN
Payment Method
Order Place
SRICEAS 57 WebPOS
DESIGN
Email
Order List
SRICEAS 58 WebPOS
DESIGN
Order Completed
SRICEAS 59 WebPOS
DESIGN
View Order
SRICEAS 60 WebPOS
DESIGN
Print Order
SRICEAS 61 WebPOS
DESIGN
PDF
Pay & Print
SRICEAS 62 WebPOS
DESIGN
Receipt Setting
SRICEAS 63 WebPOS
DESIGN
Print Receipt
SRICEAS 64 WebPOS
DESIGN
Order List
Datewise OrderList
SRICEAS 65 WebPOS
DESIGN
Order Place
Order Completed
SRICEAS 66 WebPOS
DESIGN
View Order
SRICEAS 67 WebPOS
DESIGN
Print Order
PDF
SRICEAS 68 WebPOS
DESIGN
Table Booking
SRICEAS 69 WebPOS
DESIGN
Update Order Item
SRICEAS 70 WebPOS
DESIGN
Order Place
SRICEAS 71 WebPOS
DESIGN
Updated Order
View Order
SRICEAS 72 WebPOS
DESIGN
Print Order
SRICEAS 73 WebPOS
DESIGN
PDF
Cancel Order
SRICEAS 74 WebPOS
DESIGN
4.2 System Architecture
4.3 System Flowchart
SRICEAS 75 WebPOS
DESIGN
SRICEAS 76 WebPOS
DESIGN
SRICEAS 77 WebPOS
TESTING
[Link] Methodology
SRICEAS 78 WebPOS
TESTING
5.1 Code Rules/ Code guidelines/ Code styles
• WebPOS is web base point of sales system which can be used without causing harm to user
device.
• WebPOS is a reliable for the user.
• It is a testable system and it can be tested at code level.
• Web pose is a maintainable system it can be maintained, even as your code base grow or it
can change/modify.
• WebPOSis a portable system that works in every environment.
• WebPOS code is written and maintained very well. So we can do additional modification
when we need without any interruption to your existing system .
• We can also optimize this system as per the user requirements and specifications.
5.2 Code Optimization
The code optimization in the synthesis phase is a program transformation technique,
which tries to improve the intermediate code by making it consume fewer resources (i.e.,
CPU, Memory) so that faster-running machine code will result. Compiler optimizing
process should meet the following objectives:
• The optimization must be correct, it must not, in any way, change the meaning
of the program.
• Optimization should increase the speed and performance of the program.
• The compilation time must be kept reasonable.
• The optimization process should not delay the overall compiling process.
SRICEAS 79 WebPOS
TESTING
6. Testing
SRICEAS 80 WebPOS
TESTING
Software testing is an activity to check whether the actual results match the expected results and
ensure that the software system is defect free. It involves execution of a software component or
system component to evaluate one or more properties of interest.
Software testing also helps to identify errors, gaps or missing requirements in contrary the actual
requirements. Software testing is a process that should be done during the development process.
In other words software testing is a verification and validation process.
Verification
Verification is the process to make sure the product satisfies the condition imposed at the
start the development phase. In other words, to make sure the product behave the way we want
it to.
Validation
Validation is the process to make sure the product satisfies the specified requirements at end
of the development phase. In other words, to make sure the product is built as per customer
requirement
Unit testing :
Testing of individual software components or modules.
Typically done by the programmer and not by testers, as it requires detailed knowledge of the
internal program design and code. May require developing test driver modules or test harnesses.
Integration testing :
Testing of integrated modules to verify combined functionality after integration. Modulese
typically code modules, individual applications, client and server applications on a network, etc.
This type of testing is especially relevant to client/server and distributed systems.
SRICEAS 81 WebPOS
TESTING
Test Case For Login Page
No Test Cases Input Expected Output Actual Output Result
1. Empty Email Email = Email id is required Email id is required Pass
Null
2. Empty Password = Password is required Password is required Pass
Password Null
3. Password must Password = Please enter at least 6 Please enter at least 6 Pass
have at least 6 abc121 characters characters
characters
Test Case For Customer Details Page
No Test Cases Input Expected Output Actual Output Result
1. Empty Name Name= Null Name is required Name is required Pass
2. Empty Code Code = Null Code is required Code is required Pass
3. Empty Contact Contact no Contact no is Contact no is required Pass
no = Null required and Enter and Enter 10 digit
10 digit
4. Empty Email Email = Email id is required Email id is required Pass
Null
5. Empty Address = Address is required Address is required Pass
Address Null
6. Amount Amount = Amount is required Amount is required Pass
Null
7. Quantity Quantity = Quantity is required Quantity is required Pass
Null
SRICEAS 82 WebPOS
TESTING
7. Future Enhancement
SRICEAS 83 WebPOS
FUTURE ENHANCEMENT
7. Future scope and further enhancement of the project
• Currently we are trying to make our system more secure and efficient.
• User experience should become more effective.
• We are trying to make our market through different countries.
• Trying to overcome the difficulty of fake ordering.
SRICEAS 84 WebPOS
BIBLIOGRAPHY&REFERENCES
8. Bibliography & References
SRICEAS 85 WebPOS
BIBLIOGRAPHY&REFERENCES
Web References
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
SRICEAS 86 WebPOS