AAU-Blood Bank System
Project Report:
AAU-Blood Bank System
Submitted by:
Mr.Vaghamshi Ravi
Semester: 6th
Registration #: 06-0168-2014
Guide
Prof. K. P. Patel
(Assistant Professor)
_____________
1
AAU-Blood Bank System
ACKNOWLEDGEMENT
The satisfaction that accompanies that successful completion of any task would be
incomplete without the mention of people whose ceaseless Cooperation made it
possible, whose constant guidance and encouragement Crown all efforts with
success. I am grateful to my project guides Prof. K. P. Patel for the guidance,
Inspiration and constructive suggestions that helped me in the preparation of this
project. At last respect and thanks to all who directly or indirectly were part in the
completion of this project.
2
AAU-Blood Bank System
CERTIFICATE
This is to certify that Mr. Vaghamshi Ravi has satisfactorily carried out the
work which is being presented in the B.Tech Major Project Report entitled
“AAU-Blood Bank System”, in partial fulfillment of the requirements for the
award of the Bachelor of Technology in Agricultural Information
Technology and submitted to college of Agricultural information technology is
an authentic record of my own work carried out during a period from 1th March
to 2nd May, 2018(6th semester) under the supervision of Prof. K. P. Patel.
Guide
Prof. K. P. Patel
(Assistant Professor)
_____________
3
AAU-Blood Bank System
INDEX
Table of Contents
1. Project Plan ........................................................................................................................................... 5
Title & Scope of Project ........................................................................................................................... 5
2. Introduction .......................................................................................................................................... 6
3. Objective ............................................................................................................................................... 6
4. Technology and tools used ................................................................................................................... 6
5. Software requirement .......................................................................................................................... 6
6. Hardware requirement ......................................................................................................................... 7
7. Modules ................................................................................................................................................ 7
8. Literature Review .................................................................................................................................. 7
XAMPP/APACHE Server .......................................................................................................................... 8
MYSQL introduction ................................................................................................................................. 8
Bootstrap CSS Documentation.................................................................................................................. 8
Sublime Text Editor Documentation ....................................................................................................... 10
Features .................................................................................................................................................. 10
9. Data Dictionary ................................................................................................................................... 11
10. Database ............................................................................................................................................. 11
User details Table ................................................................................................................................... 11
Donor details Table ................................................................................................................................. 12
Camps details Table ............................................................................................................................... 13
Stock details Table .................................................................................................................................. 13
Oder details Table ................................................................................................................................... 13
11. DFD (Data flow diagram) .................................................................................................................... 15
Context level diagram ............................................................................................................................. 15
ERD (Entity Relationship diagram) .......................................................................................................... 17
12. Screenshots of System: ....................................................................................................................... 20
13. Testing................................................................................................................................................. 25
14. References .......................................................................................................................................... 28
4
AAU-Blood Bank System
Project Plan
Title & Scope of Project
Title : AAU Blood Bank System
Project Language : php
Initial Activity : Blood Bank Management
Final Activity : Blood selling to customer
# Responsibility Planned Actual date Remark
Procedure for date
1 Title submission Submitting Title 01/03/2018 04/03/2018 Done
for project
3 Synopsis Confirm and 12/03/2018 12/03/2018 Done
Submission submit the
synopsis
4 Report Confirm and 02/05/2018 02/05/2018
submission submit the
project report
5
AAU-Blood Bank System
Introduction
The software system is an AAU blood bank management system that helps in
managing various blood bank operations effectively. The project consists of a
central repository containing various blood deposits available along with
associated details. These details include blood type, storage area and date of
storage. These details help in maintaining and monitoring the blood deposits. The
project is an online system that allows to check whether required blood deposits of
a particular group are available in the blood bank. This online system is developed
on PHP platform and supported by an My Sql database to store blood and user
specific details
Objective
To maintain the Blood Bank System. They have to maintain donor details, Blood
component stock details, Blood request details, Blood issue details, Monthly
statistics, blood details.
To improve the efficiency of blood stock management by alerting the blood bank
staffs when the blood quantity is below it par level or when the blood stock has
expired.
Technology and tools used
XAMPP –Apache, PHP, MySQL
JavaScript, JQuery
Sublime Text Editor
Software requirement
Front-end tool: PHP
Back-end tool: MySQL Server
Operating System: Windows Xp or above
Windows 7/8/10
6
AAU-Blood Bank System
Hardware requirement
Processor: intel i3 or above
RAM: 2GB(recommended)
Modules
1) User module
User is that person who is interested in donating their blood so they can register
themselves through this website. If any requirement comes then they will be
contacted and they can donate their blood.
Along with it they can search for the various organization locations wise and
can also make request for blood if needed
2) Admin Module
Admin In this module the Administrator has the privileges to add all the Blood
Groups, Blood Type, Organization, Type, Country, and Location. He can search
all the info about the Organization, Donor
Stock Report will produce reports of the quantity of the bloods available and
bloods status.
Order Report will have the list of products ordered and the customer details
who have bought that product, which are undelivered.
Delivery Reports will list all orders which are delivered to customers.
Add new blood.
Literature Review
PHP
PHP is an acronym for "PHP Hypertext Pre-processor".
PHP is a widely-used, open source scripting language.
PHP scripts are executed on the server.
PHP costs nothing, it is free to download and use.
7
AAU-Blood Bank System
XAMPP/APACHE Server
XAMPP stands for Cross-Platform (X), Apache (A), MySQL (M), PHP (P) and Perl
(P).
It is a simple, lightweight Apache distribution that makes it extremely easy for
developers to create a local web server for testing purposes. Everything you need to
set up a web server – server application (Apache), database (MySQL), and scripting
language (PHP) – is included in a simple extractable file.
XAMPP is also cross-platform, which means it works equally well on Linux, Mac
and Windows.
Apache is the actual web server application that processes and delivers web content
to a computer. Apache is the most popular web server online, powering nearly 54%
of all websites.
MYSQL introduction
MySQL is a database system used on the web.
MySQL is a database system that runs on a server.
MySQL is ideal for both small and large applications.
MySQL is very fast, reliable, and easy to use.
MySQL uses standard SQL.
MySQL is developed, distributed, and supported by Oracle Corporation.
PHP combined with MySQL are cross-platform (you can develop in Windows and
serve on a Unix platform).
Bootstrap CSS Documentation
Twitter Bootstrap is the most popular front end frameworks currently. It is sleek,
intuitive, and powerful mobile first front-end framework for faster and easier web
development. It uses HTML, CSS and JavaScript.
Why use Bootstrap?
8
AAU-Blood Bank System
Mobile first approach: Since Bootstrap 3, the framework consists of Mobile first
styles throughout the entire library instead of in separate files.
Browser Support: It is supported by all popular browsers.
Easy to get started: With just the knowledge of HTML and CSS anyone can get
started with Bootstrap. Also the Bootstrap official site has a good documentation.
Responsive design: Bootstrap's responsive CSS adjusts to Desktops, Tablets and
Mobiles. More about responsive design in the chapter bootstrap responsive design.
Provides a clean and uniform solution for building an interface for developers it
contains beautiful and functional built-in components which are easy to customize.
It also provides web based customization. And best of all it is an open source.
JavaScript , JQueryand AJAX Documentation
JavaScript is a programming language that lets you supercharge your HTML with
animation, interactivity, and dynamic visual effects. JavaScript can make web
pages more useful by supplying immediate feedback. For example, a JavaScript-
powered automatic calculation can instantly display a total cost, with tax and
estimated cost. JavaScript can produce an error message immediately after
someone attempts to submit a web form that’s missing necessary information.
JQuery is a web designer’s secret weapon in the battle of JavaScript
programming. With JQuery, you can accomplish tasks in a single line of code that
would otherwise take hundreds of lines of programming and many hours of
browser testing to achieve with your own JavaScript code. JQuery is a JavaScript
library intended to make JavaScript programming easier and more fun. A
JavaScript library is a complex JavaScript program that both simplifies difficult
tasks and solves cross-browser problems. In other words, JQuery solves the two
biggest headaches with JavaScript complexity and the finicky nature of different
web browsers.
AJAX
Update a web page without reloading the page
9
AAU-Blood Bank System
Request data from a server - after the page has loaded
Receive data from a server - after the page has loaded
Send data to a server - in the background
Sublime Text Editor Documentation
Sublime Text is a versatile and fun text editor for code and prose that automates
repetitive tasks so you can focus the important stuff. It works on OS X, Windows
and Linux. Sublime Text’s vast flexibility is the reason why you will learn about
so many configuration files: there simply must be a place to specify all available
preferences and settings. Sublime Text will look for resources inside the packages
folder. We’ll talk at length about packages later, but the short version is that, to
keep things tidy, Sublime Text has a notion of a package, that is, a folder (or zip
archive) that contains resources that belong together (maybe they help compose
emails faster, write HTML efficiently, enhance the coding experience for C, Ruby,
Go...).
Features
Multiple Selections
Command Palette
Distraction Free Mode
Split Editing
Instant Project Switch
Plug-in API
Customize Anything
Cross Platform
10
AAU-Blood Bank System
Data Dictionary
Pk=Primary key
Fk=Foreign key
Null= Allows null value
Not null=Null value is not allowed
Database
User details Table
Sr.No Field Datatype length keys Description
01 Id Int 20 Pk Autogenerated
Seeds id
02 name Varchar 50 Not null Name of user
03 Address Varchar 200 Not Null User Address
04 Email Varchar 50 Not null Email id of User
05 Mobile no. Int 10 Not null M number
of user
06 Pincode Int 6 Not null Pincode of area
07 Username Varchar 50 Not null Username
08 Password Pwd 20 Not null Password of user
09 CPassword Pwd 20 Not null Conform Password
of user
11
AAU-Blood Bank System
Donor details Table
S.No Field Datatype length keys Descript.
01 id Int 30 Pk Autogenerated
User id of donor
02 firstname Varchar 50 Not null User name
of customer
03 mname Varchar 50 Not null Last name of
customers
04 Lastname Varchar 50 Not null Last name of
customers
05 Address Varchar 200 Not Null User Address
06 Talika Varchar 50 Not null Donor taluko
07 District Varchar 50 Not null Donor District
08 Blood group Varchar 50 Not null Donor blood group
09 Weight Varchar 50 Not null Donor weight
10 Mobile no. Int 10 Not null M number
of donor
11 Email Varchar 50 Not null Email id of Donor
12 Date of Varchar 50 Not null Donor birth date
Birth
13 Gender Varchar 50 Not null Donor gender
14 Username Varchar 50 Not null Username
15 Password Pwd 20 Not null Password of donor
16 CPassword Pwd 20 Not null Conform Password of
user
17 Status Varchar 50 Not null Donor Status
12
AAU-Blood Bank System
Camps details Table
S.No Field Datatype length keys Descript.
01 id Int 20 Pk Autogenerated
Id of item
02 District varchar 30 Not null Camp district
03 Address Varchar 20 Not null Camp address
04 Date Date - Not null Camp date
05 Timing Varchar 30 Not null Camp time
06 Incharge doctor Varchar 30 NotNull Incharge doctor
name
07 Doctor mono Int 10 NotNull Doctor mobile
number
Stock details Table
S.No Field Datatype Lengt keys Descript.
h
01 id Int 20 Pk Autogenerated
Unique Order ID
02 Blood group varchar 20 NotNull Add blood group name
name
03 Image image 50 Not null Add image
04 Stock Int 50 Not Null Blood stock
05 Price Int 200 Not Null Blood price
Oder details Table
S.N Field Datatype length keys Descript.
o
01 Id Int 20 Pk Autogenerated
Unique Order ID
02 Blood group varchar 20 Not Null Add blood group name
13
AAU-Blood Bank System
name
03 User name varchar 50 Not null User name
04 Name varchar 20 Not null Customer name
05 Blood name Varchar 50 Not Null Name of blood group
06 Price Int 200 Not Null Blood price
07 Quantity Int 10 Not null Quantity of blood bag
08 Total Int 10 Not null Total price of blood bag
09 Address Varchar 50 Not null User address
10 Email Varchar 20 Not null User email address
11 Mobile no Int 10 Not null User mobile number
12 City Varchar 20 Not null City name
13 Pin code Int 6 Not null Pin code
Admin details Table
Sr.No Field Datatype length keys Description
01 Id Int 20 Pk Autogenerated
Seeds id
02 name Varchar 50 Not null Name of user
03 Uname Varchar 20 Not null Admin user name
04 Password Password 20 Not null Admin password
14
AAU-Blood Bank System
DFD (Data flow diagram)
Context level diagram
Level-1 diagram
15
AAU-Blood Bank System
16
AAU-Blood Bank System
ERD (Entity Relationship diagram)
An entity relationship diagram is a specialized graphic that illustrates the
interrelationship between entities in a database.ER diagram often use symbols to
represent three different type of information. Boxes are commonly used to
represent entities. Diamonds are normally used to represent relationship and ovals
are used to represent attribute.
The three main component of an ERD are:
1. Entity:
2. Relationship:
3. Attributes:
17
AAU-Blood Bank System
18
AAU-Blood Bank System
PERT Chart
(Project Evaluation and Review Technique):
Task Duration ES EF LS LF ST
Specification A 12 0 12 0 12 0
Design B 25 12 37 12 37 0
Database
part
Design GUI C 10 12 22 18 28 6
Part
19
AAU-Blood Bank System
Code D 30 37 67 37 67 0
Database
part
Code GUI E 15 22 37 52 67 30
part
Integrate F 13 67 80 67 80 0
&Test
Write User G 55 12 67 25 80 13
Manual
Critical path:=A-B-D-F=80
Screenshots of System:
20
AAU-Blood Bank System
21
AAU-Blood Bank System
22
AAU-Blood Bank System
23
AAU-Blood Bank System
24
AAU-Blood Bank System
Testing
The development process repeats this testing sub-process a number of times for
the following phases.
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Testing can be done on the following levels:
Unit Testing
Objective
25
AAU-Blood Bank System
The objective of Unit Testing is to test a unit of code (program or set of
programs) using the Unit Test Specifications, after coding is completed. Unit
testing tests the minimal software component, or module.
Each unit of the software is tested to verify that the detailed design for the unit
has been correctly implemented. In an object-oriented environment this is
usually at the class level, and the minimal tests include the constructors and the
destructors.
Since the testing will depend on the completeness and correctness of test
specifications, it is important to subject these to quality and verification reviews
Input
Unit Test Specifications
Code to be tested
Testing Process
Checking for availability of Code Walk-through reports which have documented
the existence of and conformance to coding standards.
Review of Unit Test Specifications.
Verify the Unit Test Specifications conform to the program specifications.
Verify that all boundary and null data conditions are included.
Following are some of the test cases that are given below:
1. Whether system allows null fields or not.
2. Is contact number field accept only 10 digits or not?
3. Is Name field only allows alphabets or not?
4. Does textbox offers masking of characters in password field?
5. Is there any minimum password length?
6. Check the behaviour of form by not filling up any data into the form.
7. Check the by not filling up the required fields.
Integration Testing
26
AAU-Blood Bank System
Integration testing exposes defects in the interfaces and interaction between
integrated components (modules). Progressively larger groups of tested software
components corresponding to elements of architectural design are integrated and
tested until the software works as a system.
As Modular coding strategy was used, after completion of my module and
integrating the module with the complete application, time was given to me to test
their part of module completely and thoroughly.
Integration testing takes as its input, modules that have been checked out by unit
testing, groups them in larger aggregates, applies tests defined in an integration
test plan to those aggregates, and delivers as its output the integrated system ready
for system testing.
Following are some of the test cases that are given below:
Verify that communication between the systems are done correctly
Understand how the data is transferred from one module to another.
Is record fetch automatically from one module to another?
System Testing
System testing tests a completely integrated system to verify that it meets its
requirements.
System Integration Testing
System integration testing verifies that a system is integrated to any external or
third party systems defined in the system requirements.
Following are some of the test cases that are given below.
27
AAU-Blood Bank System
References
http://www.tngovbloodbank.in/index.php
http://www.jagriti.co.in/solutions/healthcare/blood-bank-management-application
http://seednet.gov.in/
http://admis.hp.nic.in/bbms/
https://www.phptpoint.com/projects/blood-bank-management-system/
28