hemant-pawade/hostel-management-system ? reverse-engineered prompt

Reverse engineered prompt

Build me a production ready hostel management backend API for a college hostel. I want it to handle login and role based access for students, supervisors, admins, and super admins, with secure passwords and JWT sign in. It should let staff manage hostels, rooms, beds, student profiles, attendance, leave requests, notices, complaints, maintenance requests, reviews, and basic reporting.

Please make it work with a PostgreSQL database and include proper migrations, validation, and clear API docs. The maintenance part should cover request logging, priority, status updates, assignment to staff, costs, preventive scheduling, and approval for expensive repairs. The review system should allow verified visitors or students to leave ratings and comments, with moderation and helpful votes. Also include dashboards and filters for admins and supervisors so they can see counts, trends, and pending work.

If you need to check current docs or best practices, look them up online.