Professional Documents
Culture Documents
Session (2017-2021)
BSSE
Submitted By:
Akram khan 5513
Abdulwadood 5512
Supervisod By:
Mr. sibtulhassan
Al-Hamd-u-Lillah! We are very grateful to our Almighty Allah, the most gracious and
merciful, who blessed us with strength and mental powers without which we could not
complete this project and made us able to meet and complete this complex task. The full
credit of this software project goes to Almighty Allah because we are unable to do
anything without His help.
We are thankful to Dr. Muhammad Naeem (Chairman of department) for providing lots
of courage whose support and guidance played an important role in our achievements. His
guidance and advice, both mentally and technically have been of great importance to the
outcome of this final thesis. We sincerely appreciate his time and efforts which he has
been providing from the start of a project.
We are also thankful to all teachers and staff members here at the Computer science
department. We are extremely thankful to my beloved parents and family whose prayers
and continuous encouragement made the successful completion of this project possible.
We extend my deepest gratitude to all the responsible teachers and staff members of CS
to give us a lot of knowledge and every kind of assistance in the four years of stay in the
Institute.
i
DEDICATION
This project could not have been possible without the support of our family. Our whole
success is dedicated to our parents.
ii
PREFACE
It’s a great opportunity for us to have a Bachelor of Science in Computer Science in
Abbottabad University of Science and Technology. In the accomplishment of this degree,
we are doing a project report on “DeRent”.Whole project report has been divided into 5
chapters.
Introduction
Existing System
Proposed System
Design
Testing
Conclusion
iii
Table of Contents
CHAPTER 1 ....................................................................................................................... 1
INTRODUCTION.............................................................................................................. 1
1.5.2 Backend:................................................................................................................................... 11
CHAPTER 2 ..................................................................................................................... 12
CHAPTER 3 ..................................................................................................................... 14
iv
3.1.1.b Vendor:................................................................................................................................ 15
CHAPTER 4 ..................................................................................................................... 23
v
4.2 Scope .............................................................................................................................. 24
4.3.2 Abbreviations........................................................................................................................... 25
4.8.6 Chat.......................................................................................................................................... 38
CHAPTER 5 ..................................................................................................................... 40
vi
5.3.1 b Interface Name: A-Login ..................................................................................................... 43
CHAPTER 6 ..................................................................................................................... 52
CONCLUSION ................................................................................................................ 52
CONCLUSION .......................................................................................................................... 53
REFERENCES .......................................................................................................................... 54
vii
LIST OF FIGURES
Figure 1 Use Case Diagram ................................................................................................. 3
Figure 2 User Use Case Diagram.......................................................................................4
Figure 3 Vendor Use Case Diagram...................................................................................4
Figure 4 Adinistrator Use Case Diagram............................................................................4
Figure 5 Incremental Model............................................................................................... 20
Figure 6 Work Plan ............................................................................................................ 21
Figure 7 Sequence Diagram for Registration..................................................................... 26
Figure 8 Sequence Diagram for Vendor ............................................................................ 27
Figure 9 Sequence Diagram for Borrower ......................................................................... 28
Figure 10 Activity Diagram ............................................................................................... 29
Figure 11 DFD Level 0 ...................................................................................................... 30
Figure 12 Level 1 DFD ...................................................................................................... 31
Figure 13 Deployment Diagram ........................................................................................ 32
Figure 14 GUI for Home page ........................................................................................... 33
Figure 15 GUI for Admin login ......................................................................................... 34
Figure 16 GUI for Signup(Vendor) ................................................................................... 35
Figure 17 GUI for Signup(Borrower) ................................................................................ 36
Figure 18 GUI for Borrower Profile .................................................................................. 37
Figure 19 GUI for chat screen ........................................................................................... 38
Figure 20 GUI for Product table ........................................................................................ 39
viii
LIST OF TABLES
Table 1 Login Usage Scenario0 ........................................................................................... 5
Table 2 View Product Usage Scenarios ............................................................................... 6
Table 3 Add Product Usage Scenarios................................................................................ 7
Table 4 Change Password Usage Scenarios ........................................................................ 8
Table 5 Logout Usage Scenarios ......................................................................................... 9
Table 6 Chat Usage Scenarios ........................................................................................... 10
Table 7 Team Structure ...................................................................................................... 22
Table 8 Defination ............................................................................................................. 25
Table 9 Abbrevation .......................................................................................................... 25
Table 10 User Login .......................................................................................................... 42
Table 11 Vendor Password Length .................................................................................... 43
Table 12 Borrower Password Length ................................................................................ 43
Table 13 Change Password ................................................................................................ 44
Table 14 Product Table ...................................................................................................... 44
Table 15 Add Product ........................................................................................................ 45
Table 16 Add Contact ........................................................................................................ 46
Table 17 White Box Test Case .......................................................................................... 48
Table 18 Test Case Result.................................................................................................. 50
Table 19 Integration Testing .............................................................................................. 50
ix
CHAPTER 1
INTRODUCTION
1
The purpose of this project is to provide a platform for users and rental product(s) owners
in an effective and efficient manner. Online Renting System is a one stop rental portal. It
provides services such as electronic devices (DSLR cameras, stand mic, loud speakers,
play stations, drones cameras, computer systems, electric generator etc ) books, sports,
fasion&beauty, furniture and home décor and other Products. It provides the facility to
make online orders and get everything done before you reach the destination.
1.1 Purpose
The DeRent (Online rental system) which is web application is intended to provide
complete solutions for product owner as well as customers through a single get way using
the internet. It will enable product owner to setup online rental business, and the customer
to browse and rent them online without having to visit the showroom.
1.2 Scope
Provides an earning platform for product owner.
Provides privacy.
Free from taxes.
Time Efficient.
The system is a web application.
The system will work in pakistan only.
The system will provide the chat feature.
Mobile friendly(responsive)
User registration (sign up) is must to avail the product.
The user would be able to feedback(customer reviews).
1.3 Objective
The main objective of the project is to provide platform for the product owners(vendor)
and borrowers.
To design a user friendly system that enable a person to get a product on rent.
To design a system that enables a person to rent his/her product.
2
1.4 Use Cases and Usage Scenarios:
3
1.4.2 Extended Use Case Diagram
Post Conditions:
1. Vendor & Borrower successfully logged in to the system.
5
Table 2 Use Case description of View product Usage Scenarios
Requirement Id Borrower
Description: Borrower View the Products.
Post Conditions:
1. Borrower can request for Services.
6
Table 3 Use Case description of Add Product Usage Scenarios
Use Case Title Add Product
Abbreviated Add Products
Title
Use Case Id Use Case 03
Requirement Id Vendor
Description: Vendor enter the product detail.
7
Table 4 Use Case description of Change Password Usage Scenarios
Use Case Title Change Password
Abbreviated Title Change Password
Use Case Id Use Case 04
Requirement Id Vendor and Borrower
Description: Vendor and Borrower can change their user account password.
Post Conditions:
Vendor and Borrower must use new password for login.
Unresolved issues: None
8
Table 5 Use Case description of Logout Usage Scenarios
Post Conditions:
User successfully logout from application
Unresolved issues: None
9
Table 6 Use Case description of Chat Usage Scenarios
Use Case Id 6
10
1.5 Tools Used
Front End:
• HTML
• CSS
• JavaScript
• jQuery
• Bootstrap
• React JS
Back End:
• Node JS
• Express JS
• SQL
DBMS
• MySQL
Graphics
• Photoshop CS6
Project Documentation
MS Word 2015
11
CHAPTER 2
THEORETICAL BACKGROUND
12
If anybody want to rent a product from a particular city from their own home, how it is
possible? If one person is going to another city, but if he want products for rent before he
reach is destination, then how it possible? So answer to these questions is our web site.
There are many rental systems which are available online. But, they are not providing all
products at one place. Also many of them restricted to only one city. That means car
rental system in online deals only with cars. Also many of them are not providing
effective communication between customer and the vendor. Also present rental systems
restricted to only one vendor means products are supplied only from one rental show
room.
2.2.2 Limited
They limited to only one product and limited cities.There are many existing systems for
renting purpose but these systems are limited to single product like a renting car system
and also some rental system are limited in specific area.
2.2.3 Communication
.No effective communication between user and the vendor.In existing systems there is no
specific feature for chat.
13
CHAPTER 3
PROPOSED SYSTEM
14
The proposed system is a web based system which can be accessed by customer from
anywhere around the world. The system can offer number of products from vendor in
different locations. A vendor directly registers into this system using this system user
interface without any manual approach. The proposed system can accept any type of
product for rental, this system interface support to the vendors to upload their product
image into the system. A customer directly interacts with this product image and gets
necessary information regarding the rental products. The proposed system accepts an
online request from the customers to reserve any rental system product for his own
purpose. Administration play vital role here. Administrator can able to communicate the
reservation information of any product to that particular vendor using this system.
3.1 Modules
3.1.1 Authentication
Different users registered first of all and registered through authentication and get access
to this application.
3.1.1.a Borrower:
3.1.1.b Vendor
15
3.1.2 Borrower:
3.1.3 Vendor
.
3.1.4 Product
Product are posted by Vendors.
Every products may have different rent price.
These are uploaded by vendors and borrowers can hire any product.
16
3.1.5 Rating
3.3.1 Usability
Usability is the degree to which the software is easy to use as indicated by the following
substitutes. Usability minimizes the efforts required to learn, operate, prepare, input and
interpret output of a program. It is the combination of fitness for the purpose, ease of use
and ease of learning that makes a product effective. It focuses on determining if the
product is easy to learn, satisfying to use and contains functionality that the users desire.
.
17
3.3.3 Availability
System will be available as long as the phone is connected to the internet and our system
also provide 24/7 availability.
19
Ascertains that the technology chosen for software development has a large
number of users so that they can be consulted when problems arise or
improvements are required.
20
Once the requirement is developed, requirement for that increment are
frozen.
Literature Review
Breakdown of Coding
Documentation
21
3.8.2 Members
Table 7 Team Structure
22
CHAPTER 4
SYSTEM DESIGN
23
Software design usually involves problem solving and planning a software solution. This
includes both a low-level component and algorithm design and a high-level, architecture
design. This document includes the design of the system to be developed from different
aspects such as the flow of data in DFD’s (Data Flow Diagrams) and sequence and
actions of system activities in Sequence Diagrams. This document also includes an
Architecture Diagram of technology that will be used for development of this system.
One of the major advantages of this phase is design documentation that keeps everything
on track during the project journey. This phase is very important for the development of
this system because in this phase the technical details of the design and various
parameters such as risks, technologies to be used, the capability of the project team and
project constraints reviewed and then the best design approach are selected for the
product.
4.1 Purpose
The purpose of this Design phase is to provide a description of the design of a system
fully enough to allow for software development to proceed with an understanding of what
is to be built and how it is expected to build. This phase is necessary to provide a
description of the details for the software and system to be built.
4.2 Scope
This Design phase is for a base level system which will work as a proof of concept for the
use of building a system the provides a base level of functionality to show feasibility and
benefits of this system for people. This Software Design is focused on the base level
system and critical parts of the system. For this particular Software Design phase, the
focus is placed on to help people in emergency situations.
24
4.3 Definition, Acronyms, and Abbreviations
4.3.1 Definitions
Table 8 Defination
Word. Definition.
Application An application framework is a software library that provides a
Framework fundamental structure to support the development of applications for
a specific environment.
4.3.2 Abbreviations
Table 9 Abbrevation
Word Abbreviation
UI User Interface
25
4.4.1 Sequence Diagrams For Registration
This sequence diagram show that how a vendor/user registration take place.
26
4.4.2 Sequence Diagram For Login
This sequence diagram shows that how vendor/user login process take place.
27
4.4.3 Sequence Diagram For Vendor To Add Product
This sequence diagram shows how a vendor will add product.
28
4.5 Activity Diagram
29
4.6 Data Flow Diagram
A data flow diagram (DFD) maps out the flow of information for any process or system.
It uses defined symbols like rectangles, circles and arrows, plus short text labels, to show
data inputs, outputs, storage points and the routes between each destination. The logical
data flow diagram describes flow of data through a system to perform certain
functionality of a project.
DeRent
DeRent
30
4.6.2 Level 1DFD
31
4.7 Deployment Diagram
DeRent
Device
32
4.9 Graphical User Interfaces
33
4.9.2 Admin Login
34
4.9.3 Sign Up as a Vendor
35
4.9.4 Signup for Borrower
36
4.9.5 Borrower profile
37
4.9.6 Chat
38
4.9.7 Products table
39
CHAPTER 5
SYSTEM TESTING
40
Once the system has been developed next phase is the system testing. Even if the system
is developed using correct algorithms, its reliability remains doubtful. The validation of
results is very important to make the system acceptable. Before making the system
operational it is necessary to check that the new system is comprehensive with in its limits
and produced the required outputs correctly. Implementation means to adopt the newly
designed system in practice. It may involve the complete implementation of computer
system or the introduction of one small subsystem. The conversion of manual system into
computerized data processing system is one of the, most important activity.
Implementation phase of our project cover the period from the acceptance of the test
design to its satisfactory operation supported by the appropriate user and operation
manual.
Software testing to check whether the actual results match the expected results and to
ensure that the software system is defect free and meets the requirements.
Software testing makes sure that the testing is being done properly and hence the
system is ready for use.
41
5.3 Testing Techniques
42
5.3.1 b Interface Name: A-Login
UCNo 02: Password
Valid: {1-20} length
Invalid: {Less than 1}
Invalid: {Greater than 20}
43
5.3.1 d Interface Name: Borrower/Vendor_changepassword
UCNo 3: Confirm Password
Valid: Equal
Invalid: Not equal
Table 13 Change Password
Test Case Input Use case Expected Actual Output
ID Format Output
44
5.3.1 f Interface Name: Product
Interface Name: Product
UCNo 6: All details
Valid: submitted
Invalid: Not fully submitted
Table 15 Add Product
Test Case Input Use case Expected Actual Output
ID Format Output
02 Submit all details Not fully Invalid details Record not save.
submitted
45
5.3.2 White Box Testing
White-box testing (also known as Clear Box Testing, Open Box Testing, Glass Box
Testing, Transparent Box Testing, Code-Based Testing, or Structural Testing) is a
software testing method in which the internal structure/design/implementation of the item
being tested is known to the tester.
46
this.profilepicture = profilepicture;
this.rating = rating;
this.dateofjoining = dateofjoining;
this.city=city;
this.status = status;
}
}
The tester chooses inputs to exercise paths through the code and determines the
appropriate outputs.
Path Coverage
Statement Coverage
Control flow testing
47
If -1,2,3,4, Waqas Pak5454 abc@g 031705 Borrower (4) Waqas Pak5454
5,6,7 mail.c 96277 abc@gmail.com
om 03170596277
13101-3338897-0
Customer
If -1,2,3,4, Waqas Pak5454 ar@g 033377 Borrower (5) Waqas Pak5454
5,6,7 mail.c 7667 ar@gmail.com
om 0333777667
13401-3338897-5
Customer
If -1,2,3,4, Waqas Pak5454 ar@g 031705 Borrower (6) Waqas Pak5454
5,6,7 mail.c 96277 ar@gmail.com
om 03170596277
13101-3338897-0
Vendor
If -1,2,3,4, Waqas12 Pak5454 ar@g 031705 Borrower (7) Waqas12
5,6,7 mail.c 96277 Pak5454
om ar@gmail.com
03170596277
13101-3338897-0
Tailor
If -1,2,3,4, Waqas Pak5454 ar@g 031705 Borrower (8) Waqas Pak5454
5,6,7 mail.c 96277 ar@gmail.com
om 03170596277
13101-3338897-0
If -1,2,3,4, Waqas Pak5454 031705 Borrower (9) Waqas Pak5454
5,6,7 96277 03170596277
13101-3338897-0
Customer
If -1,2,3,4, Waqas ar@g Borrower (10) Waqas Pak5454
5,6,7 mail.c ar@gmail.com
om 13101-3338897-0
Customer
48
5.3.1 c Results
Table 18 Test Case Result
1 ABCDEFGHI
2 ABCDK
3 ABCJ
4 ABCDEL
5 ABCDEFM
6 ABCDEFGN
7 ABCJ
8 ABCDEFGN
9 ABCDK
10 ABCJ
49
Table 19 Integration Testing
50
5.6 System Testing
System testing is testing conducted on a complete integrated system to evaluate the
system's compliance with its specified requirements.
System testing takes, as its input, all of the integrated components that have passed
integration testing. The purpose of integration testing is to detect any inconsistencies
between the units that are integrated together (called assemblages). System testing seeks
to detect defects both within the "inter-assemblages" and also within the system as a
whole. The actual result is the behavior produced or observed when a component or
system is tested.
51
CHAPTER 6
CONCLUSION
52
CONCLUSION
The main purpose of DeRent ( Online Renting System) is Vendors/users to advertise their
available products in our web site and also to provide available products booking for the
users. Here in the system we are providing a great flexibility for the vendor/user to add,
delete or update his products in our web site. They are able to update or delete their
personal account. We are maintaining good communication between vendors and the
customers. There are many rental systems are available in online. But, they are not
providing all products at one place. Also many of them restricted to only one city. That
means car rental system in online deals only with cars. Also many of them are not
providing effective communication between customer and the vendor. Also present rental
systems restricted to only one vendor means products are supplied only from one rental
show room. It provides services such as Electronic devices, Sports Goods, Books,
Furniture & Home decor, and Other Products. It provides the facility to make online
orders and get everything done before you reach the destination. This web application
provides a platform for users and rental product(s) owners/venders, in an effective and
efficient manner.
53
REFERENCES
54