You are on page 1of 27

PEOPLES BLOOD BANK

Project Report

Industrial Training (ECS591)


Degree
BACHELOR OF TECHNOLOGY (CSE)

PROJECT GUIDE: SUBMITTED BY:


Project Guide Name (External) Shubham Jain (TCA1509087)
Project Guide Name (Internal)

November, 2017

COLLEGE OF COMPUTING SCIENCES AND INFORMATION TECHNOLOGY


TEERTHANKER MAHAVEER UNIVERSITY, MORADABAD
ACKNOWLEDGEMENT

Shubham jain

Place:

Date:
DECLARATION

We hereby declare that this Project Report titled Peoples Blood Bank submitted by
us and approved by our project guide, to the College of Computing Sciences and
Information Technology (CCSIT), Teerthanker Mahaveer University, Moradabad, is
a bonafide work undertaken by us and it is not submitted to any other University
or Institution for the award of any degree diploma / certificate or published any
time before.

Project Group :

Student Name:

Project Guide:
(External)

Project Guide:
(Internal)
Brief About the Company
TMU-CCSIT Version 1.3 T003b-Project Report

Table of Contents
1 Project Title ........................................................................................................................................... 6
2 Problem Statement ............................................................................................................................... 6
3 Project Description................................................................................................................................ 6
3.1 Scope of the Work ........................................................................................................................ 6
3.2 Project Modules ............................................................................................................................ 6
3.3 Context Diagram (High Level) ..................................................................................................... 13
4 Implementation Methodology............................................................................................................ 13
5 Technologies to be used ..................................................................................................................... 14
5.1 Software Platform ....................................................................................................................... 14
5.2 Hardware Platform ..................................................................................................................... 14
5.3 Tools, if any ................................................................................................................................. 14
6 Advantages of this Project .................................................................................................................. 14
7 Assumptions, if any ............................................................................................................................. 14
8 Future Scope and further enhancement of the Project ..................................................................... 14
9 Project Repository Location ................................................................................................................ 14
10 Definitions, Acronyms, and Abbreviations...................................................................................... 15
11 Conclusion ....................................................................................................................................... 15
12 References ...................................................................................................................................... 16

Appendix
A: Data Flow Diagram (DFD)
B: Entity Relationship Diagram (ERD)
C: Use Case Diagram (UCD)
D: Data Dictionary (DD)
E: Screen Shots

Project Title: Peoples Blood Bank Page 5 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

1 Project Title
Peoples Blood Bank
It is a mobile based application to maintain day to day transactions in blood bank. This
project help to register all the donors, manages the blood collection details, blood issued
details, and helps in generating reports etc. the main objective of this project is to automate
the complete operations of the blood bank.

2 Problem Statement
This project has been developed to minimize the manual work that has been done at the
blood bank laboratories. The main aim of developing this project is to reduce the time to a
great extent that is spent in searching for the right donor and the availability of blood
required.

3 Project Description
The project plays an important role in saving life of human beings and which is also its main
aim. This mobile application is developed in such a way so that the acceptor can view the
information of the donors such as their name, address, contact numbers and their email id,
they can also access the other medical details of the donors like their blood group and other
medical conditions. The project also has a login panel where in the user is required to register
and only then can view the availability of blood and may also donate blood if he/she wishes
to. Therefore this project helps to select right donor instantly using medical details along
with the blood group. The main aim of developing this project is to reduce the time to a great
extent that is spent in searching for the right donor and the availability of blood required.
Thus this project provides the right information in no time and also helps in quicker decision
making.

3.1 Scope of the Work


This project has been developed to minimize the manual work that has been done at the
blood bank laboratories. This project also maintains the record of donors as well as the
recipients. The project also holds the record of the total available blood stock in the blood
bank. By the help of this project we can also generate the various blood related reports. By
this project people will be notified about the various campaigning organized by the
organization.

3.2 Project Modules


This application has six modules which describe all the functionality with which user will interact.
Following six modules are:-

1. Admin module
2. Registration module

Project Title: Peoples Blood Bank Page 6 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

3. Login module
4. Blood donate module
5. Blood request module
6. Reset password module

All the modules with proper functionality are described below:-

3.2.1 Admin Module


