This is a hostel management system. It has the following features: Leave Request Complaint Request Mess change request Room allocation Event Add Courses There would be 3 user roles: student, warden and Faculty
You can view the documentation of the API live at this link: <link_for_API_swagger_docs>
API Details: User roles:
- Student
- Warden (admin)
- Faculty
Student Details:
- Name
- Reg No
- Room details
- Hostel Block Name
- Password
- Mess Type
Warden Details:
- Name
- Hostel Block Name
- Password
Faculty Details:
- Name
- EmpId
- isHOD
Student Features:
- Student can apply for leave request
- They can file for complaint
- They can view their room details
- They can request for a mess change.
- They can register in a course
- They can Post and view all events
Admin Features:
- Warden can approve/reject leave request and status should be displayed to the student in their login
- Wardens can mark a complaint as completed/pending.
- Warden can approve/reject mess change requests
- Warden can assign rooms to the students
Faculty Features:
- They can see all courses and the students in each course
- If they are a HOD they can accept/reject the events posted by the student
User Pages:
- Student Login/Register Page Apply and View Leave Page Apply and View Complaints Page Apply and View Room Details Page View and Register Courses Page Apply For Mess Page Post Events Page
- Warden Accept or Reject Leave/Complaint Page Accept Mess/Room Request Page Login/Register Page
- Faculty Login/Register Page See Courses Page Accept Events Page
Student Model:
model Student {
id Int
name String
regNo String
block String
password String
roomNo String
messType String
toBeChangedTo String
isForChange Boolean
}
Warden Model:
model Warden {
id Int
name String
block String @unique
password String
}
Faculty Model: model Faculty { id Int empId String @unique name String password String isHOD Boolean @default(false) }