sriram5608/bwts-iot-dashboard — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a production ready BWTS IoT monitoring dashboard for a ship ballast water treatment system.

It should connect to MongoDB Atlas and show live telemetry with a 30 second refresh, including flow, pressure, power, UV intensity, system health, recent events, and alerts. Make the main screen feel polished and visual, with a central diamond layout showing all 16 UV lamps and clear color states for good, warning, and critical conditions.

Add tabs for predictive maintenance, trends, compliance, comparison, and export. I want maintenance predictions with failure risk and Remaining Useful Life, historical charts with date filters for up to a full year of data, runtime based lamp degradation graphs, IMO D 2 and USCG compliance status, lamp to lamp comparisons, and CSV or PDF export with Excel style filtering.

Please make it fast by loading summary data first, then streaming detailed records in the background. Use Next.js, TypeScript, and a clean modern dashboard design. Look up current docs online if needed.

Want more depth? Deep Reverse