divScorp/Doctor-Appointment — reverse-engineered prompt
Reverse engineered prompt
Build me a simple doctor appointment web app that can run on a basic PHP and MySQL setup. I want a clean front end where a patient can view available doctors, choose a doctor, enter their details, pick an appointment date and time, and send the request without the page feeling clunky. Use HTML, CSS, JavaScript, AJAX, PHP, and MySQL.
Please also make a simple backend area for clinic staff where they can see appointment requests, add or edit doctor information, and update the status of an appointment. Keep the design straightforward and easy to understand, not overly fancy. Make sure the database connection is easy to configure, include the needed SQL tables, and organize the code so the front end and backend are separate enough to follow.
Add basic validation so empty forms or bad inputs do not get submitted, and show clear success or error messages to the user.
Want more depth? Deep Reverse