Yashgupta9311/ksp-AI-crime ? reverse-engineered prompt
Reverse engineered prompt
Build me a crime intelligence web app for police officers, with a clean login screen and a dashboard where they can ask questions about crime records in plain English, Hindi, or Kannada, either by typing or speaking.
The app should let the user get an instant answer, see the SQL that was generated, and view the result as a table or chart. It should also include basic trend analytics, a hotspot map, live alerts for unusual spikes, and a way to export a session as a PDF report. I also want role based access, so station officers only see their own area, district officers see their district, and admins can see the state level data and create new officer accounts.
Use a modern React frontend and a Node backend, connect it to PostgreSQL, and make sure authentication is secure with cookie based login. If you need to, look up current docs online for the map, chart, and speech features. The final app should feel polished and ready for a demo with sample crime data already loaded.
Are you gonna build this?
make sure you review the code using coderabbit