sanjitdev/Surakkha ? reverse-engineered prompt
Reverse engineered prompt
Build me a real time water safety monitoring dashboard for schools and small communities, with a clean admin style web app and a separate simulated sensor feed so the whole sensor to resolution flow works end to end.
I want users to be able to log in as Admin, Operator, Technician, or Viewer, see water quality alerts when readings go bad, and manage incidents from open to resolved. The app should show live device data like pH, TDS, turbidity, temperature, chlorine, and water level, create incidents automatically when thresholds are crossed, and let operators acknowledge alerts, assign technicians, and close things out after inspections. It should also keep an audit trail, show a critical warning when a serious issue is confirmed, and have a simple admin page to start different simulator scenarios.
Make it feel polished and ready for a demo, with seeded demo users, sensible defaults, and a straightforward setup using the existing TypeScript stack. If you need to check any current docs or best practices, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit