chandunimmakayala9390-blip/pulseboard ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple real time analytics dashboard called PulseBoard.
I want a web app where I can send events like page views, signups, and purchases through a small API, save them in a SQLite database, and have the dashboard update instantly without refreshing. The main page should show live counters by event type, a feed of the latest events, and a chart that shows events per minute over time.
Make it work with FastAPI and WebSockets so the dashboard stays in sync for everyone who has it open. Keep the data model simple and use SQLAlchemy for the database work. I’d also like an API route for creating events, plus a clean homepage that serves the dashboard from the app.
Please make it feel polished and ready to run locally with one command, and include whatever basic setup is needed so I can test it right away. If you need to check current FastAPI or WebSocket usage details online, go ahead.