You are on page 1of 26

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

"Jnana Sangama", Belagavi - 590 018

A Mini -Project Work on

“RENTAL HOUSE MANAGEMENT SYSTEM”


A Dissertation work submitted in partial fulfillment of the requirement
for the award of the degree

Bachelor of Engineering
In
Information Science & Engineering

Submitted by
Prajwal Y S 1AY21IS074
Preetham L K 1AY21IS077

Under the guidance of


Prof. Jagadeesh N
Assistant Professor

DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING


ACHARYA INSTITUTE OF TECHNOLOGY
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY, BELAGAVI APPROVED BY AICTE, NEW DELHI,
ACCREDITED BY NAAC, NEW DELHI )
Acharya Dr. Sarvepalli Radhakrishnan Road, Soldevanahalli, Bengaluru-560107

2023-24
DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING
ACHARYA INSTITUTE OF TECHNOLOGY
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY, BELAGAVI APPROVED BY AICTE, NEW DELHI, ACCREDITED
BY NAAC, NEW DELHI)
Acharya Dr. Sarvepalli Radhakrishnan Road, Soldevanahalli, Bengaluru-560107

Certificate
This is to Certify that the Database management system laboratory with Mini-Project
(21CSL55) work entitled “House Rental Management System” is a bonafide work carried
out by Prajwal Y S (1AY21IS074) and Preetham L K(1AY21IS077) in partial fulfillment
for the award of the degree of Bachelor of Engineering in Information Science and
Engineering of the Visvesvaraya Technological University, Belagavi during the year 2023-
24. It is certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the Report deposited in the departmental library. The Project has been
approved as it satisfies the academic requirements in respect of Project work prescribed for the
Bachelor of Engineering Degree.

Prof. Jagadeesh N Dr. Kala Venugopal


Signature of Guide Signature of HOD

Name of the Examiners Signature with date

1.

2.
ACKNOWLEDGEMENT

The satisfaction that accompanies the successful completion of this mini-project would
be incomplete without the mention of the people who made it possible through constant
guidance and encouragement

We would take this opportunity to express gratitude to Sri. B. Premnath Reddy Chairman,
Acharya Institutes, Dr. Rajath Hegde M M, Principal, and Prof. C K Marigowda, Vice
Principal, Acharya Institute of Technology for providing the necessary infrastructure to
complete this mini-project

We wish to express our deepest gratitude and thanks to Prof Dr. Kala Venugopal, Head
of the Department, Information Science and Engineering.

We wish to express sincere thanks to my guide Prof. Jagadeesh N, Assistant Professor,


Department of Information Science and Engineering for helping us throughout and
guiding us from time to time.

A warm thanks to all the faculty of the Department of Information Science and
Engineering, who have helped us with their views and encouraging ideas.

Prajwal Y S(1AY21IS074)
Preetham L K (1AY21IS077)

i
ABSTRACT

The House Rental Management System (HRMS) offers a robust solution to address the
complexities of managing rental properties. By leveraging modern technology, HRMS
provides landlords, property managers, and tenants with a centralized platform for seamless
communication and efficient operation. This system encompasses features such as property
listing management, tenant screening tools, automated rent collection, maintenance request
tracking, and financial reporting capabilities. Through HRMS, landlords can optimize their
property management processes, reduce administrative overhead, and enhance tenant
satisfaction. Likewise, tenants benefit from convenient online services for rent payments,
maintenance requests, and communication with property owners. HRMS represents a
significant advancement in rental property management, revolutionizing the way rental
properties are managed and enhancing the overall experience for all stakeholders involved..

ii
TABLE OF CONTENTS

