MOHIT-KUMAR-11/backend--capstone ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend for a university campus management system.

I want admins, faculty, and students to all sign in and only see what they’re allowed to see. Admins should be able to manage users, courses, sections, and enrolments. Faculty should be able to mark attendance, correct it with a reason within a short time window, and post announcements for their own course or section. Students should be able to log in, view their profile, see their courses, attendance, and announcements.

Please include secure login with access and refresh tokens, password hashing, role based access control, pagination and search on the main lists, and real time updates for announcements and attendance through sockets. Add reporting for attendance summaries, low attendance lists, enrolment counts, and section summaries, with a CSV export for low attendance. Use MongoDB for storage, keep the code clean with controllers, services, and validation, and make sure the API is ready to test with Postman. If you need to check any current docs, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab