0% found this document useful (0 votes)
1K views25 pages

Muncipal Management System (Final)

This document describes a database management system mini project on a Municipality Management System. The project was completed by two students, Vishal Pattar and Yashashwini S, as a partial fulfillment of their Bachelor of Engineering degree in Computer Science and Engineering at Visvesvaraya Technological University. The project aims to develop a management system to help municipalities efficiently manage employee information, government projects, expenditures, online services, and other operations in a computerized manner rather than manually. It was guided by Ms. Anjali Gupta and approved by the Department of Computer Science and Engineering at CMR Institute of Technology.

Uploaded by

YASHASHWINI S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views25 pages

Muncipal Management System (Final)

This document describes a database management system mini project on a Municipality Management System. The project was completed by two students, Vishal Pattar and Yashashwini S, as a partial fulfillment of their Bachelor of Engineering degree in Computer Science and Engineering at Visvesvaraya Technological University. The project aims to develop a management system to help municipalities efficiently manage employee information, government projects, expenditures, online services, and other operations in a computerized manner rather than manually. It was guided by Ms. Anjali Gupta and approved by the Department of Computer Science and Engineering at CMR Institute of Technology.

Uploaded by

YASHASHWINI S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

Jnana Sangama, Belgaum-590018

A Database Management System Mini Project Report


on

“MUNICIPALITY MANAGEMENT SYSTEM”


Submitted in Partial fulfillment of the Requirements for the V Semester of the Degree of

Bachelor of Engineering
In
Computer Science & Engineering
By
VISHAL PATTAR
(1CR19CS185)

YASHASHWINI S
(1CR19CS187)

Under the Guidance of

Ms. ANJALI GUPTA


Assistant Professor, Dept. of CSE

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


CMR INSTITUTE OF TECHNOLOGY
#132, AECS LAYOUT, IT PARK ROAD, KUNDALAHALLI,
BANGALORE-560037
CMR INSTITUTE OF TECHNOLOGY
#132, AECS LAYOUT, IT PARK ROAD, KUNDALAHALLI,
BANGALORE-560037
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE
This is to certify that the Database Management System Project work entitled
“MUNICIPALITY MANAGEMENT SYSTEM” has been carried out by VISHAL
PATTAR (1CR19CS185), YASHASWINI S (1CR19CS187) bonafide students of CMR
Institute of Technology in partial fulfillment for the award of Bachelor of Engineering in
Computer Science and Engineering of the Visvesvaraya Technological University,
Belgaum during the year 2021-2022. It is certified that all corrections/suggestions indicated
for Internal Assessment have been incorporated in the Report deposited in the departmental
library. This DBMS Project Report has been approved as it satisfies the academic
requirements in respect of project work prescribed for the said degree.

----------------------- ----------------------- ----------------------


Signature of Guide Signature of Guide Signature of HOD

Ms.Anjali Gupta Dr.Keshav Murthy Dr. Shreekanth M Prabhu


Asst Professor Asst Professor Professor, Head
Dept. of CSE, CMRIT Dept. of CSE, CMRIT Dept. of CSE, CMRIT

External Viva
Name of the examiners                                                                          Signature with date

1.
2.
ABSTRACT
The main objective of the project is to provide a management system to municipalities in a
simple way. This project is useful for government sectors like municipalities, mini Vidhana
Soudhas, Grama Pachayats and also the public. Public can use this system for the online
services provided by the sectors mentioned above. The system developed is focusing on the
management system of municipalities. The system is intended to provide services like
employee management, department management and all other needed facilities. The whole
system is under control of admins where admin has the highest privileges and department
heads have highest controls over the system data.
ACKNOWLEDGMENT
The satisfaction and euphoria that accompany the successful completion of any task
would be incomplete without the mention of the people who made it possible, whose constant
guidance and encouragement crowned our effort with success.
I express my sincere gratitude to our Principal Dr. Sanjay Jain, & Vice Principal Dr. B
Narasimha Murthy, CMRIT College of Engineering for providing facilities. I wish to place
on record my grateful thanks to Professor Dr. Shreekanth M Prabhu Head of the
Department, Computer Science and Engineering, CMRIT College of Engineering, Bangalore
for providing encouragement and guidance.

I consider it a privilege and honor to express my sincere gratitude to my guide


Ms.Anjali Gupta, Department of Computer Science & Engineering for their valuable
guidance throughout the tenure of this seminar work and whose support and encouragement
made this work possible.

I wish to thank the faculty of the Computer Science and Engineering department
whose suggestions have enabled me to surpass many of the seemingly impossible hurdles.

THANK YOU
MUNICIPALITY MANAGEMENT SYSTEM

TABLE OF CONTENTS
CHAPTERS PAGE NO

Chapter 1 Introduction

1.1 Introduction to DBMS 04

1.2 Objective of the project 04

1.3 Functionalities 05

1.4 Scope of the project 05

Chapter 2 System requirements

2.1 Hardware requirements 06

2.2 Software requirements 06

Chapter 3 Problem description 07

Chapter 4 System design

4.1 ER diagram 10

4.2 Schema diagram 11

Chapter 5 Implementation

5.1 Introduction 13

5.2 Source code 14

Chapter 6 Screenshots 26

Chapter 7 Conclusion and Future scope 29

References

Dept of CSE, CMRIT 1|Page


MUNICIPALITY MANAGEMENT SYSTEM

LIST OF FIGURES
Fig no Fig name Chapter No Page no

4.1 ER diagram 4 10

4.2 Schema diagram 4 11

6.1 Head Page 6 26

6.2 Dashboard 6 26

6.3 Manage employee 6 27

6.4 Manage Projects 6 28

6.5 Manage GPs 6 28

6.6 Manage Online Services 6 30

6.7 Manage Details Of Expenditures 6 30

6.8 Add Employees 6 31

6.9 Add Projects 6 31

6.10 Assign Projects 6 32

6.11 Grant Leaves 6 32

6.12 Viewing Salary Table 6 33

6.13 Login Panel 6 33

Dept of CSE, CMRIT 2|Page


MUNICIPALITY MANAGEMENT SYSTEM

LIST OF TABLES
Table no Table name Chapter no page no

3.1 Admin 3 4

3.2 Tbl Alogin 3 5

3.3 Tbl Department 3 5

3.4 Tbl Employee 3 6

3.5 Tbl Expenditures 3 7

3.6 Tbl Gram Panchayat 3 7

3.7 Tbl Online Services 3 8

3.8 Tbl Projects 3 8

3.9 Tbl Salary 3 9

Dept of CSE, CMRIT 3|Page


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 1

INTRODUCTION
1.1 INTRODUCTION TO PROJECT
A Database Management System (DBMS) is system software for creating and
managing databases. A database is a collection of information that is organized so that it
can be easily accessed managed and updated. The DMBS provides users and
programmers with a systematic way to create, retrieve, update and manage data. Most of
giant IT farms are investing billions on business information from a raw data manage
them in files and document which may sometimes even suffer loss hence no security or
backup. This project makes a decent effort overcome this problem. Our project entitled”
municipality management system” aims to provide a management system to manage alla
the affairs municipality handles. The manual method of maintaining is handy and time
consuming. This project makes a decent effort overcome this problem.
The aim of our project is to develop a system that is meant to computerize the work
performed in the municipality like employees list, govt projects, expenditures, online
services and many more.

1.2 OBJECTIVE OF PROJECT


The main objective of this project is to maintain and manage all the details in the
municipality. The main objectives are given below:

 The project needs proper details of employees, department heads for login.

 Each department head can see the details of all the employees, can add employ-
ees, view all the projects, assign projects, view expenditures, make changes in ex-
penditures and many more.

 Employees can see their current projects, apply for leave, provide online services
and his profile.

All these objectives are fulfilled by the proposed project. Also, provision for insertion,
deletion and modification increases the ease of using this system.

Dept of CSE, CMRIT 4|Page


MUNICIPALITY MANAGEMENT SYSTEM