3.2.1.1 Description
This module has command to all the modules in this application. Admin has all access to database.
He keeps an eye on every information flowing in the application whether it is related to user,
database or anything. Admin has command to delete inactive users.

3.2.1.2 Inputs
To access admin module application requires two inputs which are email and password. Admin
has to enter valid email and password to

3.2.1.3 Processing
All the provided inputs check into the database for the existing username and password.

3.2.1.4 Outputs
Login of the admin gives access to database.

3.2.1.5 Error Handling

3.2.1.6 Test cases for Admin Module

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any
TC001 Email input It checks whether the input email Email validation Enter correct
field have proper validation. For email
validation example email should be like
xyz@abc.com".

TC002 Email and If entered email and password do Email and Email and
password not exist in the database. password check password do not
input field match
TC003 Login If admin click on login button Input email is Enter email
Button without entering the email. empty

TC004 Login If admin click on login button by Email and Enter password
Button entering the email but not password are
password. empty

TC005 Login If admin click on login button and Email and Email and
Button entered email and password do not password are password do not
match in the database. provided match

Project Title: Peoples Blood Bank Page 7 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

TC006 Login If admin click on login button and Email and Login successful
Button entered email and password match password are
in the database provided

3.2.2 Registration Module


3.2.2.1 Description
This module allows end user to register itself and registration helps user to enrol in the peoples
blood bank and further process for donation and request for blood. This module includes OTP
service which help genuine user to register.

3.2.2.2 Inputs
Registration module requires inputs such as Name, Sex, Age, Mobile No, Blood group, Email,
Password and apart from this there is one more input which is OTP which will help the user to
register successfully.

3.2.2.3 Processing
User fills all the required details in the input fields. After filling all the details the application check
the input email and input mobile no in the database to know whether the input email and mobile
no are existing in the database or not. If the inputs in the database then user have to provide any
other email or mobile no. otherwise we can proceed for further process. Now after providing and
checking the inputs the user click on register which sends an OTP to the input mobile no, after
that user receives an OTP and enters the OTP to make the registration successful.

3.2.2.4 Outputs
All the inputs store in to the database and user registers successfully.

3.2.2.5 Error Handling


Error Handling is governed by the help of the below mentioned test cases.

3.2.2.6 Test cases for Registration Module

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any

TC007 Input email It checks whether input email have Email validation Enter the correct
field proper validation. For example email.
validation email should be like
xyz@abc.com".

Input It checks whether input password Password Password length