Acknowledgement i
Abstract ii
1. Introduction 1
1.1 Introduction to DBMS 1
1.1.1 Why DBMS? 2
1.1.2 Database applications 2
1.1.3 Advantages of DBMS 3
1.1.4 Components of DBMS 4
1.1.5 Three-Schema architecture 5
2. System Requirements 6
2.1 Hardware Requirements 6
2.2 Software Requirements 6
3. Design 7
3.1 ER Diagram 7
3.2 Schema Diagram 8
4. Implementation 9
4.1 Tables 9
4.1.1 PROPERTY 9
4.1.2 TENANT 10
4.1.3 LEASE 10
4.1.4 PAYMENT 11
4.1.5 MAINTAINENCE
5. Snapshots 12
6. Triggers 18
7.Conclusion & Future Enhancements 19
8.Bibliography 20
TABLE OF FIGURES

1.1 Components of Database Management System 4


1.2 Architecture of database system 5
3.1 Entity Relationship Diagram 7
3.2 Schema Diagram 8
5.1 Snapshot of sign in/ sign up page 12
5. 2 Snapshot of home page/index page 13
5.3 Snapshot of all tenants 14
5.4 Snapshot of payment invoice 14
5.5 Snapshot of payment from tenants 15
5.6 Snapshot of houses which are occupied 16
5.7 Snapshot of houses which are vacant 17
House rental management DBMS Mini-Project

CHAPTER 1
INTRODUCTION
In today’s busy world it is difficult to find bookings for planes, hotels and get offers at
the same time.EasyGo is a site that helps people to book modes of transport and even the place
of stay, based on a roundtrip or one-way trip. Even cancel the booking and get exciting offers.

1.1 Introduction to DBMS


DBMS stands for Database Management System. We can break it like this DBMS = Database
+ Management System. The database is a collection of data and a Management System is a set
of programs to store and retrieve those data. Basically, DBMS is a software tool to organize
(create, retrieve, update and manage) data in a database.

The main aim of a DBMS is to supply a way to store up and retrieve database
information that is both convenient and efficient. By data, we mean known facts that can be
recorded and that have embedded meaning. Normally people use software such as DBASE IV
or V, Microsoft ACCESS, or EXCEL to store data in the form of a database. A datum is a unit
of data. Meaningful data combined to form information. Hence, information is interpreted data
– data provided with semantics. MS. ACCESS is one of the most common examples of
database management software.

Database systems are meant to handle large collections of information. Management of


data involves both defining structures for the storage of information and providing mechanisms
that can do the manipulation of those stored information. Moreover, the database system must
ensure the safety of the information stored, despite system crashes or attempts at unauthorized
access.

1.1.1 Why DBMS?


● To develop software applications in less time.
● Data Independence and efficient use of data.
● For uniform data administration.
● For data integrity and security.
● For concurrent access of data, and data recovery from crashes.
● To use user-friendly declarative query language.

AIT/ISE/2023- 23 1
House rental management DBMS Mini-Project

1.1.2 Database applications


● Telecom: There is a database to keep track of the information regarding calls made,
network usage, customer details, etc. Without the database systems, it is hard to
maintain that huge amount of data that keeps updating every millisecond.

● Industry: Where it is a manufacturing unit, warehouse, or distribution center, each one


needs a database to keep the records of ins and outs. For example, distribution centers
should keep a track of the product units that are supplied into the centre as well as the
products that got delivered out from the distribution centre on each day; this is where
DBMS comes into the picture.

● Education sector: Database systems are frequently used in schools and colleges to store
and retrieve the data regarding student details, staff details, course details, exam details,
payroll data, attendance details, fees details etc. There is a hell lot of interrelated data
that needs to be stored and retrieved efficiently.

● Online shopping: You must be aware of the online shopping websites such as Amazon,
Flipkart etc. These sites store the product information, your addresses and preferences,
credit details and provide you the relevant list of products based on your query. All this
involves a Database management system.

● Banking system: For storing customer info, tracking day to day credit and debit
transactions, generating bank statements etc. All this work has been done with the help
of Database management systems.

1.1.3 Advantages of DBMS


A DBMS manages data and has many advantages.
● Data Independence: Application programs should be as free or independent as possible
from details of data representation and storage. DBMS can supply an abstract view of
the data for insulating application code from such facts.

AIT/ISE/2023- 23 2
House rental management DBMS Mini-Project

● Efficient data access: DBMS utilizes a mixture of sophisticated concepts and