1.3 Purpose
The main purpose of this project is to build a database that would benefit the public as
well as the municipal offices to manage the data in an efficient way. In the present era
there is a wave of digitalizing most of the services being provided. So, organizing and
managing these services becomes a need. This process can be supported only if we have
an effective database system.
The following are the facilities that are provided by the system:
 View and modify employee profile

 View projects and assign


 View Gram Panchayats and add or remove members
 Insert, delete and modify all the details required
 Employee account login

 Separate interface for Admin following successful login

 User page for public to get online services

1.4 SCOPE OF THE PROJECT


As our country is developing and technologies making the everyday lives more

comfortable. As mentioned above, the problem in maintaining data is so handy and


inefficient. The major scope of our project is to digitalize the govt facilities and govt offices.
This improves communication between govt and public and also among govt offices. Our
Project tries to solve the problem of data handling in govt offices and providing services
online. Since almost every person now owns a smart phone and our project is an application,
it has a very good scope. So, public can access the online services at faster rate, whenever and
wherever they are This application will help govt offices to maintain their data efficiently and
accessed whenever needed. It will also help public to get their documents in easier way than
before. The only need for our project is good internet connection at govt offices.

Dept of CSE, CMRIT 5|Page


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 2

SYSTEM REQUIREMENTS
A software requirements definition is an abstract description of the services which the
system should provide, and the constraints under which the system must operate. It should
only specify the external behavior of the system. The requirements are specified below:

2.1 HARDWARE REQUIREMENTS


NAME OF THE COMPONENT SPECIFICATION
Processor Core i5 processor
RAM 8 GB
Hard Disk 60 GB
Monitor 15” color monitor
Keyboard 122 keys

2.2 SOFTWARE REQUIREMENTS

NAME OF THE COMPONENT SPECIFICATION


Operating System Windows 10
Language HTML, CSS, php
Database MYSQL DATABASE
Browser Any of Mozilla, Google Chrome, Microsoft
Edge
Web Server Apache
Software Development kit Visual Studio Code
Scripting Language enable HTML, JS, CSS
Database Connection MySQL Connection

Dept of CSE, CMRIT 6|Page


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 3

PROBLEM DESCRIPTION
MUNICIPALITY MANAGEMENT SYSTEM
This project aims at developing a website that provides the required details about the
employees working in the govt offices. By considering the inputs from the heads regarding
the different tables, the required modifications can be done and corresponding changes are
updated in database. This project provides practical solution of managing a govt office
details.

 Employee, Dept head


 Department
 Projects
 Gram Panchayats

The table details are as follows:

Table 3.1: EMPLOYEE

COLUMN DATATYPE CONSTRAINT DESCRIPTION


NAME &SIZE

ID Int(11) Primary key Id of employee

Name Varchar(100) Not null Name

DOB Varchar(100) Not null Date of birth

Email Varchar(100) Not null Email

Password Varchar(100) Not null Password

Contact Varchar(100) Not null Contact information

Adhaar no Varchar(100) Not null Adress proof

Department no. Int(11) Foreign key referring Department number


to department

Pic text Not null Profile picture

Dept of CSE, CMRIT 7|Page


MUNICIPALITY MANAGEMENT SYSTEM

Table 3.2 :DEPARTMENT

COLUMN NAME DATATYPE CONSTRAINT DESCRIPTION


&SIZE

Dno Int(11) Primary key Department number

Dname Varchar(100) Not null Name of the


department

Mgr_id Int(11) Foreign key referring Manager id of the


to employee department

Table 3.3: ADMIN ( Dept heads )


COLUMN NAME DATATYPE CONSTRAINT DESCRIPTION
&SIZE
Admin_Id Int(11) Primary key Admin id

Admin_Email Varchar(100) Not null Email of admin

Admin_password Varchar(100) Not null password

Dept of CSE, CMRIT 8|Page


MUNICIPALITY MANAGEMENT SYSTEM

Table 3.4: PROJECTS

COLUMN NAME DATATYPE CONSTRAINT DESCRIPTION


&SIZE

Pid Int(11) Primary key Project id

Eid Int(11) Foreign key Employee id


references employee

Pname Varchar(100) Not null Name of the project

Due_date Date Not null Due date

Sub_date Date Not null Submitted date

Status Varchar(100) Not null Current status of


project

Table 3.4: GRAM PANCHAYATS

COLUMN NAME DATATYPE CONSTRAINT DESCRIPTION


&SIZE

GP_no Int(11) Primary key Gram Panchayat id

GP_name Varchar(100) Not null Gram Panchayat name

GP_president Varchar(100) Not null Name of President

Dept of CSE, CMRIT 9|Page


MUNICIPALITY MANAGEMENT SYSTEM

Table 3.4: EXPENDITURES

COLUMN NAME DATATYPE CONSTRAINT DESCRIPTION


&SIZE

E_no Int(11) Primary key Expenditure no

E_details Varchar(100) Not null Expenditure details

E_amount Int(11) Not null Amount of


Expenditure

Dept of CSE, CMRIT 10 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 4

SYSTEM DESIGN
4.1 ER DIAGRAM
An entity-relationship diagram (ERD) is a data modeling technique that graphically
illustrates an information system’s entities and the relationships between those entities. An
ERD is a conceptual and representational model of data used to represent the entity
framework infrastructure.

Fig 4.1 ER diagram

Dept of CSE, CMRIT 11 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

4.2 SCHEMA DIAGRAM


A database schema is the skeleton structure that represents the logical view of the entire
database. It contains a descriptive detail of the database, which can be depicted by means of
schema diagrams.

FIG 4.2 SCHEMA DIAGRAM

Dept of CSE, CMRIT 12 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 5

IMPLEMENTATION
5.1 INTRODUCTION
PHP is a server side scripting language that is embedded in HTML. It is used to
manage dynamic content, databases, session tracking, and even build entire e-commerce
sites. MySQL server is used for the database and MySQL workbench is used to manage the
server and create the database.

5.1.1 PHP

PHP is a recursive acronym for ―PHP: Hypertext Preprocessorǁ. It is integrated with a


number of popular databases, including MySQL, Oracle, Sybase, Informix, and Microsoft
SQL Server. PHP can handle forms, i.e. gather data from files, save data to a file, through
email you can send data, return data to the user. The MySQL server, once started, executes
even very complex queries with huge result sets in record-setting time.

5.1.2 MYSQL

MySQL is an oracle-backed open source relational database management system (RDBMS)


based on structured query language (SQL). MySQL runs on virtually all platforms, including
Linux, Unix and Windows. Although it can be used in a wide range of applications, MySQL
is most often associated with web applications and online publishing. MySQL is based on a
client-server model. The core of MySQL is MySQL server, which handles all of the database
instructions. MySQL server is available as a separate program for use in a clientserver
networked environment and as a library that can be embedded into separate application. SQL
also supports a number of client and utility programs, command-line programs and
administration tools such as MySQL Workbench

Dept of CSE, CMRIT 13 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

5.2 SOURCE CODE


Head Login :
<?php
require_once ('process/dbh.php');
$sql = "SELECT id, firstName, lastName, points FROM employee, rank WHERE
rank.eid = employee.id order by rank.points desc";
$result = mysqli_query($conn, $sql);
?>
<html>
<head>
<title>Admin Panel | Municipal Management System</title>
<link rel="stylesheet" type="text/css" href="styleemplogin.css">
</head>
<body>
<header>
<nav>
<h1>MMS</h1>
<ul id="navli">
<li><a class="homered" href="aloginwel.php">HOME</a></li>
<li><a class="homeblack" href="viewemp.php">View
Employee</a></li>
<li><a class="homeblack" href="exp.php">Expenditures</a></li>
<li><a class="homeblack" href="gp.php">Grama
Panchayath</a></li>
<li><a class="homeblack" href="assignproject.php">Project
Status</a></li>
<li><a class="homeblack" href="salaryemp.php">Salary
Table</a></li>
<li><a class="homeblack" href="alogin.html">Log Out</a></li>
</ul>
</nav>
</header>
<div class="divider"></div>
<div id="divimg">
<h2 style="font-family: 'Montserrat', sans-serif; font-size: 25px;
text-align: center;">Empolyee Leaderboard </h2>
<table>
<tr bgcolor="#000">
<th align = "center">Seq.</th>
<th align = "center">Emp. ID</th>
<th align = "center">Name</th>
<th align = "center">Points</th>
</tr>
<?php
$seq = 1;

