yuvrajsurshetwar/Online_Complaint_Registration ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app for online complaint registration and management with separate experiences for regular users, agents, and admins.

Users should be able to sign up, log in, submit a complaint, see its current status, view complaint details, and message the assigned agent about that specific complaint. Agents should have a dashboard where they can see the complaints assigned to them, update the status as it moves through the workflow, and reply to users. Admins should be able to manage users and agents, view all complaints, assign complaints to agents, and control the complaint flow.

Please make it feel secure and polished, with login protection, role based access, hashed passwords, and clean status tracking. Use a modern React frontend with a simple Bootstrap style, and build the backend with Node, Express, JWT, and MongoDB. Set it up so it is easy to run locally and organize the code cleanly. If you need to check current docs for anything, 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