techniques for storing and retrieving data competently and this feature becomes
important in cases where the data is stored on external storage devices.

● Data integrity and security: If data is accessed through the DBMS, the DBMS can
enforce integrity constraints on the data.

● Data administration: When several users share the data, integrating the administration
of data can offer major improvements. Experienced professionals understand the nature
of the data being managed and can be responsible for organizing the data representation
to reduce redundancy and make the data to retrieve efficiently.

● Providing backup and recovery: A DBMS must provide facilities for recovering from
hardware or software failures. The backup and recovery subsystem of the DBMS is
responsible for recovery.

● Permitting inferencing and actions using rules: Some database systems provide
capabilities for defining deduction rules for inferencing new information from the stored
database facts.

AIT/ISE/2023- 23 3
House rental management DBMS Mini-Project

1.1.4 Components of DBMS

Fig-1.1: Components of a Database Management System

● Users: Users may be of any kind such as DB administrator, System developer or


database users.

● Database application: Database application may be Departmental, Personal,


organization’s and / or Internal.

● DBMS: Software that allows users to create and manipulate database access.

● Database: Collection of logical data as a single unit.

● Database access language: This is used to access the data to and from the database, to
enter new data, update existing data, or retrieve required data from databases. The user
writes a set of appropriate commands in a database access language, submits these to the
DBMS, which then processes the data and generates and displays a set of results into a
user readable form.

AIT/ISE/2023- 23 4
House rental management DBMS Mini-Project

1.1.5 Three-Schema architecture

Fig-1.2: Architecture of database system

The levels form a three-level architecture that includes an external, a conceptual, and an internal
level. The way users recognize the data is called the external level. The way the DBMS and the
operating system distinguish the data is the internal level, where the data is actually stored using
the data structures and file. The conceptual level offers both the mapping and the desired
independence between the external and internal levels.

AIT/ISE/2023- 23 5
House rental management DBMS Mini-Project

CHAPTER 2
SYSTEM REQUIREMENTS

2.1 Hardware Requirements


● Processor: Intel Core2 Quad @ 2.4Ghz on Windows® Vista 64-Bit / Windows® 7 64-
Bit / Windows® 8 64-Bit / Windows® 11 64-Bit.
● RAM: 6GB of RAM
● Memory: 256GB Hard drive
● Keyboard: MS-compatible keyboard
● Mouse: MS-compatible mouse

2.2 Software Requirements


● Operating system: Windows® Vista 64-Bit / Windows® 7 64-Bit / Windows® 8 64-
Bit / Windows® 11 64-Bit.
● Front end: HTML, BOOTSTRAP, JAVASCRIPT,CSS
● Back end: PHP
● IDE: MySQL workbench

AIT/ISE/2023- 23 6
House rental management DBMS Mini-Project

CHAPTER 3
DESIGN
3.1 ER Diagram

Fig-3.1: Entity Relationship Diagram

1: N
● Property to Tenant: One-to-Many relationship.
● One property can have multiple tenants.
● Property to Lease: One-to-Many relationship.
● One property can have multiple leases.
● Tenant to Lease: One-to-Many relationship.
● One tenant can have multiple leases.
● Lease to Payment: One-to-Many relationship.
● One lease can have multiple payments.
● Property to Maintenance: One-to-Many relationship.
● One property can have multiple maintenance requests.

AIT/ISE/2023- 23 7
House rental management DBMS Mini-Project

3.2 Schema Diagram

Fig-3.2: Schema Diagram

AIT/ISE/2023- 23 8
House rental management DBMS Mini-Project

CHAPTER 4
IMPLEMENTATION
4.1 Tables

4.1.1 PROPERTY

Entity name ATTRIBUTES CONSTRAINTS

PropertyId Primary key

Address Not null

PROPERTY Type Not null

Size Not null

RentAmount Not null

AIT/ISE/2023- 23 9
House rental management DBMS Mini-Project

4.1.2 TENANT

Entity ATTRIBUTES CONSTRAINTS

TenantId Primary key,not null

