iompatel/smartwaste-portal ? reverse-engineered prompt
Reverse engineered prompt
Build me a smart waste management web portal with separate sign in flows for admin, worker, and regular users.
I want people to be able to sign up, log in, reset passwords, and use Google sign in too, with the app sending them to the right dashboard based on their role. Admin should have a control panel where they can manage users, workers, tickets, and dustbins. Workers and users should be able to create and track tickets, update ticket status, and attach photos from camera or gallery. Dustbins should have fill level updates, and when one is overflowing it should automatically create an alert ticket.
Please include profile settings, notifications, theme options, a simple to do planner section, and location support with a Google Maps preview so tickets can show where they are. Make it feel polished and modern, with route protection so people only see what they’re allowed to see. Use the current best practices for the stack, and look up any current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit