xc3260/socmintcw565 — reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python web app for an internal dashboard that I can run locally by starting python app.py. I want it to open on localhost, show a login page, and support two kinds of users, admin and officer. Use the demo logins tanmay with password Tanmay for admin access, and admin with password admin for officer access.

After login, take the user to a dashboard where they can see and manage sample records or cases. Admin users should have broader control than officers, but keep the whole thing clean and easy to understand. Include the sample data setup so the app feels populated right away, plus the basic pages and styling needed to make it usable.

Please make sure the app is complete enough that someone can open the folder, run it, and start clicking around without extra guesswork. If there are tests already, make them pass. Look up current docs online if you need to.

Want more depth? Deep Reverse