sameeha04/Visitor-Pass-Management-System ? reverse-engineered prompt

Reverse engineered prompt

Build me a full stack Visitor Pass Management System where different people can log in and only see what they’re supposed to see.

I want an admin dashboard to manage users and employees, view visitor reports, and check activity history. I want a receptionist area to register visitors, approve the flow of check in and check out, cancel visits, and search visitor history. I want an employee view where they can approve or reject visitor requests that are assigned to them. Visitors should always start as pending, and only approved visitors can be checked in, then checked out later.

Please include proper login with role based access, a clean modern UI, and a MongoDB backed database with demo users ready to seed. Make sure the app follows the rules for duplicate visitors, past dates, and only one active visit at a time. Add a simple audit trail for every important action. If you need to, look up current docs online before wiring up anything tricky.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab