HOSTELLO is a comprehensive, automated smart hostel management system designed to streamline and digitize daily hostel operations. By minimizing manual paperwork and maximizing efficiency, it provides a seamless experience for administrators and students alikeβhandling attendance, absence alerts, room allocation, and fee management in one secure platform.
Hostello_Project_Working_Demo2.mp4
- π Project Overview
- β¨ Key Features
- ποΈ System Architecture
- π» Tech Stack
- π Project Structure
- ποΈ Database Schema
- πΈ Application Screens
- π Running the Application
- π Security
- π License
HOSTELLO tackles the chaotic administration of student accommodations by moving all critical operationsβfrom daily room/mess attendance to grievance reportingβonto a centralized digital platform. The inclusion of automated guardian notifications ensures safety and accountability are maintained seamlessly.
- Dashboard Analytics: Visual overview of total students, available rooms, fee collections, and recent activities.
- Room Assignment & Management: Efficient allocation and tracking of hostel rooms. Admins can create rooms, set capacities, and assign students based on preferences.
- Smart Attendance System: Daily tracking of student presence in rooms and the mess.
- Automated Guardian Alerts: Automatically sends email alerts to parents/guardians when a student is absent beyond warning or critical thresholds.
- Fee Management: Transparent tracking of hostel and mess fees. Admins can generate fee invoices and track payment statuses.
- Notices Broadcasting: Create and publish digital announcements that instantly reflect on the student dashboard.
- Request Management: Handle student complaints, maintenance requests, and leave applications efficiently.
- Premium Admin Interface: Integrated with Jazzmin for a beautiful, responsive, and highly customizable administration panel.
- Student Dashboard: Personalized portal displaying room details, attendance records, and pending dues.
- Notice Board: Real-time access to important announcements and hostel notices.
- Fee Portal: View detailed fee breakdowns and track payment history securely.
- Requests & Complaints: Submit and track the status of maintenance requests, leave applications, or general complaints directly from the portal.
+-------------------+ HTTP/JSON +-----------------------+
| | <==========================> | |
| Frontend Web UI | | Django Web Server |
| (HTML/CSS/JS) | <--------------------------> | (Views/URLs/APIs) |
| | Templates | |
+-------------------+ +-----------+-----------+
|
| ORM
v
+-------------------+ +-----------+-----------+
| | | |
| External APIs | <==========================> | Django Models |
| (Stripe, SMTP) | Payments & Emails | (Business Logic) |
| | | |
+-------------------+ +-----------+-----------+
|
| SQL
v
+-----------+-----------+
| |
| SQLite Database |
| (Data Storage) |
| |
+-----------------------+
| Technology | Badge | Description |
|---|---|---|
| Python | Core programming language (3.10+). | |
| Django | High-level web framework for rapid development. | |
| Django REST | Toolkit for building Web APIs. |
HOSTELLO/
βββ hostello_backend/
β βββ accounts/ # Custom user models & auth logic
β βββ attendance/ # Room and Mess attendance tracking
β βββ fees/ # Payments and fee management
β βββ hostello_backend/ # Main project settings & routing
β β βββ settings.py
β β βββ urls.py
β βββ notices/ # Notice board broadcasting
β βββ media/
β βββ requests/ # Student complaints/leave ticketing
β βββ students/ # Student profiles & room allocation
β βββ static/ # CSS, JS, and Images
β βββ templates/ # HTML Django templates
β βββ manage.py
β βββ requirements.txt
βββ .env # Environment variables (git-ignored)
βββ .gitignore
βββ README.md
βββ run_backend.bat # Startup script
βββ run_frontend.bat # Startup script
| Model Name | Purpose | Key Relationships |
|---|---|---|
| User | Custom authentication model (Admin/Warden). | Base model. |
| Student | Stores student details, guardian info, room info. | O2O with User, FK to Room. |
| RoomAttendance | Daily presence/absence tracking in rooms. | FK to Student. |
| MessAttendance | Daily presence/absence tracking in the mess. | FK to Student. |
| Fee | Logs fee types, amounts, and payment status. | FK to Student. |
| StudentRequest | Stores complaints, leave apps, and status. | FK to Student. |
| Notice | Global announcements for the dashboard. | Broadcast model. |
Modern & Responsive Landing Page
![]() Hostel Blocks & Capacity |
![]() 3D Room Previews |
![]() Student Living Benefits |
![]() Weekly Mess Menu |
![]() Hostel Amenities & Contact Info |
|
git clone https://github.com/Hashmil-Muhammed/HOSTELLO_Automated_Smart_Hostel_Management_System_using_Django.git
cd HOSTELLO_Automated_Smart_Hostel_Management_System_using_Djangopython -m venv hostello_env
# Windows:
hostello_env\Scripts\activate
# macOS/Linux:
source hostello_env/bin/activatecd hostello_backend
pip install -r requirements.txtCreate a .env file in the hostello_backend/hostello_backend/ directory:
SECRET_KEY=your-secure-django-secret-key-here
DEBUG=True
# Email Configuration
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-app-password
# Stripe API Keys (Optional)
STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key
STRIPE_SECRET_KEY=your-stripe-secret-key
STRIPE_WEBHOOK_SECRET=your-stripe-webhook-secretpython manage.py makemigrations
python manage.py migrate
python manage.py createsuperuserpython manage.py runserverAccess the frontend at http://127.0.0.1:8000/ and the admin panel at http://127.0.0.1:8000/admin/
- All sensitive credentials (such as Secret Keys and Email Passwords) are stored securely using environment variables (
.env). - Cross-Origin Resource Sharing (CORS) is strictly configured.
- Protected by Django's native CSRF & XSS prevention layers.
- Password hashing and secure authentication practices are enforced natively by Django.
This project is licensed under the MIT License.
Built with π» and β for seamless hostel management.























