sajidscript/diu-bus-tracker — reverse-engineered prompt
Reverse engineered prompt
Build me a simple web app for Daffodil International University so students can see campus buses moving live on a map and get a rough ETA. I want three roles. Students should have an easy view with the live bus locations. Drivers should be able to sign in, get assigned to a bus, and start sharing their GPS, with a simulation option so it can be tested without actually driving around. Admins should be able to sign up with an invite code, manage buses, routes, and users, and assign drivers to buses.
Please make the live updates actually happen in real time, not just on refresh. Use a clean map based interface and keep the flow simple enough that I can open a driver page and a student page in two tabs and watch the bus move. Include the basic setup so it runs locally with environment variables for the backend and invite code, and make it ready to deploy. If anything is unclear, check the current docs online and fill in sensible defaults.
Want more depth? Deep Reverse