Kartik-Doye/CPIL-Data_dashboard ? reverse-engineered prompt

Reverse engineered prompt

Build me a GO Gas executive dashboard that shows live sales, station, team, and forecast history from PostgreSQL. I want it to feel like a clean internal reporting app, with charts and summary views that make it easy to see what is happening across the business at a glance.

The important part is that it should only use PostgreSQL data, if the database is down or the required tables do not have data, the app should show a clear error instead of falling back to any spreadsheet or fake data. Please include a simple way to verify the database connection and schema before the dashboard loads, and a way to load the sales spreadsheet into PostgreSQL when needed.

Make it work as a local app that I can run easily with a dev command, and include sensible setup steps for environment settings. If you need to check current docs or best practices while building it, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab