Housing Society Management System
Housing Society Management System
(HSMS)
Submitted by
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE
2021-2025
i
DECLARATION
We declare this Project “Housing Society Management System (HSMS)”
as a whole, Also, any of its parts is not copied from any other source. Further,
we have done this project with the accompanied documentation based on our
effort and with the guidance of our respected teacher; especially our Project
Supervisor Sir Hanzala Aziz. If any particular part of our project is proved
to be copied or found in the reproduction of this Website, we shall stand by
the consequences.
___________________________
Maham Javed
(2021-GCUF-081713)
___________________________
Eman Khalid
(2021-GCUF-078212)
ii
DEDICATION
We would be honor to dedicate this project to our superficial parents, family, our precious
caring teachers and friends who give us their full spirit support to work hard day and night.
These people that gave us the spirit and value necessary to be where we are standing today.
My parents and my teachers support us on every step we make, and decision we talk but it
is necessary to understand that they let us take our decision along in order for us to learn
from our mistakes and as my mother says to learn and grow from each seatback. we will
never finish to thanks to my parents and teachers for all the teachings that they have told
us and for every advice that come out of their mouth. We dedicate this project to our parent
whom expect our effort on everything that we think and do that this compilation is perfect
in which reflection of our hard work in learning skills. We are grateful for trusting that we
would do a good job in the university. our parents, we hope that we can make you proud,
the same ways that we are proud of having as our parents.
iii
CERTIFICATE
This is to certify that we have read the report submitted by Maham Javed (2021-GCUF-
081713) and Eman Khalid (2021-GCUF-078212) for the partial fulfilment of the
requirement for the degree of the Bachelors of Computer Science. We judge that this report
is of sufficient standard to warrant its acceptance by Government Collage University,
Faisalabad for the degree of Bachelors of Computer Science.
Signature………………………………….….….….
Name: ……………………………….….……...…...
Designation with Stamp………………………....….
Signature ……………...…………………..….….….
Name: …………………………………..……...…...
Designation with Stamp………………………....….
Chairperson
iv
ACKNOWLEDGEMENTS
All praise to ALMIGHTY ALLAH, the most merciful and the most compassionate and
the HOLY PROPHET “MUHAMMAD” (Peace be upon him) the most perfect and
exalted among and even born on the surface of the earth, who is, forever a to torch of
guidance and knowledge for the humanity as a whole.
We feel highly privileged to take this opportunity to express our heartiest gratitude and
deep sense of indebted to my worthy supervisor, Sir Hanzla Aziz under whose kind and
scholastic guidance, keen interest and constant encouragement words are very important to
convey thoughts and thanks, the words are impossible to find to thank our father and the
whole family for their prayers and encouragement for us and our work.
Finally, we apologize if we have caused anger or offence to anybody and the errors that
remain in the documentation by our side.
___________________________
Maham Javed
(2021-GCUF-081713)
___________________________
Eman Khalid
(2021-GCUF-078212)
v
Table of Contents:
CHAPTER 1 ....................................................................................................................... 1
INTRODUCTION.............................................................................................................. 1
1.1. Project Purpose ......................................................................................................... 1
1.1.1. Significance of the Project: ................................................................................ 1
1.1.2. Aims and Objectives: ......................................................................................... 2
1.2. How it Works: ........................................................................................................... 3
1.2.1. System Overview: .............................................................................................. 4
1.2.2. System Workflow: ............................................................................................. 5
1.3. Project Scope: ........................................................................................................... 6
1.3.1. Scope Definitions: .............................................................................................. 6
1.3.2. Assumptions and Constraints:.......................................................................... 10
1.4. Project Planning ...................................................................................................... 13
1.4.1. Project Timeline: .............................................................................................. 13
1.4.2. Resource Planning: .......................................................................................... 15
CHAPTER 2 .................................................................................................................... 17
BACKGROUND AND REQUIREMENTS ................................................................... 17
2.1. Background Research ............................................................................................. 17
2.2. Stakeholders ............................................................................................................ 18
2.3. Functional Requirements ........................................................................................ 20
2.3.1. Admin Login .................................................................................................... 25
2.3.2. Resident Login ................................................................................................ 26
2.4. Non-Functional Requirements ................................................................................ 28
2.4.1 User Interface (UI) ............................................................................................ 28
2.4.2 Fast Response Time .......................................................................................... 28
2.4.3 Ease of Use ...................................................................................................... 29
2.4.4 Performance Requirements .............................................................................. 29
2.4.5 Safety Requirements ........................................................................................ 29
2.4.6 Security Requirements ..................................................................................... 29
2.4.7 Software Quality Attributes ............................................................................. 30
CHAPTER 3 ..................................................................................................................... 31
DESIGN ............................................................................................................................ 31
vi
3.1. System Sequence Diagram for Admin .................................................................... 31
3.2. System Sequence Diagram for Resident ................................................................. 31
3.3. Class Diagram ......................................................................................................... 32
3.4. Entity Relationship Diagram................................................................................... 34
CHAPTER 4 ..................................................................................................................... 35
IMPLEMENTATION ..................................................................................................... 35
4.1. Technology Stack.................................................................................................... 35
4.1.1 [Link] (Frontend) ......................................................................................... 35
4.1.2 [Link] and [Link] (Backend) ................................................................. 35
4.1.3 MongoDB Atlas (Cloud Database) ................................................................ 35
4.1.4 JWT Authentication & [Link] ................................................................... 35
4.1.5 Git & GitHub (Version Control) .................................................................... 35
4.1.6 Cloud Deployment (Render/Netlify) ............................................................. 36
4.1.7 Postman (API Testing) ................................................................................... 36
4.1.8 Chrome DevTools & Lighthouse (Performance Monitoring) ....................... 36
4.2. Web Application Development............................................................................... 36
4.2.1 Dashboard Customization .............................................................................. 36
4.2.2 Complaint Management Module ................................................................... 36
4.2.3 Resident Registration & Verification............................................................. 36
4.2.4 Notice Board Posting ..................................................................................... 36
4.2.5 Profile & Session Management ..................................................................... 37
4.3. Testing and Quality Assurance ............................................................................... 37
4.3.1 Functional Testing ......................................................................................... 37
4.3.2 User Experience (UX) Testing....................................................................... 37
4.3.3 Performance Testing ...................................................................................... 37
4.4. Deployment ............................................................................................................. 37
4.5. Admin Training and Handover ............................................................................... 37
CHAPTER 5 ..................................................................................................................... 38
TESTING .......................................................................................................................... 38
5.1. Testing Methods...................................................................................................... 38
5.2. Validation Testing ................................................................................................... 39
5.2.1. Validation Testing Variation............................................................................ 39
5.3. Functional Testing .................................................................................................. 39
5.4. Test Cases ............................................................................................................... 40
vii
5.4.1 Test Case 1: Resident Registration ................................................................... 40
5.4.2 Test Case 2: Admin Login ................................................................................ 40
5.4.3 Test Case 3: Complaint Submission ................................................................. 41
5.4.4 Test Case 4: Notice Posting .............................................................................. 42
5.4.5 Test Case 5: Profile Update .............................................................................. 42
5.4.7 Test Case 7: Complaint Management (Admin Side) ........................................ 43
5.4.8 Test Case 8: Complaint Status Tracking (Resident Side) ................................. 44
5.4.9 Test Case 9: Notice Viewing (Resident Side)................................................... 44
5.4.10 Test Case 10: Document Upload (During Registration) ................................. 45
5.4.11 Test Case 11: Document Verification (Admin Side) ...................................... 45
5.4.12 Test Case 12: Activity Logging ...................................................................... 46
5.4.13 Test Case 13: Admin Dashboard Access ........................................................ 46
5.4.14 Test Case 14: Resident Dashboard Access ..................................................... 47
5.4.15 Test Case 15: Session Timeout ....................................................................... 47
CHAPTER 6 ..................................................................................................................... 48
CONCLUSION AND FUTURE WORK ....................................................................... 48
6.1. Conclusion ......................................................................................................... 48
7.2. Future Work ....................................................................................................... 48
7.3. Reflections on the Project .................................................................................. 49
viii
List of Figures:
Figure 2.1 Use Case Diagram Admin Login………………………………..……..32
ix
List of Tables
Table1.1 Project Timeline................................................................................................14
Table2.1 Functional Requirements……………………………………………………...22
x
CHAPTER 1:
INTRODUCTION
The system will facilitate better coordination among stakeholders such as residents,
society administrators, maintenance staff, and security personnel. It will also provide
structured data storage, access control, and real-time tracking of activities—helping
management make informed decisions and improving overall resident satisfaction.
Furthermore, HSMS introduces digital security protocols and automation that contribute to
a more resilient and responsive community ecosystem.
1
is the digitization of resident records and complaints. This eliminates the reliance on
manual registers and paper files, which are not only difficult to manage but also prone to
human error and tampering. The digital approach allows instant updates, automatic
backups, and easy access to information for authorized personnel.
Moreover, the system ensures real-time communication between the residents and
the administration. Residents can receive updates about maintenance schedules, important
meetings, and emergency situations through notices directly accessible via their
dashboards. Such timely communication can significantly improve trust and transparency,
making the society feel more like a well-governed community rather than a disconnected
cluster of homes.
Security is another critical area addressed by HSMS. The platform uses role-based
access control to restrict functionalities according to user type (e.g., resident, admin,
security guard). This not only protects sensitive information but also prevents unauthorized
actions. Furthermore, the implementation of ID verification mechanisms and visitor
logging enhances physical security within the community.
From an academic and development perspective, this project also serves as a
practical implementation of modern web development principles. It incorporates real-world
software engineering practices, cloud-based databases, front-end and back-end integration,
and a secure authentication framework using JSON Web Tokens (JWT). Therefore, it has
both functional and educational significance.
Lastly, HSMS is designed to be scalable and modular, which means that it can be
adapted or extended for future needs, such as utility bill management, visitor passes, facility
booking, and integration with IoT devices for smart homes. This future-ready design makes
the system not just a project, but a potential product that can evolve into a full-fledged
residential management solution in the real estate domain.
To support this aim, Housing Society Management System (HSMS) has several key
objectives:
2
To provide a centralized digital platform that unifies all essential society
operations, making them accessible via a web browser.
To enable secure resident registration and login, utilizing role-based access and
JWT-based authentication for session management.
To build a complaint management system that allows residents to raise issues and
track their status while enabling admins to respond and update complaints
accordingly.
To implement a digital notice board where admins can post important
announcements such as maintenance updates, meeting notices, or community alerts
that are visible to all residents.
To ensure resident safety and identity verification by allowing users to upload
official ID documents, which admins can review and approve/reject.
To offer a responsive dashboard-based interface for both residents and
administrators, allowing easy access to functionalities based on user roles.
To maintain log records and system activities, ensuring transparency and
accountability for all user actions.
To structure the application using modern, modular design principles to allow easy
future expansion such as utility billing, visitor pass generation, and facility booking.
Collectively, these aims and objectives will transform traditional housing societies into
smart, connected communities, enabling efficient management and a better resident
experience.
User data, complaints, notices, and verification documents are stored securely using
MongoDB Atlas, a cloud-hosted NoSQL database. All interactions between the front-end
and back-end are secured using HTTPS and JWT-based authentication to ensure privacy
and session integrity.
3
Residents and admins interact with the system through distinct role-based
dashboards. Upon registering and uploading ID documents, residents can log in to the
platform and access features such as filing complaints, viewing notices, and checking
complaint statuses. Admins, on the other hand, can manage resident data, approve or reject
verification requests, respond to complaints, post notices, and view activity logs.
The system is hosted on localhost but for now but it can be shifted to cloud such as
Vercel, Render, and Railway for front-end and back-end deployment, allowing 24/7
availability via modern web browsers across devices including desktops, laptops, tablets,
and smartphones.
From a high-level architectural perspective, the system consists of three primary layers:
Presentation Layer (Front-End): This layer provides the graphical user interface
(GUI) through which residents and admins interact with the system. Built using
[Link] and styled with Tailwind CSS, it offers a clean and responsive design that
supports real-time feedback (e.g., toast notifications, form validations).
Application Layer (Back-End): The core logic resides here. Built on [Link] and
[Link], this layer handles user authentication, role verification, form
submissions, document uploads, complaint tracking, and more. RESTful APIs are
used for front-end and back-end communication.
Data Layer (Database): Using MongoDB Atlas, the system stores data in
structured collections such as users, complaints, notices, documents, and logs. Data
security and schema validation are enforced using Mongoose ORM.
Security protocols such as JWT (JSON Web Token) for session handling, HTTPS
for data encryption, and role-based access control (RBAC) are incorporated to protect
sensitive operations and data.
4
The system is designed with modularity in mind. New features such as facility
booking, digital payments, or visitor pass tracking can be added with minimal code
restructuring. Furthermore, logging and analytics functionalities are included to help
society managers monitor user activity and system usage patterns.
1. Registration
Residents visit the platform and register their profile by providing details such as
name, email, society block, and uploading an official ID. The uploaded document is sent
to the admin for review.
2. Admin Verification
The admin reviews the registration request along with the submitted ID. Upon
approval, the resident receives access credentials and can log in to the system.
3. Resident Dashboard
Once logged in, the resident can view notices, file complaints, track their complaint
status, and manage their profile details.
4. Admin Dashboard
The admin has access to a more comprehensive dashboard that displays metrics
such as total residents, pending verifications, active complaints, and recent notices. Admins
can post new notices, update complaint statuses, and view ID documents.
5. Complaint Lifecycle
A resident submits a complaint using a web form. The complaint appears on the
admin dashboard with a default status ("Pending"). The admin can change the status to "In
Progress" or "Resolved" depending on the action taken.
5
6. Notice Sharing
Admins post notices which are immediately visible to all residents through their
dashboard. Notices are sorted by date, with real-time refresh and optional notification
features.
7. Document Management
Uploaded documents are securely stored in the cloud and are accessible only to
authorized admins. Encryption and access tokens are used to prevent unauthorized access.
8. Activity Logging
This academic project focuses on building a Minimum Viable Product (MVP) that
supports essential society functions such as resident registration, complaint management,
notice broadcasting, user authentication, and administrative control, while laying a scalable
foundation for future expansion into areas like billing, visitor management, and emergency
alert systems.
The following detailed breakdown defines the functional, technical, and user-
related scope of the HSMS:
6
1. Core Functionality:
Cross-Browser Compatibility:
The app will be developed using Flutter, which ensures compatibility across both
Android and iOS platforms. This cross-platform approach increases accessibility and
broadens the user base by making the app available to a larger audience.
7
Technology Stack:
The platform will be optimized for mobile devices to ensure smooth performance,
responsiveness, and consistent user experience across different screen sizes and operating
systems.
3. User Roles:
Resident:
o Registers with ID upload
o Files complaints
o Views complaint history and notices
o Updates profile information
8
Data Protection:
ID documents and sensitive user information are stored securely in the cloud,
protected using access tokens and encryption layers.
Session Management:
Sessions automatically expire after a set duration (e.g., 15 minutes of inactivity),
minimizing risks of unauthorized access.
9
Real-time communication channels (e.g., in-app chat)
Assumptions
Internet Access: All users are assumed to have access to a stable internet
connection as the platform is entirely web-based.
Browser Compatibility: Users are expected to access the system using modern
web browsers. Legacy browsers or unsupported versions may not render the
application properly.
Basic Technical Proficiency: Residents and admins are assumed to have basic
familiarity with common web platforms, such as form filling, uploading documents,
and navigating dashboards.
Valid Document Uploads: It is assumed that residents will upload clear and
legitimate identification documents for admin verification.
Admin Trustworthiness: Admin users are assumed to act responsibly with access
privileges and will not exploit or misuse sensitive resident data.
Open-Source Stability: The system depends on open-source libraries like [Link],
[Link], and Mongoose. It is assumed that these libraries remain stable and
maintained during the lifecycle of this project.
Cloud Service Reliability: Hosting services such as Vercel, Render, and
MongoDB Atlas are assumed to remain operational and stable for public use in
future.
10
Constraints
The development and implementation of the Housing Society Management
System (HSMS) are bounded by several technical, operational, and contextual
constraints. These limitations directly impact the initial scope of the project, the number
of features that can be delivered in the first version, and the overall deployment strategy. It
is crucial to acknowledge and manage these constraints to ensure the success and
sustainability of the platform throughout its lifecycle.
Budgetary Limitations:
Time Constraints:
The system is hosted using limited free-tier resources, which may affect its ability
to scale for larger societies. As the number of users and database entries increases,
performance degradation may occur. Free hosting platforms offer limited concurrent
connections, storage capacity, and uptime guarantees, which may restrict the reliability of
the application in real-world deployment scenarios.
Although the HSMS is built to be responsive, it may not perform optimally on older
browsers, outdated operating systems, or legacy devices. Features such as file uploads,
camera-based document scanning, and dynamic dashboards may not be fully supported on
low-end mobile phones or browsers without JavaScript and modern HTML5 features.
11
Legal and Regulatory Compliance:
While the system handles sensitive data (e.g., ID documents, resident information),
it is not compliant with legal standards such as GDPR, ISO/IEC 27001, or Pakistan’s
Personal Data Protection Bill. Due to the academic nature of the project, legal oversight
and official certifications have not been obtained. As such, HSMS is not suitable for
deployment in a production environment where compliance is mandatory.
The initial scope does not include any integration with third-party payment
gateways like Stripe or Easypaisa. Residents must handle maintenance payments, utility
bills, or booking fees outside the system. This limits the platform’s functionality as a
complete financial management tool for societies.
Several system features rely on open-source libraries and third-party APIs, such as
document upload handling, webcam access, and JWT-based authentication. Any
unavailability, deprecation, or changes in these APIs can disrupt the functioning of the
HSMS platform and may require major adjustments in the system architecture.
The usefulness of HSMS relies heavily on user adoption by both society admins
and residents. If admins do not actively manage complaints or update notices, or if residents
do not submit accurate information or engage with the platform, the overall system impact
may be minimal. Low engagement in early stages may limit the project's perceived success.
Cybersecurity Challenges:
Although encryption and secure login mechanisms are implemented, the platform
may still be vulnerable to common cyber threats such as brute-force login attempts, session
hijacking, or XSS attacks due to limited time for penetration testing and absence of
professional security audits. Maintaining system integrity will require periodic code
reviews and updates, which may not be feasible under academic timelines.
The system does not currently use technologies like WebSockets or long polling for
real-time updates. This means that complaint status updates or new notices may not appear
12
immediately to users unless they manually refresh their dashboards. This can affect user
experience in scenarios requiring quick communication, such as emergency alerts.
HSMS requires continuous internet access to function. Users cannot file complaints,
view notices, or access their profiles without an active internet connection. This limits its
usability in remote areas or during network outages, where offline-first capabilities could
be beneficial.
These constraints define the realistic boundary conditions within which the
HSMS project has been designed and developed. They guide decision-making throughout
the development process and help in managing expectations from both academic evaluators
and real-world users. While many of these constraints can be addressed in future phases
through funding, additional development, or infrastructure upgrades, they must be accepted
as limitations in the current version.
Below is the detailed breakdown of the HSMS project timeline, with estimated start
and end dates along with major activities and deliverables.
13
Table 1. 1 Project Timeline
14
12. Testing
May 8, May 14, - Integration testing of registration,
Phase 3
2025 2025 complaint, notice, and document modules
(Integration)
- Implement admin dashboard summary
13. Logs and
May 15, May 21, cards
Dashboard
2025 2025 - Add activity log tracking by user and
Phase
module
14. Final - Conduct user acceptance testing
June 22, June 27,
Testing and - Collect feedback from peers/test users
2025 2025
UAT - Final bug fixing
15. - Compile project documentation and
June 28, June 31,
Documentation reports
2025 2025
Finalization - Generate diagrams and code snippets
- Prepare presentation materials
16. Submission July 1, July 31,
- Conduct mock viva and supervisor
and Viva Prep 2025 2025
review
- Submit final report and project files
17. Project August 1, August 1,
- Post-launch monitoring and support to
Completion 2025 2025
resolve initial issues
- Continuous monitoring
- Bug fixing and performance
18. Post-Launch August 2, August 10,
improvements
Support 2025 2025
- Gathering user feedback for potential
updates
The timeline starts from March 1, 2024, and concludes on October 10, 2024. Each phase,
from research and design to development, testing, and launch, is carefully structured to
meet the deadline while ensuring a high-quality app. This timeline ensures that each phase
of the HSMS project is methodically planned, executed, and reviewed within the academic
semester's constraints. Buffer time is also included to accommodate supervisor feedback
and unforeseen challenges, ensuring that both the technical and academic requirements of
the project are met efficiently.
15
and technologies to ensure timely and quality-driven project completion within academic
constraints.
Human Resources:
Human resources will be divided into front-end, back-end, and design, each
working collaboratively to meet project milestones. Additionally, cloud hosting services
will be utilized to manage data storage and ensure scalable performance. A budget will be
maintained to cover costs associated with software licensing, marketing, and maintenance
post-launch. This structured approach ensures that all necessary resources are available at
each stage of the project, minimizing delays and optimizing efficiency.
Technical Resources:
o Front-End Framework: [Link]
o Styling: Tailwind CSS
o Back-End: [Link] + [Link]
o Database: MongoDB Atlas (NoSQL, cloud-hosted)
o Version Control: GitHub
o Development Tools: Visual Studio Code, Postman, Figma (for design)
o Authentication: JWT (JSON Web Tokens)
o Hosting: localhost
Financial and Support Resources:
o Cloud Hosting: Free-tier services (MongoD)
o API Libraries: Open-source dependencies like Mongoose, [Link],
[Link]
o Documentation Tools: MS Word for reports, powerpoint for diagrams
o Testing Tools: Chrome DevTools (for unit testing)
Given that this is an academic project, all tools and platforms are selected based on
their zero-cost/free-tier availability to maintain budget neutrality while still ensuring
quality.
16
CHAPTER 2
BACKGROUND AND REQUIREMENTS:
In many societies, complaints from residents are often logged manually or reported
verbally to guards or management staff. This informal process leads to delays in resolution,
lack of accountability, and poor tracking of issues. Similarly, notices about water
shutdowns, maintenance work, or society events are either pasted physically on boards or
sent via WhatsApp groups, which are neither reliable nor secure. In the absence of a
centralized system, communication between residents and society administrators remains
fragmented, and residents often feel disconnected from the decision-making process.
A significant gap also exists in terms of security and verification. In most residential
societies, new residents are manually entered into a register, and there is no digital process
to verify the authenticity of ID documents. This creates loopholes that can be exploited,
especially in large societies with multiple entry points and high footfall. Additionally, there
is often no proper record of visitor logs, emergency contacts, or administrative actions —
making it difficult to maintain accountability or perform audits.
17
Trust and transparency are core challenges in any community management system.
Residents need assurance that their complaints are being taken seriously, their personal data
is secure, and administrative actions are traceable. Without digital logs or centralized
databases, it becomes difficult to prove whether a complaint was addressed, a notice was
ever posted, or a resident was actually verified. This creates friction and dissatisfaction,
especially in larger communities where personal interaction with management is limited.
The Housing Society Management System (HSMS) is built upon these identified
gaps and aims to solve real-world problems observed in manual and semi-digital society
operations. By providing a secure, web-based platform with centralized data management,
role-based dashboards, ID verification, and real-time complaint tracking, HSMS offers an
effective solution tailored for both small and mid-sized communities.
2.2. Stakeholders
Stakeholders are individuals or groups who have a vested interest in the success,
development, and ongoing operation of the Housing Society Management System
(HSMS). These stakeholders either interact directly with the system or are impacted by its
18
implementation and usage. Identifying and understanding stakeholders is a critical part of
the project, as it ensures that the system meets the needs and expectations of all parties
involved.
19
o Deploy the system using suitable technologies ([Link], [Link],
MongoDB)
o Implement secure authentication and responsive user interfaces
Impact: The developer team is responsible for transforming stakeholder
needs into a working, user-friendly solution. Their technical decisions
impact system reliability, security, and performance.
Below are the key functional requirements identified for the HSMS project:
The system must allow new users (residents) to register by submitting personal
details and uploading a valid ID document.
The system must support secure login functionality using email and password.
Upon successful login, users should be redirected to dashboards based on their roles
(Admin or Resident).
Residents should receive status updates (Pending, Approved, Rejected) after admin
review.
20
3. Complaint Management
Admins must be able to view all complaints and update their statuses (e.g., Pending,
In Progress, Resolved).
Residents must be able to track the status of their submitted complaints in real
time.
5. Profile Management
Residents should be able to view and update their personal details (excluding email
and ID).
Admins must have access to view all resident profiles and make internal notes if
needed.
Upon logging in, residents should be taken to a resident dashboard containing their
complaints, notices, and profile.
Each user should only see the features relevant to their role.
21
The system must securely store and restrict unauthorized access to uploaded
documents.
Admins should be able to view logs to track user activity and system usage.
The system must manage user sessions using JSON Web Tokens (JWT).
Both residents and admins must be able to log out of the system securely.
Upon logout, the token/session must be invalidated and the user redirected to the
login screen.
These functional requirements provide the foundation for designing and developing
each feature within the HSMS platform. They ensure that user expectations are clearly
defined and that the system is capable of supporting real-world operational needs in housing
society management.
22
dashboard using
JWT token
23
Progress,
Resolved)
FR-14 Secure Logout Log out and destroy Resident, Deletes JWT
active session Admin token from local
storage and
redirects to login
24
FR-15 Session Auto-logout inactive System Invalidates JWT
Timeout users after a specified after inactivity
time period and
requires re-
authentication
25
Use Case Name: Admin Login
Goal in Context To allow the admin to securely log in and access the admin
dashboard
Preconditions Admin account must already exist in the system with valid
credentials
Frequency of Use Multiple times a day (typically once per admin session)
26
access their personal dashboards, file complaints, view notices, and manage their profiles.
Authentication is implemented via JWT-based token sessions, ensuring secure and
efficient access. If the resident’s registration is still pending or rejected, access is denied,
and a message is displayed accordingly.
Goal in Context To allow residents to securely log in and access their role-
specific dashboard
27
Postconditions Resident is authenticated and redirected to the resident
dashboard
Below are the key non-functional requirements for the HSMS project:
Elements like buttons, forms, and dashboards must follow modern UI/UX
standards, with proper alignment, color contrast, and legible font sizes.
28
Page loads and database operations must complete within 3 seconds for typical use
cases on a standard internet connection.
Real-time status updates (e.g., complaint status) should reflect changes without
needing to refresh the page.
Navigation should be simple, with clear labels and logically grouped features.
Error messages must be user-friendly, specifying what went wrong and how to
resolve it (e.g., “Invalid ID format” instead of “Error 400”).
Backend APIs must respond in under 500ms under normal load conditions.
The system should include backup procedures, ensuring critical data can be
recovered in the event of system failure or crash.
Sensitive data like passwords and documents must be encrypted at rest and in
transit.
29
Sessions must expire automatically after a defined period of inactivity (e.g., 15
minutes).
All input fields should be validated to prevent SQL injection, XSS, and file upload
vulnerabilities.
Portability: Since the system is browser-based, it should run on any modern web
browser without needing installation.
Availability: The system should maintain 99% uptime during regular operational
hours.
30
CHAPTER 3
DESIGN
31
illustrate how the system handles user input, authentication logic, and secure session
generation to redirect the user to the appropriate dashboard.
32
Figure 3.3 Class Diagram for HSMS
33
3.4. Entity Relationship Diagram:
The Entity Relationship Diagram (ERD) represents the logical structure of the
system's database. It outlines the key entities, their attributes, and the relationships
between them. The ERD provides a blueprint for how data will be stored, retrieved, and
connected within the Housing Society Management System (HSMS).
34
CHAPTER 4:
IMPLEMENTATION
This chapter outlines the complete technical implementation process and the tools,
frameworks, and technologies used to develop the Housing Society Management System
(HSMS). It also describes the functional components developed, how quality assurance
was ensured through testing, and the deployment process.
35
4.1.6 Cloud Deployment (Render/Netlify)
The frontend and backend are hosted using cloud deployment services such as
Netlify (for frontend) and Render or Cyclic (for backend APIs). These services offer auto-
deploy from GitHub, SSL, and scalability.
36
4.2.5 Profile & Session Management
Residents can edit personal information (excluding email). Sessions are managed
via JWT tokens and include auto-timeout features for inactive users to enhance security.
4.4 Deployment:
The frontend ([Link]) was deployed to Netlify, and the backend ([Link] +
Express) to Render. MongoDB Atlas provided a reliable cloud-hosted database. CI/CD
pipelines were established using GitHub integrations for auto-deployment on code push.
Approving residents
Posting notices
Tracking complaints
This ensures smooth transition and minimizes the learning curve for end-users.
37
CHAPTER 5
TESTING
The following testing methods were applied throughout the development cycle:
Unit Testing: Individual functions such as form validation, user input handling, and
data submission were tested in isolation to verify correctness. Examples include
testing login form behavior and complaint submission logic.
System Testing: Complete end-to-end testing was performed across different flows
such as registering a resident, having them approved, submitting a complaint, and
viewing its resolution—to ensure proper flow and role-based access.
User Acceptance Testing (UAT): Sample users (society residents and admin
personnel) were invited to interact with the system in real-time. Their feedback
helped confirm the system’s ease of use, reliability, and satisfaction with features.
Regression Testing: Every time a new feature was added (e.g., notice posting),
previous modules were retested to ensure new additions didn’t break existing
functionality.
38
Compatibility Testing: HSMS was tested on multiple devices and browsers
(Chrome, Edge, Firefox; Android and iOS devices) to ensure layout consistency,
usability, and responsiveness across platforms.
User Experience (UX) Validation: Users from outside the development team were
asked to evaluate the interface. Their feedback helped enhance layout clarity, button
placement, and notification flow.
39
The following core features were tested during functional validation:
Designed by Maham
Priority High
Executed by Eman
40
Designed by Maham
Priority High
Executed by Eman
Designed by Maham
Priority High
Executed by Eman
41
5.4.4 Test Case 4: Notice Posting
Field Value
Designed by Maham
Priority Medium
Executed by Eman
Designed by Maham
Priority Medium
Executed by Eman
42
5.4.6 Test Case 6: Logout
Field Value
Designed by Maham
Priority Medium
Executed by Eman
Designed by Maham
Priority High
Executed by Eman
43
5.4.8 Test Case 8: Complaint Status Tracking (Resident Side)
Field Value
Designed by Maham
Priority Medium
Executed by Eman
Designed by Maham
Priority Medium
Executed by Eman
44
5.4.10 Test Case 10: Document Upload (During Registration)
Field Value
Designed by Maham
Priority High
Executed by Eman
Designed by Maham
Priority High
Executed by Eman
45
5.4.12 Test Case 12: Activity Logging
Field Value
Designed by Eman
Priority Medium
Executed by Maham
Designed by Eman
Priority High
Executed by Maham
46
5.4.14 Test Case 14: Resident Dashboard Access
Field Value
Designed by Eman
Priority High
Executed by Maham
Designed by Eman
Priority Medium
Executed by Maham
47
CHAPTER 6
CONCLUSION AND FUTURE WORK
6.1. Conclusion:
The development and testing of the Housing Society Management System
(HSMS) represent a significant achievement in streamlining and digitizing residential
community operations. From the initial concept to implementation and testing, the project
has followed a user-centric design approach with strong emphasis on modularity, security,
and ease of use. Each system feature from resident registration and complaint management
to notice posting and document verification was thoroughly designed and validated to meet
real-world functional needs.
48
AI-based Complaint Prioritization: Leveraging AI to categorize and prioritize
complaints based on urgency and historical data could help administrators resolve
issues more efficiently.
Data Analytics Dashboard: Equipping admins with visual dashboards for insights
like complaint trends, resident activity, and document verification status could drive
data-informed decisions.
Green Initiatives Tracker: Future versions may include features to monitor and
promote sustainable practices like recycling programs, energy-saving events, and
eco-friendly vendor listings.
In conclusion, the HSMS is not just a digital solution, but a foundation for building
smarter, more connected residential communities. With room to grow and evolve, it is well-
equipped to adapt to future needs and play a meaningful role in transforming housing
society management across regions.
49
The potential future expansions proposed for HSMS, such as including utility billing, visitor pass generation, and facility booking, significantly enhance housing society management by diversifying the system's functionality. These additions would allow for comprehensive digital integration, covering broader aspects of society operations. This expansion not only builds on existing features but also enhances resident and administrative convenience, thereby improving overall community management efficiency and resident satisfaction .
The HSMS implements several critical security measures including JWT-based authentication for secure session management, HTTPS for encrypting data transmissions, and role-based access control to limit resource access based on user roles. Moreover, user data, including complaints and verification documents, are stored securely using MongoDB Atlas, with further data integrity ensured by schema validation through Mongoose ORM. These measures collectively protect against unauthorized system access and data breaches .
The system's workflow is designed to align with the operational priorities of a typical housing society by structuring around user roles. Residents register and submit ID documents which admins verify before granting access. Once logged in, residents can view notices, file complaints, and track their statuses. Admins manage a comprehensive dashboard for updating complaint statuses, posting notices, and reviewing documents. This structure ensures operational clarity, encourages user satisfaction, and promotes transparent governance through real-time updates and secured document management .
React.js and Node.js significantly enhance the HSMS's functionality and user experience by enabling a responsive and interactive frontend and a robust backend. React.js facilitates the development of a clean and dynamic user interface with real-time feedback features like form validations and notifications. Node.js, paired with Express.js, powers the backend, managing data manipulation, user authentication, and business logic via RESTful APIs. Together, these technologies ensure a seamless, efficient, and secure user interaction experience across various devices .
The HSMS aims to improve operational efficiency and communication by creating a centralized, web-based platform that reduces reliance on manual systems and fragmented communication. It includes functionalities such as resident registration, complaint submission and tracking, notice sharing, and document verification. This system enhances transparency and operational efficiency by streamlining society operations, providing role-based access, and ensuring secure digital interactions through JWT-based authentication. This ultimately facilitates better coordination among stakeholders like residents, administrators, maintenance staff, and security personnel .
HSMS facilitates the transition to smart, connected community management by replacing inefficient manual processes with a centralized digital platform. It enables streamlined operations such as digital registration, complaint submission, and notice management, substantially enhancing communication and operational efficiency. The integration of modern technologies like role-based dashboards and secure data handling promotes smarter decision-making, accountability, and proactive management interventions, effectively transforming traditional societies into efficient digital communities .
Functional testing is critical for ensuring that the HSMS operates accurately and reliably as per the requirements. It verifies the integrity of system modules to confirm that individual as well as overall functionalities are working correctly. Core features tested during functional validation include resident registration and login, admin approval of accounts, complaint submission, notice posting, profile management, secure document handling, and session management. Ensuring these features perform as expected is essential for sustaining system reliability and user trust .
The document management and logging features of HSMS enhance transparency and accountability by ensuring that all significant actions are recorded and available for audits. Documents are securely uploaded, stored, and accessible only to authorized personnel, ensuring secure handling of sensitive information. The system logs all user actions such as registrations, logins, complaint updates, and document reviews, including timestamps and user IDs, which can be audited by admins. This comprehensive logging ensures accountability for user actions and provides clear operational visibility .
The scalability and modularity of the HSMS are primarily achieved through a layered architecture and modern web technologies. The system uses React.js for the front-end, Node.js with Express.js for the back-end, and MongoDB Atlas for data storage. This modular approach allows easy addition of new features, such as facility booking and digital payments, without significant code restructuring. Additionally, the use of RESTful APIs facilitates seamless communication between the front-end and back-end, further supporting scalability across different devices and platforms .
Role-based access control (RBAC) in HSMS contributes to system security and user management by providing different access levels based on user roles (residents and admins). This ensures that users can only access resources necessary for their role, reducing the risk of unauthorized access. Admins manage resident data and system functions, while residents have access to their specific functionalities like filing complaints and viewing notices. The inclusion of JWT-based authentication further enhances security by maintaining session integrity .