mpsinghmandawariya/kanan_hackathon — reverse-engineered prompt
Reverse engineered prompt
Build me a simple web app called FleetFlow Lite for a small trucking or logistics company. I want a login page, a request access page, and role based access for Fleet Manager, Dispatcher, Safety Officer, and Financial Analyst. The manager should be the main admin with a default demo account, and every other role should need manager approval before they can log in. Also make sure there can only be one active user for each non manager role.
The app should let the manager add and update vehicles, track maintenance, review user requests, and see an overall dashboard. Dispatchers should be able to create trips and assign drivers and vehicles, but only if the vehicle is available, not in maintenance, the driver is approved, and the cargo does not exceed capacity. Safety should manage driver compliance and license status. Finance should log fuel and see operating costs and summaries.
Please keep the UI clean and straightforward, with separate dashboards for each role and business rules enforced throughout. Look up current docs online if you need to.
Want more depth? Deep Reverse