KrishCodesw/JanSamwaad — reverse-engineered prompt

Reverse engineered prompt

Build me a civic complaint web app called JanSamwaad where residents can report local infrastructure problems like potholes, garbage, broken streetlights, or water issues. I want people to sign in, submit a complaint with a photo and exact map location, and then track what happens to it on their own dashboard. There should also be a public map view with nearby issue filtering, plus a separate secure area for city officials to see pending, appealed, and resolved cases.

When someone submits a report, automatically figure out which department or local area it belongs to from the latitude and longitude. Add basic spam protection, bad word filtering, submission rate limits, and a three strike suspension rule for abusive users. Officials should only be able to mark something resolved after uploading proof photos and notes. The original reporter should get a 7 day window to review the fix and reopen it if the issue is still there. Use Supabase for auth and data, and make the whole thing feel clean, modern, and easy to use. Look up current docs online if you need to.

Want more depth? Deep Reverse