Hostel-Management-System

Hostel_Management

Hostel Management App (HMA) Function & flow of HMA( Hostel Management App)

🔄 A web-based application designed to streamline hostel operations, enabling seamless room allocation, announcements, and user management.

Flow Summary:

Working of Admin and User Admin: Manages rooms, hostelers, announcements, and oversees hostel data.

Users: View hostels, check room availability, book or leave rooms, and access announcements.

âš¡ Motivation & Highlights

The purpose of this application is to minimize manual effort and prevent booking conflicts in hostel management:

Real-time response: Room lock operations are kept fast and conflict-free using a lightweight in-memory mechanism.

Persistent storage: MongoDB handles all core data securely and supports flexible querying.

Hybrid approach: Combines real-time efficiency with consistent data handling for better user experience.

🚀 How to Get Started

Install dependencies

Backend:

cd backend npm install

Frontend (React/Vite):

cd ../client npm install

Set up environment variables (e.g., MONGO_URI, JWT_SECRET).

Run the app

Backend

cd backend npm start

Frontend

cd ../client npm run dev

Open your browser: http://localhost:5174/