Dept of CSE, CMRIT 14 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

while ($employee = mysqli_fetch_assoc($result)) {


echo "<tr>";
echo "<td>".$seq."</td>";
echo "<td>".$employee['id']."</td>";
echo "<td>".$employee['firstName']." ".
$employee['lastName']."</td>";
echo "<td>".$employee['points']."</td>";
$seq+=1;
}
?>
</table>
<div class="p-t-20">
<button class="btn btn--radius btn--green" type="submit"
style="float: right; margin-right: 60px"><a href="reset.php" style="text-
decoration: none; color: white"> Reset Points</button>
</div>
</div>
</body>
</html>

Online Services:

<?php

require_once ('process/dbh.php');

$sql = "SELECT sname,sdesc,slink FROM `online_ser`";

$result = mysqli_query($conn, $sql);

?>

<html>

<head>

<title>Municipality Management System</title>

<img src="logo.png" height="57px" style="float: left; margin-right: 20px;


margin-top: 5px; margin-left: 15px">

<link href="https://fonts.googleapis.com/css?family=Lobster|Montserrat"
rel="stylesheet">

<link rel="stylesheet" type="text/css" href="styleemplogin.css">

</head><body><header><nav>

<h1>Municipality Management System</h1>

Dept of CSE, CMRIT 15 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

<ul id="navli">

<li><a class="homeblack" href="index.html">HOME</a></li>

<li><a class="homeblack" href="about.html">ABOUT US</a></li>

<li><a class="homeblack"
href="notifi.html">NOTIFICATIONS</a></li>

<li><a class="homered" href="onlineser.php">ONLINE


SERVICES</a></li>

<li><a class="homeblack" href="contact.html">CONTACT</a></li>

<li><a class="homeblack" href="elogin.html">LOG IN</a></li>

</ul></nav></header>

<div class="divider"></div>

<div id="divimg">

<div class="divider"></div>

<div id="divimg">

<h2 style="font-family: 'Montserrat', sans-serif; font-size: 25px;


text-align: center;">Online Services List </h2>

<table>

<tr bgcolor="#000">

<th align = "center">Service Name</th>

<th align = "center">Description</th>

<th align = "center">Link</th>

</tr><?php

while ($online_ser = mysqli_fetch_assoc($result)) {

echo "<tr>";

echo "<td>".$online_ser['sname']."</td>";

echo "<td>".$online_ser['sdesc']."</td>";

echo "<td><a href=\"$online_ser[slink]\">".


$online_ser['slink']."</a></td>"; }?></table></div></body></html>

Dept of CSE, CMRIT 16 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 6

SCREENSHOTS
LOGIN FORM

Fig 6.1

EMPLOYEE WELCOME PAGE

Fig 6.2

Dept of CSE, CMRIT 17 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

ADD EXPENDITURE

Fig 6.3 (a)

Fig 6.3 (b)

Dept of CSE, CMRIT 18 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

ADD EMPLOYEE

Fig 6.4 (a)

Fig 6.4 (b)

Dept of CSE, CMRIT 19 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

CHAPTER 7

CONCLUSION AND FUTURE SCOPE


This application has been successfully developed to provide the govt offices with easy
and quick access to every data of the office. The system focuses on the creation of a
management system for any government organization so that the government organization
provide services to public in an effective and an efficient way. To conclude, we can say that
this project will be very beneficiary to the public and government organizations. Our project
is developed to help public and government organizations get to their data easily and without
wasting time..
To improve and enhance the developed system following could be done:
Complaints from public to state their problem.
Can develop user online services pages further to provide online services.
Can develop new database system to store public documents so that they can avail their
documents easily and effectively.

Dept of CSE, CMRIT 20 | P a g e


MUNICIPALITY MANAGEMENT SYSTEM

REFERENCES
1] Reference for HTML and CSS – https://www.w3schools.com
[2] Reference for CSS – https://www.w3schools.com
[3] Reference for php – https://www.w3schools.com
[ 4] General - YouTube

Dept of CSE, CMRIT 21 | P a g e

You might also like