devmohamed63/medical-records-platform-backend ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for a medical records platform for a non profit clinic network. It should let patients, doctors, and clinics securely manage unified dental records in one place, so people can create accounts, log in, and access the right records based on their role.
I want the system to support storing patient profiles, clinic details, doctor profiles, appointments or visit notes, and dental record history in a clean and organized way. Make it easy to add, update, view, and search records, and keep permissions tight so each user only sees what they should.
Use a clean, maintainable Laravel structure, and set it up so the code is easy to grow later. Include sensible database migrations, basic validation, and a solid API style that front end apps can connect to. If anything is unclear, make reasonable choices and look up current Laravel docs online if needed.
Are you gonna build this?
make sure you review the code using coderabbit