A Virtual Hostel Allotment System designed for universities to allocate hostel rooms fairly and transparently. Unlike first-come-first-serve models, HostelNET uses a systematic and logic-driven approach to ensure unbiased seat allotment for students.
- π― Fair Allotment Logic β eliminates bias and ensures transparent allocation.
- π¨βπ Student Portal β easy hostel registration and status tracking.
- π’ Admin Dashboard β manage hostels, rooms, and student allotments.
- π Role-based Access β separate access levels for students and admins.
- π³ (Optional) Payment Gateway integration for hostel fee submission.
- Backend: Django (Python)
- Frontend: HTML, CSS, JavaScript (with Bootstrap / Tailwind)
- Database: MySQL / PostgreSQL
- Payment Gateway: Razorpay (optional)
- Deployment: Docker / Heroku / AWS
HostelNET/
βββ hostelnet/ # Core Django project files
βββ allotment/ # Hostel allocation logic
βββ users/ # Authentication & roles
βββ payments/ # Razorpay integration (if enabled)
βββ templates/ # HTML files
βββ static/ # CSS, JS, Images
βββ requirements.txt # Dependencies
βββ manage.py
-
Clone the Repository
git clone https://github.com/your-username/HostelNET.git cd HostelNET -
Create Virtual Environment & Install Dependencies
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate pip install -r requirements.txt
-
Apply Migrations
python manage.py migrate
-
Create Superuser
python manage.py createsuperuser
-
Run Development Server
python manage.py runserver
Now visit π http://127.0.0.1:8000/
flowchart TD
A[Student Registers] --> B{Admin Approval?}
B -- Yes --> C[Allotment Logic Runs]
B -- No --> D[Rejected Notification]
C --> E[Room Assigned]
E --> F[Student Receives Confirmation]
Contributions are welcome!
- Fork the repo
- Create a feature branch
- Commit changes & open a PR
Made with β€οΈ by Akshit Sahore