Nick-ded/Tutedude_assigment_09Mern_Stack ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack visitor pass management app called PassGuard for an office or campus.
I want staff to log in, see only what their role allows, and manage visitor visits from one dashboard. Visitors should be able to pre register themselves without creating an account, choose a host, book a time, upload a photo, and wait for approval. When a host approves a visit, the system should generate a unique QR pass with a valid time window and make it easy for security to scan it from the browser camera to check people in and out. Every scan should be saved with a timestamp.
Please include a clean modern dark UI with a polished login screen, dashboard stats, appointment management, visitor search, and a live scan page. Use a real database and JWT login, and make sure the app has admin, security, employee, and visitor roles. If you need to, look up current docs online for any library details.
Are you gonna build this?
make sure you review the code using coderabbit