password length is greater than eight and validation should be greater
field contains alphanumeric and special than 8 and should
validation characters contain
alphanumeric and
special characters
(@,!, #, $ )

Project Title: Peoples Blood Bank Page 8 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

TC008 Input age It checks whether input age is Age validation Age is should be
field greater than 18 or not greater than 18
validation
Input It checks whether input mobile no Mobile no. Invalid mobile no
mobile contains ten digits or not validation
field
validation
Register If user click on register button Name is empty Enter name
Button without entering name
Register If user click on register button Sex is empty Enter sex
Button without entering sex
Register If user click on register button Age is empty Enter age
Button without entering age
Register If user click on register button Mobile no is Enter mobile no
Button without entering mobile no empty
Register If user click on register button Blood group is Enter blood group
Button without entering blood group empty
Register If user click on register button Email is empty Enter email
Button without entering email
Register If user click on register button Password is Enter password
Button without entering password empty
Register If user click on register button Confirm password Enter confirm
Button without entering name confirm is empty password
password
Register It checks whether input password Password and Password do not
Button and confirm password fields are confirm password match
same or not check

TC009 Register All the inputs except email and Check database Email and mobile
Button mobile no. are checked into the no. already exist
database whether they exist there in the database
or not. If same email and mobile
no. found within the database.

TC009 Register All the inputs except email and Check database Registration
Button mobile no. are checked into the successful.
database whether they exist there
or not. If same email and mobile
no not found in the database.

Project Title: Peoples Blood Bank Page 9 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

3.2.3 Login Module


3.2.3.1 Description
This module allow registered user to login using the valid credentials and in case if login is
successful the user can proceed further for donate and request for blood and user can update
profile also.

3.2.3.2 Inputs
This module requires two inputs which are email and password.

3.2.3.3 Processing
Both the inputs email and password are checked into database whether they exist or not

3.2.3.4 Outputs
If username and password match into the database then user get log in and can view and update
profile if necessary.

3.2.3.5 Error Handling


Error Handling is governed by the help of the below mentioned test cases.

3.2.3.6 Test cases for Login Module

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any

TC006 Input email It checks whether input email have Email validation Enter the correct
field proper validation. For example email.
validation email should be like
xyz@abc.com".

TC007 Email and If entered email and password do Email and Email and
password not exist in the database. password check password do not
input field match
Login If user click on login button without Input email is Enter email
Button entering the email. empty

Login If user click on login button by Email and Enter password


Button entering the email but not password are
password. empty

Login If user click on login button and Email and Email and
Button entered email and password do not password are password do not
match in the database. provided match

Login If user click on login button and Email and Login successful
Button entered email and password match password are
in the database provided

Project Title: Peoples Blood Bank Page 10 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

3.2.4 Blood Donate Module


3.2.4.1 Description
This module allows registered user to donate blood.

3.2.4.2 Inputs
This module requires four input fields which are camp, date, no of units and other details.

3.2.4.3 Processing
All the inputs save into the database.

3.2.4.4 Outputs
User can go to camp for donating the blood.

3.2.4.5 Error Handling


Error Handling is governed by the help of the below mentioned test cases.

3.2.4.6 Test cases for Blood Donate Module

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any

TC0010 Input No field should be empty None Input required


Fields

TC0011 Submit After providing the required None None


Button details.

3.2.5 Blood Request Module


3.2.5.1 Description
This module allow registered user to request for blood in case of need.

3.2.5.2 Inputs
This module requires three input fields which are blood group, till required date and additional
details.

3.2.5.3 Processing
Input details are checked into the database

3.2.5.4 Outputs
According to user need database provide the contact details of the donors.

3.2.5.5 Error Handling


Error Handling is governed by the help of the below mentioned test cases.

3.2.5.6 Test cases for Blood Request Module

Project Title: Peoples Blood Bank Page 11 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any

TC0010 Input No field should be empty None Input required


Fields

TC0011 Submit After providing the required None None


Button details.

3.2.6 Reset Password Module


3.2.6.1 Description
This module provides the facility to admin and registered user to reset login password in case if
they forget or lose their password.

3.2.6.2 Inputs
This module requires email, OTP, password and confirm password

3.2.6.3 Processing
Input email is checked into the database whether it exist or not. If input email found in the
database then user receive an OTP to the registered mobile no. required at the time of
registration.

3.2.6.4 Outputs
After entering the OTP user can reset his password

3.2.6.5 Error Handling


Error Handling is governed by the help of the below mentioned test cases.

3.2.6.6 Test cases for Reset Password Module

Test Test Title Test Case Description Pre-condition, if Expected Results


Case ID any
TC0012 Input email It checks whether input email have Email validation Enter the correct
field proper validation. For example email.
validation email should be like
xyz@abc.com".

TC0013 Input email If the input email does not found in Check database No user
field the database. registered with
this email

TC0013 Input OTP If the OTP is incorrect. OTP verify Enter correct OTP
field

Project Title: Peoples Blood Bank Page 12 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

TC0014 Input It checks whether input password Password Password length


password length is greater than eight and validation should be greater
field contains alphanumeric and special than 8 and should
characters contain
alphanumeric and
special characters
(@,!, #, $ )
Input It checks whether input password Confirm password Password length
confirm length is greater than eight and validation should be greater
password contains alphanumeric and special than 8 and should
field characters contain
alphanumeric and
special characters
(@,!, #, $ )
Reset If user or admin clicks on reset Password is Enter password
Button button without entering password empty
Reset If user or admin clicks on reset Confirm password Enter confirm
Button button without entering password is empty password
Reset It checks whether input password Password and Password and
Button and confirm password are same or confirm password confirm password
not check do not match
TC0015 Reset After providing the valid required None Password
Button inputs Changed

3.3 Context Diagram (High Level)


<Guidelines: Describe Context Diagram at 0-Level, mentioning what all will come to this application as
input and what all will go out as output>

4 Implementation Methodology
Android applications are written in Java programming language using the IDE Android Studio. The
Android SDK tools compile the code along with the data and resource files into an APK, an Android
package, which is an archive file with an .apk suffix. One APK file contains all the components of an
Android application.

Project Title: Peoples Blood Bank Page 13 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Fig. No. 1

Above 0-Level DFD has input as Users Details and after that this input processed in system and we
get all the reports related to blood management.

5 Technologies to be used
5.1 Software Platform
a) Front-end
XML (for designing) XML is used as a front end in development of android
application.

b) Back-end
Java for controlling the functionality of all the activities.
SQLite for controlling the database.

5.2 Hardware Platform


RAM - 4 GB and higher
Hard Disk 500 GB
OS Windows 10 Pro
Android Studio
Mozilla Firefox

5.3 Tools, if any


Tool Name: Android Studio

Tool Version: 2.3.3

6 Advantages of this Project


Greatly reduce time in selecting the right donor.
Provides platform for who are interested to donate blood
Proper Management to blood banks

7 Assumptions, if any
NONE

8 Future Scope and further enhancement of the Project


There is a wide scope for further enhancements in this project. We can deploy this application to
different hospitals in order to make blood easily available to patients. Further this application can be
expanded by adding more blood banks in different parts of the country.

Project Title: Peoples Blood Bank Page 14 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

9 Project Repository Location

S# Project Artifacts Location Verified by Verified by Lab


(softcopy) Project Guide In-Charge

1. Project Synopsis Report Lab-ID 3210, Peoples Blood Bank Name and Name and
(Final Version) Signature Signature

2. Project Progress updates Lab-ID 3210, Peoples Blood Bank Name and Name and
Signature Signature

3. Project Requirement Lab-ID 3210, Peoples Blood Bank Name and Name and
specifications Signature Signature

4. Project Report (Final Lab-ID 3210, Peoples Blood Bank Name and Name and
Version) Signature Signature

5. Test Repository Lab-ID 3210, Peoples Blood Bank Name and Name and
Signature Signature

6. Any other document, give Lab-ID 3210, Peoples Blood Bank Name and Name and
details Signature Signature

10 Definitions, Acronyms, and Abbreviations

Abbreviation Description
Peoples Blood The name of the project.
Bank
OTP One Time Password

11 Conclusion

Project Title: Peoples Blood Bank Page 15 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

12 References

S# Reference Details Owner Version Date

1. Project Synopsis <Project Group ID> 1.0 DD-MM-YY

2. Project Requirements <Project Group ID>

3.

Project Title: Peoples Blood Bank Page 16 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Annexure A
Data Flow Diagram (DFD)

0 LEVEL DFD

1 LEVEL DFD

Project Title: Peoples Blood Bank Page 17 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Annexure B
Entity-Relationship Diagram (ERD)

Project Title: Peoples Blood Bank Page 18 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Annexure C
Use-Case Diagram (UCD)

Project Title: Peoples Blood Bank Page 19 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Annexure D
Data Dictionary (DD)

User Table:
Fields Data type Description
User ID Number It shows User ID
User Name Text It shows User Name
User Sex Sex It shows User Sex
User Age Number It shows User Age
User Mobile No. Number It shows User Mobile No.
User Blood Group Text It shows User Blood
Group
User Email Text It shows User Email
User Password Text It shows User Password

Admin Table:
Fields Data type Description
Admin Username Text It shows Admin
Username
Admin Password Text It shows Admin Password

Donor Table:
Fields Data Type Description
Camp Text It Show Camp where
user donate blood
Date Text It Show on which date
donor wants to donate
blood
No. of Units Number It shows how many units
donor wants to donate
blood
Other Details Text It shows other details

Project Title: Peoples Blood Bank Page 20 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Acceptor Table:
Fields Data Type Description
Blood Group Text It show blood group of
receiver
Till Required Date Text It shows required date to
which receiver need
blood
Addition Details Text It shows additional
details for which reasons
receiver requesting for
blood

Project Title: Peoples Blood Bank Page 21 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Project Title: Peoples Blood Bank Page 22 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Project Title: Peoples Blood Bank Page 23 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Annexure E
Screen Shots
Registration: Login:

Project Title: Peoples Blood Bank Page 24 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Admin Login: OTP:

Project Title: Peoples Blood Bank Page 25 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Reset password: Contact Us:

Project Title: Peoples Blood Bank Page 26 of 27


TMU-CCSIT Version 1.3 T003b-Project Report

Reset password:

Project Title: Peoples Blood Bank Page 27 of 27

You might also like