Name Not null

TENANT ContactNumber Not null

Email Not null

MoveInDate Not null

4.1.3 LEASE

Entity ATTRIBUTES CONSTRAINTS

LeaseId Primary key

PropertyId Foreign key

TenantId Not null


LEASE

LeaseStartDate Not null

LeaseEndDate Not null

AIT/ISE/2023- 23 10
House rental management DBMS Mini-Project

4.1.4 PAYMENT

Entity ATTRIBUTES CONSTRAINTS

PaymentId Primary key

PAYMENT LeaseId Foreign key

PaymentDate Not null

Amount Not null

PaymentMethod Not null

4.1.5 MAINTAINENCE

Entity ATTRIBUTES CONSTRAINTS

MaintainenceId Primary key

PropertyId Foreign key

Description Not null

Maintainence DateReported Not null

Status Not null

Type Not null

AIT/ISE/2023- 23 11
House rental management DBMS Mini-Project

CHAPTER 5
SNAPSHOTS

The following snapshot contains the sign in/sign up page.

Fig-5.1: Snapshot of sign in / sign up page


1. The welcome screen contains links for -
● Sign in
● Sign up
2. User can enter his roll no and password for login
3. User can also sign up if he does not have an existing account.
4. User can select his college name and provide his email_id,phone number during sign up

Validators Given:
1. The given blanks can not be null.
2. Here also there is an option to for Sign Up if the User has not registered yet.
3. While creating a password the no. Of characters must be greater than 6.
4. To view his home page user must sign up or sign in.
5. A user will be able to sign in only when he has been registered.
6. After the completion of the Sign in and Sign up the user will be redirected to the home
or the index page .

AIT/ISE/2023- 23 12
House rental management DBMS Mini-Project

Fig-5.2: Snapshot of home page

The above snapshot is seen as soon as the user logs in through this page he will start his Rent
finding journey
● User can select and search for Houses he wants.
● User can see messages that he has received.
● The user can also recommend new houses and give descriptions to the house that he is
recommending.
● The currently issued house and the date in which it was issued or returned.
● If the user has stayed any houses previously then it will be showed in the previously
stayed houses.
● If the user wants to log out he can click the navigation bar and click log out or he can
click the logout in the left side toggle bar.

Validators given:
1. The following page will not be rendered if the user is not successfully logged in .

AIT/ISE/2023- 23 13
House rental management DBMS Mini-Project

Fig-5.3: Snapshot of tenants

● It shows the books their availability.


● User can just select details to view the house details
● If user is interested in a house he can raise a request for house issue.

Validators given:
1. The following page will not be rendered if the user has not successfully logged in.

Fig-5.4: Snapshot of payment invoice

AIT/ISE/2023- 23 14
House rental management DBMS Mini-Project

The is a snapshot of recommend a house page.


● When a user wants a house that is not there in the library he can recommend the house
by giving Address of the house and its description.

Validators given
1. The following page will not render if the user has not successfully logged in .
2. The user can not submit an empty response with no title or description.

Fig-5.5: Snapshot of payments from tenants

The is a snapshot of payment from tenants


● When a user selects the currently added house tab he can see the house that he has is
currently issued with.
● It shows the name of the house owner, house id, its issue date and due date.
● User can just select renew to renew the house.
● If user wishes to leave the house he raise a return request by clicking return.

Validators given:
1. The following page will not be rendered if the user has not successfully logged in.
2. The user can not raise return request for the same house twice.
3. The user can raise a renewal request for a house that has crossed its due date.

AIT/ISE/2023- 23 15
House rental management DBMS Mini-Project

Fig-5.6: Snapshot of houses which are occupied

The is a snapshot of the messages page .


● When a user selects the messages page he can see all the messages that were sent to him
by the admin.
● It shows the message content , date and time the message was sent.

● Enabling a search bar within the messages page allows users to quickly find specific
messages based on keywords or sender names.
● Displaying messages in threaded conversations helps users track the context of their
conversations with the admin more efficiently.

