Skip to content
ayush-code303Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿจ Hostel Management System

A modern, scalable, and production-oriented Hostel Management System built using the MERN Stack to simplify hostel administration through a centralized, role-based web platform.

License React Node.js Express MongoDB


๐Ÿ“– Overview

Hostel Management System is a full-stack web application developed to digitize hostel administration and eliminate manual record keeping.

The platform provides dedicated portals for administrators and students, allowing efficient management of hostel operations including student registration, room allocation, complaints, notices, fee management, attendance, visitor records, and hostel analytics.

The system is designed with modular architecture, role-based authentication, and scalable backend services, making it suitable for colleges, universities, and private hostels.


โ— Problem Statement

Many educational institutions still manage hostel operations using paper registers or spreadsheets.

This creates several challenges:

  • Duplicate and inconsistent records
  • Manual room allocation
  • Difficult fee tracking
  • Slow complaint resolution
  • Poor communication
  • Lack of centralized data
  • Difficult report generation
  • Time-consuming administrative work

๐Ÿ’ก Proposed Solution

Develop a centralized web-based Hostel Management System that automates hostel operations through secure role-based access.

The platform enables administrators to efficiently manage students, rooms, fees, complaints, notices, attendance, and visitor records while providing students with a simple portal to access hostel-related services.


๐ŸŽฏ Objectives

  • Digitize hostel administration
  • Reduce paperwork
  • Improve communication
  • Simplify room allocation
  • Manage complaints efficiently
  • Maintain centralized student records
  • Improve transparency
  • Generate reports and analytics

โœจ Features

๐Ÿ” Authentication

  • JWT Authentication
  • Secure Login
  • Password Encryption (bcrypt)
  • Protected Routes
  • Role-Based Access Control (RBAC)

๐Ÿ‘จโ€๐Ÿ’ผ Admin Module

  • Admin Dashboard
  • Student Management
  • Hostel Management
  • Room Management
  • Room Allocation
  • Fee Management
  • Complaint Management
  • Notice Management
  • Attendance Monitoring
  • Visitor Management
  • Reports & Analytics

๐Ÿ‘จโ€๐ŸŽ“ Student Module

  • Login/Register
  • Student Profile
  • Hostel Details
  • Room Information
  • Fee Status
  • Submit Complaints
  • View Notices
  • Attendance History
  • Leave Requests

๐Ÿ  Hostel Module

  • Hostel Details
  • Floor Management
  • Room Availability
  • Occupancy Status
  • Capacity Management

๐Ÿ›๏ธ Room Management

  • Add Room
  • Edit Room
  • Delete Room
  • Room Allocation
  • Room Availability
  • Room Capacity

๐Ÿ’ฐ Fee Management

  • Fee Records
  • Pending Payments
  • Payment History
  • Online Payment Support (Future)

๐Ÿ“ข Notice Board

  • Publish Notices
  • Student Notifications
  • Important Announcements

๐Ÿ“ Complaint Management

  • Submit Complaint
  • Complaint Categories
  • Track Complaint Status
  • Resolve Complaints

๐Ÿ‘ฅ Visitor Management

  • Visitor Entry
  • Exit Logs
  • Visitor History

๐Ÿ“Š Reports

  • Student Reports
  • Occupancy Reports
  • Fee Reports
  • Complaint Reports
  • Attendance Reports

๐Ÿ”„ System Workflow

Administrator Login
        โ”‚
Create Hostel
        โ”‚
Add Rooms
        โ”‚
Register Students
        โ”‚
Allocate Rooms
        โ”‚
Students Login
        โ”‚
View Hostel Details
        โ”‚
Pay Fees
        โ”‚
Raise Complaints
        โ”‚
Admin Reviews Requests
        โ”‚
Update Records
        โ”‚
Students Receive Notifications

๐Ÿ› ๏ธ Tech Stack

Frontend

  • React.js
  • Vite
  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • Tailwind CSS
  • Bootstrap
  • React Router DOM
  • Axios

Backend

  • Node.js
  • Express.js

Database

  • MongoDB
  • Mongoose ODM

Authentication

  • JWT
  • bcrypt

API

  • REST API

Version Control

  • Git
  • GitHub

Deployment

Frontend

  • Vercel

Backend

  • Render

Database

  • MongoDB Atlas

๐Ÿ“‚ Project Structure

Hostel-Management-System/
โ”‚
โ”œโ”€โ”€ client/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ layouts/
โ”‚   โ”‚   โ”œโ”€โ”€ pages/
โ”‚   โ”‚   โ”œโ”€โ”€ hooks/
โ”‚   โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ”‚   โ”œโ”€โ”€ context/
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ””โ”€โ”€ main.jsx
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ server/
โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”œโ”€โ”€ controllers/
โ”‚   โ”œโ”€โ”€ middleware/
โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”œโ”€โ”€ routes/
โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ server.js
โ”‚   โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ docs/
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .gitignore

๐Ÿ—„๏ธ Database Collections

  • Users
  • Students
  • Hostels
  • Rooms
  • Room Allocations
  • Complaints
  • Notices
  • Fees
  • Payments
  • Attendance
  • Visitors
  • Leave Requests

๐Ÿš€ Installation

Clone Repository

git clone https://github.com/your-username/Hostel-Management-System.git

Install Frontend

cd client

npm install

npm run dev

Install Backend

cd server

npm install

npm run dev

๐ŸŒ Local Development

Frontend

http://localhost:5173

Backend

http://localhost:5000

๐Ÿ‘ฅ Team Responsibilities

Member Responsibility
Member 1 Backend Development & Authentication
Member 2 Frontend Development
Member 3 Admin Dashboard & API Integration
Member 4 Testing, Documentation & Deployment

๐Ÿ“š Learning Outcomes

This project demonstrates:

  • Full Stack Web Development
  • REST API Development
  • Authentication & Authorization
  • CRUD Operations
  • MongoDB Database Design
  • Responsive UI Development
  • Role-Based Access Control
  • Git & GitHub Workflow
  • Team Collaboration
  • Software Engineering Practices

๐Ÿ”ฎ Future Scope

  • Mobile Application
  • QR Code Hostel Entry
  • RFID Attendance
  • Face Recognition Attendance
  • AI Chatbot
  • Visitor QR Pass
  • Online Fee Payment Gateway
  • SMS Notifications
  • Email Notifications
  • Parent Portal
  • Hostel Analytics Dashboard
  • Multi-Hostel Support

๐Ÿค Contributing

Contributions are welcome.

  1. Fork the repository.
  2. Create a new branch.
  3. Commit your changes.
  4. Push the branch.
  5. Open a Pull Request.

๐Ÿ“„ License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages