Final Project Report
<< Online Book Shop (OBS) >>
Submitted By
<< BC170402604>>
<<Muhammad Fazal Abbas>>
Department of Management Sciences,
Virtual University of Pakistan
Letter of Undertaking
CERTIFICATE
This is to certify that <<Muhammad Fazal Abbas>> (<<BC170402604>>) have
worked on and completed their Software Project, Department of Management
Sciences, Virtual University of Pakistan in partial fulfillment of the requirement for the
degree of Bachelor of Science in Business & Information Technology (BBIT) under my
guidance and supervision.
In our opinion, it is satisfactory and up to the mark and therefore fulfils the
requirements of Bachelor of Science in Business & Information Technology.
Supervisor / Internal Examiner
<< Israr Ahmad >>
Supervisor,
Software Projects & Research Section,
Department of Management Sciences
Virtual University of Pakistan
___________________
(Signature)
EXORDIUM
In the name of Allah, the Compassionate, the
Merciful.
Praise be to Allah, Lord of Creation,
The Compassionate, the Merciful,
King of Judgment-day!
You alone we worship, and to You alone we pray
for help,
Guide us to the straight path
The path of those who You have favored,
Not of those who have incurred Your wrath,
Nor of those who have gone astray.
DEDICATION
Dedicated to my Friends & Family for their
unending patience and support, My Teacher and
Affectionate Project Supervisor for all of his
guidance and motivation towards finalizing my
project.
5
ACKNOWLEDGEMENT
First of all, I am great full to ALLAH, The Almighty,
The most Merciful and The Most Gracious, who guide
us from darkness and protect us from all the evils.
All praise and respect for his most beloved Prophet
(P.B.U.H) whose gracious favor and blessings enables
me to complete my Final Year Project with grace and
dignity.
I regarded it a great honor and privilege to express my
deepest sense of gratitude and appreciation to my
learned worthy and honorable guide Sir Israr Ahmad
for his great guidance, encouragement, excellent
attitude and sincere personal involvement throughout
the project.
I am also thankful to my family for sticking with me
and encouraging me to pursue a BS degree from
Virtual University Of Pakistan.
6
PREFACE
This project report tries to describe basic functionalities
of Online Book Shop (OBS).
Online Book Shop will provide Environment for
selling and purchasing books over the internet.
Objectives would be as follows:
1. Browse the books which is required by simply
typing its name or author name in search box in
website.
2. Customer can easily search books without
wasting time and can purchase it.
3. Manager can easily manage the books and its
price.
4. Manager can search of books without wasting
time.
5. If new books are available Manager can easily
add new books to online Book Shop portal for
the customers.
6. Manager can check about the customer
purchased books and notify customer with date
of books delivery.
7
7. Customer can track their order whether it is in
processing or shipped.
TABLE OF CONTENTS
CHAPTER NO. 1 …………………………………………………11
1. Background………………………………………………………..12
2. Introduction of the organization and project ……………………...12
CHAPTER NO. 2 - SOFTWARE REQUIREMENT
SPECIFICATION …………………………………………………………………13
1. Scope (of the project)……………………………………..………………14
2. Functional Requirements Non-Functional requirements…………………14
3. Use Case Diagram………………………………………………...………17
4. Usage Scenarios…………………………………………………………..20
CHAPTER NO.3 DESIGNING THE PROJECT………………...31
8
1. Overview (of system)….………………………………………...32
2. Data Flow Diagrams (DFD) (Level 0 and Level 1)……………...32
3. Entity Relationship Diagram (ERD)……………..………………33
4. Sequence Diagrams……………………………………...………34
5. Architecture Design Diagram (Hardware & Software Architecture)
……………………………………………………….39
6. Class Diagram…………………………………..…………………39
7. Database Design…………………………………...………………40
8. Interfaces Design (Optional)………………………...…………….40
9. Test Cases……………………………………………...…………..41
CHAPTER NO.4 ……………………………………………………53
1. Software or project benefits……………………………………54
2. Conclusion……………………………...……………………...55
3. Recommendations…………………...…...……………………56
9
10
CHAPTER 1
(Background & Introduction)
11
1.1 Background:
The two Online Book Shops bookberry.pk, bukharibooks.com
they don’t have online payment option like easypaisa, credit card
or debit card payment gateway. Bookberry.pk and
bukharibooks.com they have simple chat option. They don’t have
chatbot system which is modernized way of communication on
website because with simple chat often it happens that manager
are not online and unable to reply at that time but with chat bot
system it is 24/7 on time communication for customer’s support.
.
1.2 Introduction:
Book Shop is the place where customer went and purchase
their relevant books. Shopkeeper search for that book and give it
to the customer. After getting book customer pay for book. On the
other hand, Online Book Shop will work over the internet.
Customer just need to go to website
and search for relevant book then pay online with debit card or
credit card and option of cash on delivery. Online Book Shop will
provide Environment for selling and purchasing books over the
internet.
12
CHAPTER 2
(Software Requirement Specification)
13
2.1 Scope of Project
Online Book Shops like bookberry.pk, bukharibooks.com they
don’t have online payment option like easypaisa, credit card or
debit card payment gateway. Bookberry.pk and bukharibooks.com
they have simple chat option. They don’t have chatbot system
which is modernized way of communication on website because
with simple chat often it happens that manager are not online and
unable to reply at that time but with chat bot system it is 24/7 on
time communication for customer’s support.
2.2 Functional & non-functional requirements:
Functional Requirements:
1. Browse the books which is required by simply typing its
name or author name in search box in website.
2. Customer can easily search books without wasting time and
can purchase it.
3. The system should be able to show Books in their respective
categories.
Administrator
4. Manager can easily manage the books and its price.
5. Manager can search of books without wasting time.
6. If new books are available Manager can easily add new
books to online Book Shop portal for the customers.
7. Manager can check about the customer purchased books
and notify customer with date of books delivery.
14
Non Functional Requirements:
Security
The application will provide appropriate facilities to
ensure that only authorized users have access to the
information stored in the system.
User Friendly interface
The interface of the application will be user friendly and
easy to use.
The software will have an attractive Graphical User
Interface.
Reliability
The application will be able to run any browser.
Usability
It is very simple and easy to use the program. Site will be
working 24/7.
2.3 Use-Case Diagrams:
15
16
17
2.4 Usage Scenarios:
Use Case Title Login
Use Case ID 1-1
Actors Admin, Customer
Description:
Login System Use Case depicts that authorized user will have to login first to use the system, without valid
authentication system can’t be used.
Pre-condition:
All applications should be in running state and should have authorized access and public access.
Task Sequence:
1. The user will click on login button located at login activity.
2. A login window will appear in front of the user.
3. Here the admin will be required to enter the following information.
a. Admin Id
b. Password
4. After entering the required information, the user will click on the login button.
5. The system will open.
Post-condition:
After completing task/work on system, user will have to logout or exit, for system security
Modification History 1.0
Author BC170402604
18
Use Case Title Set Profile
Use Case ID 1-2
Actors Admin
Description:
The Admin can set their profile.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The Admin will Login to the system first.
1 A window will appear in front of the admin.
1. Here the Admin will be enter the required information for adding
Deleting or updating profile.
Post-condition:
1. The admin has successfully managed profile in the application.
Modification History 1.0
Author Bc170402604
Use Case Title Manage Books
19
Use Case ID 1-3
Actors Admin
Description:
The Admin needs to manage books into the system. This process will process the order with a unique ID
number.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The Admin will login and click on Manage Books button.
1. A window will appear in front of the admin.
2. Here the Admin will Manage Books.
3. The admin will also fill the order cost /services charges.
4. After entering the required information, the admin will click on the ok button.
Post-condition:
5. The admin has successfully done Manage Books processing in the application.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author Bc170402604
Use Case Title Manage Orders
20
Use Case ID 1-4
Actors Admin
Description:
The Admin needs to manage order.
Pre-condition:
All applications should be in running state.
Task Sequence:
2. The Admin will Login to the system first.
2 A window will appear in front of the admin.
2. Here the Admin will be enter the required information for adding
Deleting or updating orders.
Post-condition:
2. The admin has successfully managed orders in the application.
Modification History 1.0
Author B170402604
Use Case Title Manage Payments
Use Case ID 1-5
21
Actors Admin
Description:
The Admin needs to manage payments of completed orders into the system.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The Admin will login
2. Here a window will appear
3. The admin click on Manage payments button.
4. And can view all the payments by clicking on them.
Post-condition:
5. The admin has successfully viewed payment in the application.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author Bc170402604
Use Case Title Logout
Use Case ID 1-6
22
Actors Admin
Description:
The logout is also necessary to ensure privacy of the account.
Pre-condition:
The user has already login into his/her account.
Task Sequence:
1. The user will click on the logout button from the settings menu.
2. The application will log out and redirects the user to the login page.
Post-condition:
The user has successfully logout from the application.
Alternate Path(s):
None
Modification History 1.0
Author Bc170402604
Use Case Title Search Books
Use Case ID 1-7
Actors Customer
23
Description:
The Customer needs to search books for purchasing43333.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The user will click on Search button located at login activity.
2. A window will appear in front of the Customer.
3. The Customer will click on specific Book according to his requirement.
4. A window will appear .Here the customer will be required to enter the required information.
Post-condition:
1. The Customer has successfully search Book in the application.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author Bc170402604
Use Case Title Order Book
Use Case ID 1-9
24
Actors Customer
Description:
The Customer needs to order book that he needed.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The User will click on Order Book located at login activity.
2. A window will appear in front of the Customer.
3. The Customer will click on specific book according to his requirement.
4. A window will appear .Here the customer will be required to enter the required information.
5. After entering the required information, the Customer will click on the Order button.
Post-condition:
1. The Customer has successfully order books in the application.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author Bc170402604
Use Case Title Pay Charges
Use Case ID 1-10
Actors Customer
25
Description:
The Customer needs to pay charges against the order into the system.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The Customer will click on charges button.
2. The customer will enter the required information by clicking on them.
Post-condition:
3. The Customer has successfully pay dues in the application.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author Bc170402604
26
Use Case Title Order Delivery
Use Case ID 1-12
Actors Manager
Description:
The manager will check for books that’s been ordered by customer.
Pre-condition:
All applications should be in running state.
Task Sequence:
1. The Customer will click on order list button.
2. Here a window will appear
3. The Customer will enter the required information.
4. And can enter the details by clicking on them.
Post-condition:
5. The Customer has successfully check orders.
Alternate Path(s):
There is no alternative path.
Modification History 1.0
Author BC170402604
27
CHAPTER 3
(Design Document)
28
1.1 Overview of the System:
The application will provide appropriate facilities to ensure that
only authorized users have access to the information stored in
the system. The Proposed Online Book Shop would facilitate to
purchase books online. The Functional requirements are
already discussed above in chapter 2.2
1.2 Data Flow Diagram (DFD):
Level 0
29
Level 1
1.3 Entity Relationship Diagram (ERD):
30
1.4 Sequence Diagrams:
31
32
33
1.5 Architecture Design Diagram:
1.6 Class Diagram:
34
1.7 Database Diagram:
1.8 Interface Design (Optional):
No Interface Design has been proposed as of now.
35
1.9 Test Cases
Use Case Title Admin Login
Use Case Id UC-1
Actions Admin will login
Pre-Conditions:
App should be in running state.
Admin should be in system
Expected Result:
Admin login Successfully
Tested By: Bc170402604
Result: Pass
Use Case Title Manage Books
36
Use Case Id UC-2
Actions Admin will manage Books by adding, deleting or updating by entering
information.
Pre-Conditions:
App should be in running state.
Admin should be in system
Expected Result:
Admin will manage Books Successfully
Tested By: Bc170402604
Result: Pass
Use Case Title Process order Request
Use Case Id UC-3
37
Actions Admin will manage order by checking information.
Pre-Conditions:
App should be in running state.
Admin should be in system
Expected Result:
Admin will process request Successfully
Tested By: BC170402604
Result: Pass
Use Case Title Payments
Use Case Id UC-4
Actions Admin will check payments
Pre-Conditions:
38
App should be in running state.
Admin should be in system
Expected Result:
Admin will check payments Successfully
Tested By: Bc170402604
Result: Pass
Use Case Title Order Delivery
Use Case Id UC-5
Actions Manager will check for customer order delivery.
Pre-Conditions:
App should be in running state.
User should be in system
Expected Result:
Manager have organized Successfully
Tested By: BC170402604
Result: Pass
39
Customers Use Case
Use Case Title Search Books
Use Case Id UC-6
Actions Customer will search Books by entering required information.
Pre-Conditions:
App should be in running state.
User should be in system
Expected Result:
User will search Books Successfully
Tested By: BC170402604
Result: Pass
Use Case Title View Books
Use Case Id UC-7
Actions User will view Books by entering required information.
Pre-Conditions:
App should be in running state.
User should be in system
Expected Result:
User will view books Successfully
40
Tested By: BC170402604
Result: Pass
Use Case Title Order/Books
Use Case Id UC-8
Actions Customer will order Books by entering required information.
Pre-Conditions:
App should be in running state.
User should be in system
Expected Result:
User will have order books Successfully
Tested By: BC170402604
Result: Pass
41
CHAPTER 4
Analysis
42
Project Benefits
The following are the main benefits of the Proposed
Project.
1. Online Book purchasing by the customer
becomes very easy.
2. The customers can easily search books based on
their requirements.
3. Customer set their profile to online portal with
given their information.
4. Customer purchase books with different payment
option like debit card ,credit card .
43
5. Admin manage can manage customers orders
and order delivery.
Conclusion
With the acquired knowledge that I have gained from
my current degree program along with my
professional experience in Software Development, I
would say that I am confident enough to visualize an
idea and develop its concept into an effective Project
Proposal. I can further take this project confidently
through development and implementation stages too.
This proposed project would make life easier and
simpler for both the customer and the Online Book
Shop management groups.
44
Recommendations
Building secured web applications is in fact a
challenge. For this we can always have SSL security
to make website safe. Use of appealing responsive
Bootstrap 4 themes is highly recommended for
running the web application on multiple viewports.
Also there are other challenges that include hosting
of websites and databases. For this proposed
conceptual project, to get global client-base, I would
highly recommend the use of VPS from
https://www.hyper-v-mart.com. To launch inside
Pakistan I would recommend VPS from Nayatel
pvt.ltd.
45
REFERENCES
For creating UML diagrams, I gained initial
knowledge from the following links provided to me
by my Project Supervisor for reference.
https://www.projectmanagementdocs.com/template/
project-documents/use-case-document/
#axzz69lmbB8JL
https://www.visual-paradigm.com/guide/data-flow-
diagram/what-is-data-flow-diagram/
https://www.visual-paradigm.com/guide/uml-
unified-modeling-language/what-is-sequence-
diagram/
46
https://www.visual-paradigm.com/guide/uml-
unified-modeling-language/what-is-class-diagram/
https://www.guru99.com/er-diagram-tutorial-
dbms.html
https://www.guru99.com/test-case.html
47