AIT/ISE/2023- 23 16
House rental management DBMS Mini-Project

Fig-5.7: Snapshot of houses which are vacant

This is a snapshot of the houses that are vacant page.


● When a user selects the previously stayed houses page he can see the houses that were
previously rented by him.
● It shows the train name of the house , house id, issue date and return date.
● User can not see the house if he has not stayed in the house yet.
● previously stayed houses based on various criteria such as location, rental duration,
amenities, or price range
● Allowing them to quickly find the specific information they are looking for.

AIT/ISE/2023- 23 17
House rental management DBMS Mini-Project

TRIGGERS
Trigger for the records table.
CREATE TRIGGER update_house_status AFTER INSERT ON invoices
FOR EACH ROW
BEGIN
DECLARE house_rent INT;
DECLARE invoice_total INT;
-- Get the rent of the associated house
SELECT rent INTO house_rent FROM houses WHERE id = NEW.house;
-- Get the total amount of the inserted invoice
SELECT total INTO invoice_total FROM invoices WHERE id = NEW.id;
-- Update the status of the associated house based on the invoice total
IF invoice_total > house_rent THEN
UPDATE houses SET status = 'unpaid' WHERE id = NEW.house;
ELSE
UPDATE houses SET status = 'paid' WHERE id = NEW.house;
END IF;
END
PROCEDURES
CREATE PROCEDURE get_unpaid_invoices(IN tenant_id INT)
BEGIN
SELECT * FROM invoices WHERE tenant = tenant_id AND status = 'unpaid';
END//

AIT/ISE/2023- 23 18
House rental management DBMS Mini-Project

CONCLUSION & FUTURE ENHANCEMENT


Conclusion
The rental house management system represents a pivotal tool for landlords and property
managers, serving to streamline operations and bolster communication between all involved
parties. By significantly reducing manual errors and administrative workload, this system
greatly enhances efficiency in managing properties, tenants, and finances. Moving forward,
several key enhancements could further elevate its utility and effectiveness. Firstly, the
development of a mobile application would enable users to access the system conveniently
from their smart phones, enhancing accessibility and flexibility. Integrating payment gateways
for online rent payments would simplify transactions and improve convenience for tenants and
landlords alike. Additionally, implementing robust reporting and analytics features could offer
valuable insights into rental performance and financial trends, aiding landlords in making
informed decisions.
Enhanced tenant screening tools would further mitigate risks by allowing landlords to conduct
thorough background checks and assess creditworthiness. Furthermore, improvements in
maintenance tracking capabilities and the creation of a centralized communication hub would
foster better management of property maintenance and facilitate smoother communication
between landlords and tenants. Finally, incorporating compliance management features would
help ensure adherence to legal regulations and rental laws, providing landlords with peace of
mind. By incorporating these enhancements, the rental house management system would
continue to evolve as an indispensable asset in optimizing property management processes and
enhancing overall user experience.

Future Enhancement
For a rental management system Future enhancements could include:
Predictive Maintenance implement predictive maintenance capabilities using IoT sensors and
data analytics to anticipate equipment failures and schedule maintenance proactively, reducing
downtime and enhancing tenant satisfaction.
AI-Powered Chatbots integrate AI-powered chatbots to provide instant responses to tenant
inquiries, handle routine maintenance requests, and streamline communication between tenants
and property managers,Smart Home Integration enable integration with smart home devices to
offer tenants features such as remote access control, energy management, and security
monitoring, enhancing the overall living experience and attracting tech-savvy renters

AIT/ISE/2023- 23 19
House rental management DBMS Mini-Project

BIBLIOGRAPHY
Web References
1. https://www.w3schools.in/dbms/intro/
2. https://www.youtube.com/
3. https://getbootstrap.com/
4. https://developer.mozilla.org/en-US/
5. https://www.erdplus.com/
6. https://www.google.com/
7. Https://mysql.com/

Book References
1. Fundamentals of Database Systems, RamezElmasri and Shamkant B. Navathe, 7th Edition,
2017, Pearson

AIT/ISE/2023- 23 20

You might also like