harshkrt/fleet-platform ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack ride booking and tracking app with three roles, customer, driver, and admin.
Customers should be able to sign up, log in, request a ride with pickup, destination, distance, requested time, and optional notes, then see their own ride history and ride details. Drivers should see available ride requests, accept one ride at a time, and update the ride through the full lifecycle from requested to accepted, arriving, started, and completed, with cancellation allowed only before the ride gets too far along. Admins should be able to view every ride, filter by status, driver, customer, and date, and see simple summary stats like totals by status and total revenue from completed rides.
Please make the backend enforce all role checks and status changes, not the frontend. Use a clean React app for the client, an Express API with MongoDB on the server, JWT login, hashed passwords, and basic error handling. If you need to check current docs, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit