txk39430/hospital-management-system ? reverse-engineered prompt
Reverse engineered prompt
Build me a hospital management system that lets staff manage patients, doctors, appointments, and billing in one place.
I want a simple React frontend where users can register, log in, and then create, view, update, delete, and search patient records, manage doctors, book appointments, and see bills that are created automatically when an appointment is booked. Make sure appointments only save if the patient and doctor already exist, and show a clear error if they do not.
Please use a secure login system with JWT, store data in a MySQL database, and make the services talk to each other the way a real system would, with some requests happening directly and billing being triggered in the background after an appointment is made. If one service is unavailable, the app should fail gracefully instead of breaking.
I also want it set up so I can run the whole thing with Docker, and if needed, look up current docs online to fill in any missing details.
Are you gonna build this?
make sure you review the code using coderabbit