Synopsis: 1.1 Title of The Project
Synopsis: 1.1 Title of The Project
SYNOPSIS
Apartment Management
Main objective of this project is to help the users to manage the operations and
activities of apartments. It helps the owner to reduce the cost of maintaining the
records. This request for apartment owners, maintaining monthly expenses for every
apartment, billing details, issues etc.
1.3 Category
Web Application
The project consists of admin, user and guest page that manages the Maintenance
request Payment history and user details. A customer has to login if user does not
have an account. Then the user will go for registration process. Apartment
management software should provide the Apartment manager with everything
they need relating to the property(s) in one centralized location. Apartment
management software should improve the management process for its users by
simplifying things.
1.5.1 Analysis
1
1.5.2 Module Description
1.5.2.1 Login
This Module allows to login three kinds user, guest and admin
the software authenticate the user by user id and password.
When user clicks the forgot password the user needs to enter
registered email-id whenever the user provides exact
information it will allows the user to change the password.
1.5.2.3 Admin
1.5.2.3.1 Rooms
1.5.2.3.1.1 Add
1.5.2.3.1.2 Update
1.5.2.3.1.3 Delete
1.5.2.3.2.1 View
1.5.2.3.2.2 Delete
2
1.5.2.3.2.3 Update
1.2.2.3.3.1 View
1.2.2.3.3.2 Delete
1.5.2.3.4.2 Delete
1.5.2.3.6 Notification
1.5.2.3.7 Reservations
3
1.5.2.4 User
1.5.2.4.1 Booking
The user can pay various bill like water, Electricity and
pay the maintain fees.
1.5.2.4.6 My Profile
1.5.2.4.6.1 View
1.5.2.4.6.2 Edit
4
1.5.2.4.7 Notification
1.5.2.4.7.1 View
1.5.2.4.7.2 Delete
1.5.2.5.1 Registration
1.5.2.5.2 Booking
1.5.2.5.3 My Bookings
1.5.2.5.3.1 View
1.5.2.5.3.2 Cancel
5
1.5.2.5.4 Check Facility
1.5.2.5.6 Notification
1.5.2.5.6.1 View
1.5.2.5.6.2 Delete
1.5.2.4.7 My Profile
1.5.2.4.7.1 View
1.5.2.4.7.2 Edit
6
1.5.2.6 Data Structure
1.5.2.6.1 Resident
Username
Password
Email-id
First name
Last name
Proof of identity
Phone number
1.5.2.6.2 Guest
Username
Password
Email-id
First name
Last name
Proof of identity
Phone number
1.5.2.6.3 Reservation
Booking id
Guest/Username
Room no
Check-in
Check-out
7
1.5.2.6.4 Rooms
Room type
Capacity
Price
Size
Location
Status
Room number
1.5.2.6.5 Bills
User
Type
Amount
1.5.2.6.6 Emergency
Room no
Type
Phone number
1.5.2.6.7 View-Issues
User name
Phone number
Issues
1.5.2.6.8 Notification
User name
Notification type
Message
Created By
8
1.6 Other information
Not applicable.
1.7 Future scope
User can book a room and also he can see the booking information, can
receive notification from the admin.
9
2. SOFTWARE REQUIREMENT SPECIFICATION
2.1 Introduction:
2.1.1 Purpose
2.1.2 Scope
2.1.4 Reference
Integrated approach to software Engineering
-Pankaj Jalote
Synopsis
10
2.1.5 Overview
This describes the general factors that affect the product and its requirements.
Specification requirements are not mentioned, but a general overview is
presented to make the understanding of the specific requirements easier.
This project will work based on the modules, the modules are
managing the accounts, request status which are managed by the
admin. The client has to register first then he can login.
It describes the user quality to operate this software. The user must have
qualities like type skills, to fill up the form, basic English language.
The basic assumption here is made about the user that the user should
have the computer knowledge. This product work independently.
11
2.3 Specific Requirements
RAM: 2GB
Not applicable.
12
2.3.2.1 Login Module
2.3.2.1.1 Login
Input: Email-id
2.3.2.2.1 Rooms
2.3.2.2.1.1 Add
13
2.3.2.2.1.2 Update
2.3.2.2.1.3 Delete
2.3.2.2.2.1 View
2.3.2.2.2.2 Delete
2.3.2.2.2.3 Update
14
2.3.2.2.3 Payment History
2.3.2.2.3.1 View
Input: Button-click
2.3.2.2.3.2 Delete
Input: Button-click
2.3.2.2.4.1 View
2.3.2.2.4.2 Delete
15
2.3.2.2.5 View Issues
2.3.2.2.6 Notification
2.3.2.2.7 Reservation
2.3.2.3.1 Booking
16
2.3.2.3.2 Emergency services
2.3.2.3.6 My Profile
2.3.2.3.6.1 View
Input: Button-click.
17
2.3.2.3.6.2 Edit
2.3.2.3.7 Notification
2.3.2.3.7.1 View
2.3.2.3.7.2 Delete
2.3.2.4.1 Registration
18
2.3.2.4.2 Booking
2.3.2.4.3 My Bookings
2.3.2.4.3.1 View
Input: Button-click
2.3.2.4.3.2 Cancel
Input: Button-click
19
2.3.2.4.6 Report Issues
2.3.2.4.7 Notification
2.3.2.4.7.1 View
2.3.2.4.7.2 Delete
2.3.2.4.8 My Profile
2.3.2.4.8.1 View
Input: Button-click.
2.3.2.4.8.2 Edit
20
2.3.3 Performance Requirements
Processor: CORE i3
21
2.3.4.4 Security
This system specifies overall attribute that the system should have. The
attributes required to develop project Management are user login with
their user name and password are store in data base.
2.3.5.1 Accessibility
The user can access the software anywhere at the time 24*7 in
365 days.
2.3.5.2 Flexibility
2.3.5.3 Portability
Not applicable
22
3. SYSTEM DESIGN
3.1 Introduction
The purpose of the system design is planning the allocation of the problem
specified by domain the requirement document. This phase is the first step in moving
from the problem to solution domain. Design document includes system specification
as well as the design of the specification task, test specification and actual program.
The System design is used during implementation, testing, and maintenance.
System design which is sometimes also called top level design aims to identify
the module that should be in the system. The specification of the modules tells that
how they interact with each other to produce desired result. Much of the designing
webpage is spent in creating the system design. At the end of the system design all the
major data structure, file formats, and their major modules in the system and their
specification are decided.
3.4.1 Login
3.4.1.1 Login
23
3.5 Description of Program
ADMIN
APARTMENT
MANAGEMENT
USER GUEST
24
3.5.2 Top level Data Flow Diagram
DFD Symbols:
25
Top level DFD for Admin:
User
Rooms
View
Delete
Add Update Payment
Delete
Manage Update
Rooms user
View
Payment Delete
Admin Login History
Issues
View
Emergency Issues
Reservation Service
Notification View
Emergency
Reservation Notification
26
Top level DFD for User:
Notification
User
s
View
View Edit
Delete Emergency
My profile
Notification
Emergency
Service
Check
User Registration Login
Facility
Report
issue
Pay Bill
Issue
Bill
27
Top level DFD for Guest:
Reservation
Cancel
View
View
Edit
My
booking
User My profile
Booking
Check
Guest Registration Login Facility
Emergency
Report Service
issues Notification
View Delete
Emergency
Issue
Notifications
28
3.5.3 Description of Components
3.5.3.1 Login Module
3.5.3.1.1 Input
User-ID, Password
3.5.3.1.2 Process Definition
Validating User-ID and Password
3.5.3.1.3 Output
Login successful
3.5.3.1.4 Interface with other functional component
Registration module
3.5.3.1.5 Resource Allocation
User
3.5.3.1.6 Scope prototyping, user interface
Textbox, button
Display
unsuccessful
Invalid Input
Valid Load to
User-name
User/admin Validation respective
Password page
User
29
3.5.3.2 Forgot Password
3.5.3.2.1 Input
Email-ID
3.5.3.2.2 Process Definition
It insert the input into the table, user related hints will
be provided whenever the user provides exact
information it will allow the user to change the
password.
3.5.3.2.3 Output
Password changed successfully otherwise unsuccessful.
3.5.3.2.4 Interface with other functional
component
Not applicable
3.5.3.2.5 Resource Allocation
User
3.5.3.2.6 Scope prototyping, user interface
Textbox, Button
Display
unsuccessful
Invalid input
Change
Validation Valid password and
User
E-mail store to database
User
Display
Successful
30
3.5.3.3 Admin
3.5.3.3.1 Rooms
3.5.3.3.1.1 Add
3.5.3.3.1.1.1 Input
Room type, Capacity, Price, Size, Location, Status,
Room number.
Display unsuccessful
Invalid
Input
Room Valid
Admin Validation Store to Data
Details base
Rooms
Display successful
31
3.5.3.3.1.2 Update
3.5.3.3.1.2.1 Input
Room type, Capacity, Price, Size, Location, Status,
Room number.
3.5.3.3.1.2.3 Output
Room updated successfully.
Display unsuccessful
Invalid
Room Valid
Admin Store to
Validation
Details Database
Room
Display successful
32
3.5.3.3.1.3 Delete
3.5.3.3.1.3.1 Input
Button click
3.5.3.3.1.3.2 Process definition
It will remove data from the database.
3.5.3.3.1.3.3 Output
Room deleted successfully.
Rooms
Display successful
33
3.5.3.3.2.1.3 Output
It will view the user detail.
3.5.3.3.2.1.4 Interface with other functional
components
Not applicable
3.5.3.3.2.1.5 Resource allocation
User
3.5.3.3.2.1.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Admin Click
database
User
Details Displayed
3.5.3.3.2.2 Delete
3.5.3.3.2.2.1 Input
Button click
3.5.3.3.2.2.2 Process definition
It retrieve data from database.
3.5.3.3.2.2.3 Output
Display successful message.
34
3.5.3.3.2.2.6 Scope prototyping, user interface
Button
User
Display successful
3.5.3.3.2.3 Update
3.5.3.3.2.3.1 Input
Email id, First name, Last name, User name.
35
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Admin
User
Display successful
36
Button
Retrieve data from
Admin Click
database
Payment
Details Displayed
3.5.3.3.3.2 Delete
3.5.3.3.3.2.1 Input
Button click
3.5.3.3.3.2.2 Process definition
Retrieves data from the database.
3.5.3.3.3.2.3 Output
Delete the payment successful.
3.5.3.3.3.2.4 Interface with other functional
components
Not applicable
3.5.3.3.3.2.5 Resource allocation
Payment
3.5.3.3.3.2.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Admin Click
database
Payment
Delete successful
37
3.5.3.3.4 Emergency Service
3.5.3.3.4.1 View
3.5.3.3.4.1.1 Input
Button Click
3.5.3.3.4.1.2 Process definition
It will retrieve data from database.
3.5.3.3.4.1.3 Output
Display the emergency services.
3.5.3.3.4.1.4 Interface with other functional
components
Not applicable
3.5.3.3.4.1.5 Resource allocation
Emergency
3.5.3.3.4.1.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Admin Click
database
Emergency
Details Displayed
3.5.3.3.4.2 Delete
3.5.3.3.4.2.1 Input
Button click
3.5.3.3.4.2.2 Process definition
Retrieves data from the database.
3.5.3.3.4.2.3 Output
Deleted successfully.
38
3.5.3.3.4.2.4 Interface with other functional
components
Not applicable
3.5.3.3.4.2.5 Resource allocation
Emergency
3.5.3.3.4.2.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Admin Click
database
Emergency
Delete successful
39
Button
Retrieve data from
Admin Click
database
Issues
Details Displayed
3.5.3.3.6 Notification
3.5.3.3.6.1 Input
User, Notification type, Message, Created by
3.5.3.3.6.2 Process
Store the information in the database.
3.5.3.3.6.3 Output
Notification sent successfully.
40
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Admin
Notification
Display successful
3.5.3.3.7 Reservation
3.5.3.3.7.1 Input
Type, Location, User name, Person, Check-in, Check-out,
Room type, Price
3.5.3.3.7.2 Process
Store the information in the database.
3.5.3.3.7.3 Output
Display successful message.
3.5.3.3.7.4 Interface with other functional components
Not applicable
3.5.3.3.7.5 Resource allocation
Reservation
3.5.3.3.7.6 Scope prototyping, user interface
Button, Textbox
41
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Admin
Reservation
Display successful
3.5.3.4 User
3.5.3.4.1 Booking
3.5.3.4.1.1 Input
Username, Password, Password confirmation, Email, First
name, Last name, Aadhar no, Phone no, Room number.
3.5.3.4.1.2 Process definition
It will store to database.
3.5.3.4.1.3 Output
Display successful message.
42
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
User
Display successful
43
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
Emergency
Display successful
44
Button Retrieve all
User Click the facilities
Facilities displayed
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
Report
Display successful
45
3.5.3.4.6 Pay Bill
3.5.3.4.6.1 Input
Bill type, Amount.
3.5.3.4.6.2 Process definition
It will store to database.
3.5.3.4.6.3 Output
Display successful message.
3.5.3.4.6.4 Interface with other functional components
Not applicable
3.5.3.4.6.5 Resource allocation
Bill
3.5.3.4.6.6 Scope prototyping, user interface
Textbox, Button
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
Bill
Display successful
46
3.5.3.4.7 My Profile
3.5.3.4.7.1 View
3.5.3.4.7.1 Input
Button click
3.5.3.4.7.2 Process
Retrieves information from the database.
3.5.3.4.7.3 Output
Displays the user details.
3.5.3.4.6.4 Interface with other functional
components
Not applicable
3.5.3.4.6.5 Resource allocation
User
3.5.3.4.6.6 Scope prototyping, user interface
Button
Button
Retrieve data from
User Click
database
User
Details Displayed
3.5.3.4.7.1 Edit
3.5.3.4.7.1 Input
Email-id, Phone no, User name
3.5.3.4.7.2 Process
Updates information into database
47
3.5.3.4.7.3 Output
Update successful.
3.5.3.4.6.4 Interface with other functional
components
Not applicable
3.5.3.4.6.5 Resource allocation
User
3.5.3.4.6.6 Scope prototyping, user interface
Button, Textbox
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
User
Display successful
3.5.3.4.8 Notification
3.5.3.4.8.1 View
3.5.3.4.8.1.1 Input
Button-click
3.5.3.4.8.1.2 Process
Retrieves data from database
3.5.3.4.8.1.3 Output
Displays notification
48
3.5.3.4.8.1.4 Interface with other functional
components
Not applicable
3.5.3.4.8.1.5 Resource allocation
Notification
3.5.3.4.8.1.6 Scope prototyping, user interface
Button
Button
Retrieve data from
User Click
database
Notification
Details Displayed
3.5.3.4.8.1 Delete
3.5.3.4.8.1.1 Input
Button click
3.5.3.4.8.1.2 Process
Retrieves data from database.
3.5.3.4.8.1.3 Output
Delete successful.
3.5.3.4.8.1.4 Interface with other functional
components
Not applicable
3.5.3.4.8.1.5 Resource allocation
Notification
3.5.3.4.8.1.6 Scope prototyping, user interface
Button
49
Button
Retrieve data from
User Click
database
Notification
Delete successful
3.5.3.5 Guest
3.5.3.5.1 Registration
3.5.3.5.1.1 Input
Username, Password, Password confirmation Email, First
name, Last name, Aadhar no, Phone no.
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Guest
Guest/user
Display successful
50
3.5.3.5.2 Booking
3.5.3.5.2.1 Input
Location, Check-in, Check-out.
3.5.3.5.2.2Process definition
It will store to database.
3.5.3.5.2.3 Output
Display successful message.
3.5.3.5.2.4 Interface with other functional components
Not applicable
3.5.3.5.2.5 Resource allocation
Booking
3.5.3.5.2.6 Scope prototyping, user interface
Button, Textbox
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Guest
Booking
Display successful
3.5.3.5.3 My Bookings
3.5.3.5.3.1 View
3.5.3.5.3.1.1 Input
Button-click
51
3.5.3.5.3.1.2Process definition
Retrieves data from the database.
3.5.3.5.3.1.3 Output
Displays booking details.
3.5.3.5.3.1.4 Interface with other functional
components
Not applicable
3.5.3.5.3.1.5 Resource allocation
Bookings
3.5.3.5.3.1.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Guest Click
database
Bookings
Details Displayed
3.5.3.5.3.2 Cancel
3.5.3.5.3.2.1 Input
Button click
3.5.3.5.3.2.2 Process definition
Retrieves data from the database.
3.5.3.5.3.2.3 Output
Cancel successful message.
3.5.3.5.3.2.4 Interface with other functional
components
Not applicable
3.5.3.5.3.2.5 Resource allocation
Bookings
52
3.5.3.5.3.2.6 Scope prototyping, user interface
Button
Button
Retrieve data from
Guest Click
database
Bookings
Cancel successful
53
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
Emergency
Display successful
Facilities displayed
54
3.5.3.5.4 Report Issues
3.5.3.5.4.1 Input
Room no, Issues.
3.5.3.5.4.2 Process definition
It will store to database.
3.5.3.5.4.3 Output
Display successful message.
3.5.3.5.4.4 Interface with other functional components
Not applicable
3.5.3.5.4.5 Resource allocation
Report
3.5.3.5.4.6 Scope prototyping, user interface
Textbox, button
Display unsuccessful
Invalid
Valid
Details Validation Store to database
Guest
Report
Display successful
3.5.3.5.8 Notification
3.5.3.5.8.1 View
3.5.3.5.8.1.1 Input
Button-click
55
3.5.3.5.8.1.2 Process
Retrieves data from database.
3.5.3.5.8.1.3 Output
Displays notification.
3.5.3.5.8.1.4 Interface with other functional
components
Not applicable
3.5.3.5.8.1.5 Resource allocation
Notification
3.5.3.5.8.1.6 Scope prototyping, user interface
Button
Button
Retrieve data from
User Click
database
Notification
Details Displayed
3.5.3.5.8.2 Delete
3.5.3.5.8.2.1 Input
Button click
3.5.3.5.8.2.2 Process
Retrieves data from database.
3.5.3.5.8.2.3 Output
Delete successful.
3.5.3.5.8.2.4 Interface with other functional
components
Not applicable
56
3.5.3.5.8.2.5 Resource allocation
Notification
3.5.3.5.8.2.6 Scope prototyping, user interface
Button
Button
Retrieve data from
User Click
database
Notification
Delete successful
3.5.3.5.9 My Profile
3.5.3.5.9.1 View
3.5.3.5.9.1 Input
Button click
3.5.3.5.9.2 Process
Retrieves information from the database.
3.5.3.5.9.3 Output
Displays the user details.
3.5.3.5.9.4 Interface with other functional
components
Not applicable
3.5.3.5.9.5 Resource allocation
User
3.5.3.5.9.6 Scope prototyping, user interface
Button
57
Button
Retrieve data from
User Click
database
User
Details Displayed
3.5.3.5.9.2 Edit
3.5.3.5.9.2.1 Input
Email-id, Phone no, User name
3.5.3.5.9.2.2 Process
Updates information into database
3.5.3.5.9.2.3 Output
Update successful.
3.5.3.5.9.2.4 Interface with other functional
components
Not applicable
3.5.3.5.9.2.5 Resource allocation
User
3.5.3.5.9.2.6 Scope prototyping, user interface
Button, Textbox
58
Display unsuccessful
Invalid
Valid
Details Validation Store to database
User
User
Display successful
59
4. DATABASE DESIGN
4.1 Introduction
Database is a collection of related data. Relational database store in tables or
relation. The data stored in relation are arranged in records. Each record consists of
set of attributes. Fields can be referred to as characteristics of record. This document
describes the table that is used to design software, its attributes, data type, constraints,
relationship among those tables.
1. User
60
2. Reservations
3. Emergency
4. room
Fieldname Datatype Size Constraints Description
Room-no Integer 10 Primary Key Room number
61
5. Issues
6. Bill
4.3 ER Diagram
ER Diagram is visual representation of data that describe how data is related
to each other in ER model we disintegrate data into entities, attributes and set up
relationship between entities or these can be represented visually using the ER
diagram. Symbolic nation and their description used in drawing the ER diagram are
follows:
62
Symbol Convention
Entity
Weak entity
Relation
Key attribute
Attribute
Composite attribute
1 1 Partial participation
E1 R E2
Total participation
1 N
E1 R E2
63
4.3.1 User
Room
no
Id Id
Category
Room
no
Emergency Issues
Category
N N
Has
Has
Id
Phone no
Password 1 1
Aadhar
1
User
Email
Is guest
Date Joined 1
Is
Last login Has resident
Room
Id Amount
Type
64
4.3.2 Guest
Room
no
Id Id
Category
Room
no
Emergency Issues
Category
N N
Has
Has
Id
Payment
User
1 1
Room no
1
Guest
Check in
User id
Check out
1
Has
Room no N Status
Bill
Beds
Price
Size
Capacity
Category
65
5. Detailed Design
5.1 Introduction
Detailed design or logical design concentrates on the internal logic of module
which is identified during the system design documents uses structure chart or logic
of the module identified and al so it uses flow chart for the procedural detail. The
detailed of the system is the last design activity before implementation begins the
detailed design should represent the system design in a verity of views where each
view uses a different modelling technique.
A template for detailed design would not be of much use since each detailed
design is likely to be unique and quite different from other design.
66
5.3 Structure of the software package
Apartment Management
View
Payment History Report issues
Edit
Notification
View
Notification
Delete View
View
Delete
Emergency Service
Delete
My profile
View
View
Delete
Edit
View Issues
Notification
Reservation
67
5.4 Modular Decomposition of Components
5.4.1 Login module
5.4.1.1 Login
5.4.1.1.1 Design Assumption
All fields are mandatory.
5.4.1.1.2 Identification of module
This module is used to login to the system with input
user Id and Password.
5.4.1.1.3 Hierarchy of login module
Main Module
Login
68
5.4.1.2.3 Hierarchy of login module
Login
Forgot password
Add
69
5.4.2.1.1.5 Structured English (Design Logic)
INPUT room details
IF room details valid THEN
STORE room details into database
Display successful
ELSE
Display error message
END IF
5.4.2.1.2 Update
5.4.2.1.2.1 Design assumption
All fields are mandatory.
5.4.2.1.2.2 Identification of module
It stores data to the database.
5.4.2.1.2.3 Hierarchy of login module
Rooms
Update
70
5.4.2.1.3 Delete
5.4.2.1.3.1 Design Assumption
Not Applicable.
5.4.2.1.3.2 Identification of Module
It will remove data from the database.
5.4.2.1.3.3 Hierarchy of Login Module
Rooms
Delete
View
71
5.4.2.2.1.4 Data Structure Stored Among
Modules
User
5.4.2.2.1.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE information from database
DISPLAY user details
5.4.2.2.2 Delete
5.4.2.2.2.1 Design Assumption
Not applicable
5.4.2.2.2.2 Identification of Module
It is used to delete the user.
5.4.2.2.2.3 Hierarchy of Login Module
Manage User
Delete
72
5.4.2.2.3.3 Hierarchy of Login Module
Manage User
Update
View
73
5.4.2.3.1.4 Data Structure Stored Among
Modules
Payment
5.4.2.3.1.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE from database
DISPLAY information
5.4.2.3.2 Delete
5.4.2.3.2.1 Design Assumption
Not applicable.
5.4.2.3.2.2 Identification of Module
Retrieves data from database.
5.4.2.3.2.3 Hierarchy of Login Module
Payment history
Delete
74
5.4.2.5.1.2 Identification of Module
It will retrieve data from the database.
5.4.2.5.1.3 Hierarchy of Login Module
Emergency Service
View
Delete
75
5.4.2.5.2.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE from database
DISPLAY successful
5.4.2.6 View Issues
5.4.2.6.1 Design Assumption
Not applicable.
5.4.2.6.2 Identification of Module
It will view the issues from the database.
5.4.2.6.3 Hierarchy of Login Module
Admin
View issues
Notification
76
5.4.2.7.4 Data Structure Stored Among Modules
Notification
5.4.2.7.5 Structured English (Design Logic)
INPUT details
IF details valid THEN
STORE to database
Display successful
ELSE
DISPLAY error message
END IF
5.4.2.8 Reservation
5.4.2.8.1 Design Assumption
Not applicable
5.4.2.8.2 Identification of Module
It is used to view the bookings of user.
Reservation
77
5.4.3 User
5.4.3.1 Booking
5.4.3.1.1 Design Assumption
All fields are mandatory.
5.4.3.1.2 Identification of Module
It is used to book a room.
5.4.3.1.3 Hierarchy of Login Module
User
Booking
78
5.4.3.2.3 Hierarchy of Login Module
User
Emergency
services
User
Check Facility
79
5.4.3.4.2 Identification of Module
It is used to report the issues.
5.4.3.4.3 Hierarchy of Login Module
User Module
Report issues
Pay Bill
80
5.4.3.5.5 Structured English (Design Logic)
INPUT details
IF details are valid THEN
STORE to database
Display successful
ELSE
DISPLAY error message
END IF
5.4.3.6 My Profile
5.4.3.6.1 View
5.4.3.6.1.1 Design Assumption
Not applicable
5.4.3.6.1.2 Identification of Module
It is used to view the user profile.
5.4.3.6.1.3 Hierarchy of Login Module
User
View
81
5.4.3.6.2.3 Hierarchy of Login Module
User
Edit
User
View
82
5.4.3.7.1.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE from database
DISPLAY information
5.4.3.7.2 Delete
5.4.3.7.2.1 Design Assumption
Not applicable
5.4.3.7.2.2 Identification of Module
It is used to delete the notification.
User
Delete
Guest
Registration
83
5.4.4.1.4 Data Structure Stored Among Modules
Register
5.4.4.1.5 Structured English (Design Logic)
INPUT details
IF details are valid THEN
STORE to database
Display successful
ELSE
DISPLAY error message
END IF
5.4.4.2 Booking
5.4.4.2.1 Design Assumption
All fields are mandatory.
5.4.4.2.2 Identification of Module
It is used to book a room.
5.4.4.2.3 Hierarchy of Login Module
Guest
Booking
84
5.4.4.3 My Bookings
5.4.4.3.1 View
5.4.4.3.1.1 Design Assumption
Not applicable
5.4.4.3.1.2 Identification of Module
It is used to view the booking details.
Guest
View
Guest
Cancel
85
5.4.4.4.1.4 Data Structure Stored Among Modules
Reservation
5.4.4.4.1.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE from database
CANCEL successful
5.4.4.5 Emergency Service
5.4.4.5.1 Design Assumption
All fields are mandatory.
5.4.4.5.2 Identification of Module
It is used to request the emergency services.
5.4.4.5.3 Hierarchy of Login Module
Guest
Emergency
services
86
5.4.4.6.2 Identification of Module
It is used check the different facilities available.
5.4.4.6.3 Hierarchy of Login Module
Guest
Check Facility
Report issues
87
5.4.4.8 Notification
5.4.4.8.1 View
5.4.4.8.1.1 Design Assumption
Not applicable
5.4.4.8.1.2 Identification of Module
It is used to view the notification sent by admin.
Guest
View
Guest
Delete
88
5.4.4.8.2.5 Structured English (Design Logic)
INPUT button-click
RETRIEVE from database
DELETE successful
5.4.4.9 My Profile
5.4.4.9.1 View
5.4.4.9.1.1 Design Assumption
Not applicable
5.4.4.9.1.2 Identification of Module
It is used to view the user profile.
5.4.4.9.1.3 Hierarchy of Login Module
Guest
View
89
5.4.4.9.2.3 Hierarchy of Login Module
Guest
Edit
90
5.5 Detailed Design
Detailed design can be represented by using either a flowchart or a structure
chart.
Flowchart: Flowchart is a diagram that shows a pictorial representation of the
algorithm, a step by step approach to solving a task. Flowchart uses shapes to
represent types of action or step in the process.
91
Structured chart: Structured chart illustrate the partitioning of the problem into
sub problems and shows the hierarchical relationship among the parts. A structured
chart is a top-down modular design tool, constructed of square representing different
modules in a system, and lines that connect them.
92
5.5.1 Module Design Of Components
5.5.1.1 Login Module
5.5.1.1.1 Login
5.5.1.1.1.1Input
User-ID, password.
5.5.1.1.1.2Procedural Details
Structured Chart
Login
93
Flow Chart
Start
Input user_id
and password
User/ Validation
guest Display error
message
If input is False
valid
True
Load to respective page
Display successful
message
Stop
94
5.5.1.1.2 Forgot Password
5.5.1.1.2.1 Input
Email-id
5.5.1.1.2.2 Procedural Details
Structured Chart
Forgot password
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Email-id
Step3: Validate the input
Step4: If input is valid then
Allow to change password
Display successful message
Else
Display unsuccessful message
Go to step2
End if
Step5: Stop
95
Flow Chart
Start
Input Email-id
User/ Validation
Guest Display error
message
If input False
Is valid
True
Change password and Store to database
Display successful
message
Stop
96
5.5.1.2.1.1.2 Procedural Details
Structured Chart
Add
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input room details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
97
Flow Chart
Start
Input Details
True
Store to database
Display Successful
Stop
Rooms
5.5.1.2.1.1.4 Output
Button, Textbox
98
5.5.1.2.1.2 Update
5.5.1.2.1.2.1 Input
Room details
5.5.1.2.1.2.2 Procedural Details
Structured Chart
Update
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input room details
Step3: Validate the input
Step4: If input is valid then
Update to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
99
Flow Chart
Start
Input Details
True
Update to database
Display Successful
Stop
Rooms
5.5.1.2.1.2.4 Output
Button, Textbox
5.5.1.2.1.3 Delete
5.5.1.2.1.3.1 Input
Button-Click
100
5.5.1.2.1.3.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
Flow Chart
Start
Display Successful
Stop
101
5.5.1.2.1.3.3 File I/O Interface
Rooms
5.5.1.2.1.3.4 Output
Button
5.5.1.2.2.1 View
5.5.1.2.2.1.1 Input
Button-Click
5.5.1.2.2.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
102
Flow Chart
Start
Display information
Stop
User
5.5.1.2.2.1.4 Output
Button
5.5.1.2.2.2 Delete
5.5.1.2.2.2.1 Input
Button-Click
103
5.5.1.2.2.2.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
Flow Chart
Start
Display successful
Stop
104
5.5.1.2.2.2.3 File I/O Interface
User
5.5.1.2.2.2.4 Output
Button
5.5.1.2.2.3 Update
5.5.1.2.2.3.1 Input
User name, Email, First name, Last name, Phone
number
5.5.1.2.2.3.2 Procedural Details
Structured Chart
Update
Store to Display
database unsuccessful
message
105
Algorithm
Step1: Start
Step2: Input user details
Step3: Validate the input
Step4: If input is valid then
Update to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
Flow Chart
Start
True
Update to database
Display Successful
Stop
106
5.5.1.2.2.3.3 File I/O Interface
User
5.5.1.2.2.3.4 Output
Button, Textbox
5.5.1.2.3.1 View
5.5.1.2.3.1.1 Input
Button-Click
5.5.1.2.3.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
107
Flow Chart
Start
Display information
Stop
Payment
5.5.1.2.3.1.4 Output
Button
5.5.1.2.3.2 Delete
5.5.1.2.3.2.1 Input
Button-Click
108
5.5.1.2.3.2.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
Flow Chart
Start
Display successful
Stop
109
5.5.1.2.3.2.3 File I/O Interface
Payment
5.5.1.2.3.2.4 Output
Button
5.5.1.2.4.1 View
5.5.1.2.4.1.1 Input
Button-Click
5.5.1.2.4.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
110
Flow Chart
Start
Display information
Stop
Emergency
5.5.1.2.4.1.4 Output
Button
5.5.1.2.4.2 Delete
5.5.1.2.4.2.1 Input
Button-Click
111
5.5.1.2.4.2.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
Flow Chart
Start
Display successful
Stop
112
5.5.1.2.4.2.3 File I/O Interface
Emergency
5.5.1.2.4.2.4 Output
Button
5.5.1.2.5.1 Input
Button-Click
5.5.1.2.5.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
113
Flow Chart
Start
Display information
Stop
Issues
5.5.1.2.5.4 Output
Button
5.5.1.2.6 Notification
5.5.1.2.6.1 Input
user name, notification type, message, created by
114
5.5.1.2.6.2 Procedural Details
Structured Chart
Notification
Input Display
successful
Details Verification
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
115
Flow Chart
Start
Notification
Input Details
True
Store to database
Display Successful
Stop
Notification
5.5.1.2.6.4 Output
Textbox, Button
116
5.5.1.2.7 Reservation
5.5.1.2.7.1Input
Booking id, user name, room no, check-in, check-out.
5.5.1.2.7.2 Procedural Details
Structured Chart
Reservation
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
117
Flow Chart
Start
True
Store to database
Display Successful
Stop
Reservation
5.5.1.2.7.4 Output
Button, Textbox
118
5.5.1.3 User
5.5.1.3.1 Booking
5.5.1.3.1.1Input
Booking details
5.5.1.3.1.2 Procedural Details
Structured Chart
Booking
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
119
Flow Chart
Start
False
If input Display error
Is valid message
True
Store to database
Display Successful
Stop
User
5.5.1.3.1.4 Output
Textbox, Button
5.5.1.3.2.1 Input
Details
120
5.5.1.3.2.2 Procedural Details
Structured Chart
Emergency Service
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
121
Flow Chart
Start
True
Store to database
Display Successful
Stop
Emergency
5.5.1.3.2.4 Output
Textbox, Button
5.5.1.3.3.1 Input
Button-click
122
5.5.1.3.3.2 Procedural Details
Structured Chart
Check facility
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve all the facilities
Step4: Display information
Step5: Stop
Flow Chart
Start
Input Details
Display information
Stop
None
123
5.5.1.3.3.4 Output
It will display the facilities provided by the apartment.
5.5.1.3.3.5 Implementation Aspect
Button
5.5.1.3.4.1 Input
User id, room no, issues.
5.5.1.3.4.2 Procedural Details
Structured Chart
Report Issues
Store to Display
database unsuccessful
message
124
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
Flow Chart
Start
True
Store to database
Display Successful
Stop
125
5.5.1.3.4.3 File I/O Interface
Issues
5.5.1.3.4.4 Output
Textbox, Button
Pay Bill
Store to Display
database unsuccessful
message
126
Algorithm
Step 1: Start
Step 2: Input Details
Step3: Validate the input
Step 4: If input is valid then
Stores data into the database
Display successful
Else
Display Unsuccessful message
Goto Step 2
End if
Step 5: Stop
Flow chart
Start
True
Store to database
Display Successful
Stop
127
5.5.1.3.5.3 File I/O interface
Bill
5.5.1.3.5.4 Output
Display successful message.
5.5.1.3.5.5 Implementation aspects
buttons and textbox
5.5.1.3.6 My Profile
5.5.1.3.6.1 View
5.5.1.3.6.1.1 Input
Button-Click
5.5.1.3.6.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
128
Flow Chart
Start
Display information
Stop
User
5.5.1.3.6.1.4 Output
5.5.1.3.6.2.1 Input
User name, Emil id, Phone no.
129
5.5.1.3.6.2.2 Procedural Details
Structured Chart
Edit
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input user details
Step3: Validate the input
Step4: If input is valid then
Update to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
130
Flow Chart
Start
True
Update to database
Display Successful
Stop
User
5.5.1.3.6.2.4 Output
Button, Textbox
5.5.1.3.7 Notification
5.5.1.3.7.1 View
5.5.1.3.7.1.1 Input
Button-Click
131
5.5.1.3.7.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
Flow Chart
Start
Display information
Stop
Notification
132
5.5.1.3.7.1.4 Output
Displays notifications.
Button
5.5.1.3.7.2 Delete
5.5.1.3.7.2.1 Input
Button-Click
5.5.1.3.7.2.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
133
Flow Chart
Start
Delete Successful
Stop
Rooms
5.5.1.3.7.2.4 Output
Displays Successful
Button
5.5.1.4 Guest
5.5.1.4.1 Registration
5.5.1.4.1.1 Input
username, password, email, first name, last name, adhar
no, phone no.
134
5.5.1.4.1.2 Procedural Details
Structured Chart
Registration
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input user details
Step3: Validate the input
Step4:If input is valid then
Display successfully registration done
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
135
Flow chart
Start
Input user
details
Guest
Validation
Display error
message
If user not False
exist
True
Store to database
Display successful
message
Stop
5.5.1.4.2.1 Input
Location, check-in, check-out.
136
5.5.1.4.2.2 Procedural Details
Structured Chart
Booking
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
137
Flow Chart
Start
True
Store to database
Display Successful
Stop
Reservation
5.5.1.4.2.4 Output
Textbox, Button
5.5.1.4.3 My Bookings
5.5.1.4.3.1 View
5.5.1.4.3.1.1 Input
Button-Click
138
5.5.1.4.3.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
Flow Chart
Start
Display information
Stop
Reservation
139
5.5.1.4.3.1.4 Output
Button
5.5.1.4.3.2 Cancel
5.5.1.4.3.2.1 Input
Button-Click
5.5.1.4.3.2.2 Procedural Details
Structured Chart
Cancel
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Cancel successful
Step5: Stop
140
Flow Chart
Start
Display information
Stop
Reservation
5.5.1.4.3.2.4 Output
Cancel successful.
Button
5.5.1.4.4.1 Input
User id, room no, emergency type
141
5.5.1.4.4.2 Procedural Details
Structured Chart
Emergency Service
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
142
Flow Chart
Start
True
Store to database
Display Successful
Stop
Emergency
5.5.1.4.4.4 Output
Textbox, Button
5.5.1.4.5.1 Input
Button-click
143
5.5.1.4.5.2 Procedural Details
Structured Chart
Check facility
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve all the facilities
Step4: Display information
Step5: Stop
Flow Chart
Start
Input Details
Display Facilities
Stop
144
5.5.1.4.5.3 File I/O Interface
None
5.5.1.4.5.4 Output
Button
5.5.1.4.6.1 Input
User id, room no, issues.
5.5.1.4.6.2 Procedural Details
Structured Chart
Report Issues
Store to Display
database unsuccessful
message
145
Algorithm
Step1: Start
Step2: Input details
Step3: Validate the input
Step4: If input is valid then
Store to database
Display successful
Else
Display unsuccessful message
Goto step2
End if
Step5: Stop
Flow Chart
Start
True
Store to database
Display Successful
Stop
146
5.5.1.4.6.4 Output
Display successful.
5.5.1.4.6.5 Implementation Aspects
Textbox, Button
5.5.1.4.7 My Profile
5.5.1.4.7.1 View
5.5.1.4.7.1.1 Input
Button-Click
5.5.1.4.7.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
147
Flow Chart
Start
Display information
Stop
User
5.5.1.4.7.1.4 Output
5.5.1.4.7.2.1 Input
Email-id, phone no, User name
148
5.5.1.4.7.2.2 Procedural Details
Structured Chart
Edit
Store to Display
database unsuccessful
message
Algorithm
Step1: Start
Step2: Input user details
Step3: Validate the input
Step4: If input is valid then
Update to database
Display successful
Else
Display error message
Goto step2
End if
Step5: Stop
149
Flow Chart
Start
True
Update to database
Display Successful
Stop
User
5.5.1.4.7.2.4 Output
Button, Textbox
5.5.1.4.8 Notification
5.5.1.4.8.1 View
5.5.1.4.8.1.1 Input
Button-Click
150
5.5.1.4.8.1.2 Procedural Details
Structured Chart
View
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display information
Step5: Stop
Flow Chart
Start
Display information
Stop
Notification
151
5.5.1.4.8.1.4 Output
Displays notifications.
Button
5.5.1.4.8.2 Delete
5.5.1.4.8.2.1 Input
Button-Click
5.5.1.4.8.2.2 Procedural Details
Structured Chart
Delete
Algorithm
Step1: Start
Step2: Input button click
Step3: Retrieve information from the database
Step4: Display successful
Step5: Stop
152
Flow Chart
Start
Notification
Input Details
Delete Successful
Stop
Notification
5.5.1.4.8.2.4 Output
Display successful
Button
153
6. USER INTERFACE
Welcome Page
Login Page
Registration Page
154
Registration Page for User
155
For User/Guest Emergency
156
Pay Bill
User/Guest Profile
157
User/Guest Notification Delete
Available Rooms
158
Room Booking
Booking details
159
7. TESTING
7.1 Introduction
Testing is the major quality control measures and during the software
development it is used to detect errors that could have occurred during any of the
phase like requirement analysis, design, coding. The goal of the testing is to uncover
errors in the program.
Unit Testing
In Unit testing each module gets tested during the
coding phase itself. The purpose is to exercise the
different parts of the module code to detect the coding
errors.
Integration Testing
After new testing the modules are gradually integrated
into sub systems. It is performed to detect design errors
by focusing on testing the interconnection between
modules.
System Testing
System is tested against the system requirement if all
the requirements are met and if the system performs as
specified by the requirement.
Acceptance Testing
It is performed to demonstrate to the client on real life
data of the client, the operation of the system.
160
7.3 Test Case
It is the input that tests the genuineness of the program and
successful execution of the test case revels. That there are no errors in the program
that are under testing. It is a set of conditions or variables under which tester will
determine whether an application or software is working currently.
161
Test case ID 01
Title Login
162
163
Test case ID 02
164
165
Test case ID 03
Valid Output
166
Test case ID 04
Test data Email Id,, user name, Password, Confirm Password, Phone
Number, Aadhar Number, First Name, Last Name
167
Valid Output
168
Test case ID 05
Steps 1.If
If user is Logged in Click On Emergency Link in
Navigation Bar
2.Fill the Form
3.Submit
4. If All Fields are Valid
5.Sends the data to Admin Panel With your User ID
6. Else Fill Out the Form.
Expected Invalid output
output
Valid Output:
169
Test case ID 06
170
Valid Output:
171
Test case ID 07
172
Test case ID 08
Steps 1.If
If user is Logged in Click On Check Facility Link in
Navigation Bar
2.View the Facility
Expected Valid Output:
output
173
Test case ID 09
Valid Output:
174
175
176
Test case ID 10
Title Notification
177
Test case ID 11
178
Test case ID 12
Valid Output:
179
180
Test Case ID 13
Valid Output:
181
8. FUTURE SCOPE
User can book a room and also he can see the booking information, can receive
notification from the admin.
182
9. BIBLIOGRAPHY
Textbook referred
o Integrated approach to software Engineering
-Pankaj Jalote
www.javapoint.com
www.stackoverflow.com
183