{"id":30614201,"url":"https://github.com/secureauditx/student-housing-management-system","last_synced_at":"2026-05-06T17:33:57.600Z","repository":{"id":304530213,"uuid":"1019058212","full_name":"SecureAuditX/student-housing-management-system","owner":"SecureAuditX","description":"Student Housing Management System with secure login, room tracking, reservation, and maintenance modules using Qt and C++","archived":false,"fork":false,"pushed_at":"2025-07-13T16:50:15.000Z","size":14267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T07:02:30.119Z","etag":null,"topics":["gui","housing-management","mysql","qt","student-management-system"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SecureAuditX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-13T16:39:45.000Z","updated_at":"2025-08-07T17:59:04.000Z","dependencies_parsed_at":"2025-07-13T18:47:17.085Z","dependency_job_id":null,"html_url":"https://github.com/SecureAuditX/student-housing-management-system","commit_stats":null,"previous_names":["secureauditx/student-housing-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SecureAuditX/student-housing-management-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SecureAuditX%2Fstudent-housing-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SecureAuditX%2Fstudent-housing-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SecureAuditX%2Fstudent-housing-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SecureAuditX%2Fstudent-housing-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SecureAuditX","download_url":"https://codeload.github.com/SecureAuditX/student-housing-management-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SecureAuditX%2Fstudent-housing-management-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272815834,"owners_count":24997662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","housing-management","mysql","qt","student-management-system"],"created_at":"2025-08-30T07:01:37.553Z","updated_at":"2026-05-06T17:33:57.557Z","avatar_url":"https://github.com/SecureAuditX.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏠 Student Housing Management System (Qt \u0026 C++)\n\n\u003e A desktop application for managing student housing — including login, room management, reservations, and maintenance — built using Qt framework with C++ for a smooth and intuitive GUI experience.\n\n---\n\n## 🚀 Project Overview\n\nThis Student Housing Management System is designed to simplify administration and management of student dormitories. It provides a secure login interface with role-based access, and modules to:\n\n* Manage rooms (available, occupied, damaged)\n* Handle room reservations\n* Track and schedule maintenance requests\n* Separate dashboards for admin and student users\n\nThe project is built with modular, maintainable Qt C++ code, featuring interactive tables and dialogs for efficient workflow.\n\n---\n\n## 🧩 Key Features\n\n* **Secure Login System**\n\n  * Validates user credentials with hashed passwords (MD5)\n  * Supports both admin and student user roles\n  * Input validation with informative error messages\n\n* **Admin Dashboard**\n\n  * Central hub for navigation to rooms, reservations, and maintenance modules\n\n* **Room Management**\n\n  * View, edit, search, and delete occupied rooms\n  * View available rooms and room details\n  * View damaged rooms and repair statuses\n  * Interactive QTableWidgets for data display and editing\n\n* **Room Reservation**\n\n  * Reserve rooms by entering student and payment details\n  * Validation of required fields\n  * Simple confirmation dialog on reservation save\n\n* **Maintenance Management**\n\n  * Track maintenance tasks with cost and status\n  * Edit, save, and delete maintenance records\n  * View current maintenance statuses for rooms\n\n* **Navigation**\n\n  * Seamless switching between modules (Room, Reservation, Maintenance, Dashboard)\n  * Modal dialogs to keep workflow contained and user-friendly\n\n---\n\n## 🛠️ Technology Stack\n\n| Layer         | Technology                          |\n| ------------- | ----------------------------------- |\n| Programming   | C++                                 |\n| GUI Framework | Qt (Widgets, QDialog, QTableWidget) |\n| Database      | MySQL (connected via Qt SQL)        |\n| Hashing       | MD5 implemented in C++              |\n\n---\n\n## 📁 Project Structure\n\n```plaintext\nsrc/\n├── mainwindow.cpp          # Login window and logic\n├── login_controller.cpp    # Login verification and role-based redirection\n├── admindashboard.cpp      # Admin main navigation dashboard\n├── room.cpp                # Room management (occupied, available, damaged)\n├── reserveroom.cpp         # Room reservation dialog\n├── rmaintenance.cpp        # Room maintenance tracking\n├── md5.cpp                 # MD5 hashing algorithm implementation\n├── *.h                    # Header files corresponding to above\n└── ui/                    # Qt Designer UI files (optional)\n```\n\n---\n\n## 🔧 Setup and Run Instructions\n\n1. **Prerequisites**\n\n   * Qt 5 or 6 installed (Qt Creator recommended)\n   * C++ compiler (e.g., GCC, MSVC)\n   * MySQL server running with database `student_mang_sys` (or adjust connection settings)\n   * Qt SQL module enabled for database connectivity\n\n2. **Configure Database Connection**\n\n   * Default in `mainwindow.cpp` connects to MySQL on `localhost`, port `3306`\n   * Update credentials if needed\n\n3. **Build and Run**\n\n   * Open project in Qt Creator\n   * Build all sources\n   * Run the executable; login screen appears first\n\n4. **Login Credentials**\n     OffLine Test\n   * For testing (hardcoded):\n\n     * Admin: `admin` / `1234`\n     * Student: `student` / `1234`\n\n5. **Usage**\n\n   * Login as admin to access all features\n   * Navigate through dashboard to manage rooms, reservations, and maintenance\n\n---\n\n## 🧑‍💻 How It Works\n\n* **Login Flow**\n\n  * User inputs username and password\n  * Inputs hashed with MD5\n  * Verified either via simple hardcoded check or (future) database query\n  * On success, user is redirected to their respective dashboard\n\n* **Room Module**\n\n  * Displays tables of occupied, available, and damaged rooms\n  * Supports edit, save, delete, and search functionalities for occupied rooms\n  * Provides navigation to reservation and maintenance dialogs\n\n* **Reservation Module**\n\n  * Form to enter reservation details with validation\n  * Save action confirms reservation info with the user\n\n* **Maintenance Module**\n\n  * Lists maintenance records for rooms\n  * Allows editing, saving, and deleting maintenance entries\n  * Statuses include Pending, Repairing, Full Repair\n\n---\n\n## 📈 Future Enhancements\n\n* Full database integration for persistent data storage and retrieval\n* Role-based access control with session management\n* Reporting and analytics dashboards\n* Email or SMS notifications for reservation and maintenance updates\n* Automated room availability updates upon reservation\n* UI improvements and responsive design\n\n---\n\n## 🙌 Contribution\n\nFeel free to fork and contribute! Suggested steps:\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push and create a pull request\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## ✨ Author\n\nMade with ❤️ by SecureAuditX\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecureauditx%2Fstudent-housing-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecureauditx%2Fstudent-housing-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecureauditx%2Fstudent-housing-management-system/lists"}