Gunjan1116/doctor_patient_appointment_booking ? reverse-engineered prompt
Reverse engineered prompt
Build me a doctor patient appointment booking website that lets people sign up as either a doctor or a patient, log in, and manage their accounts securely.
Patients should be able to browse doctors, filter them by location or specialty, book an appointment by picking a date and time slot, see their own bookings, and cancel one if needed. Doctors should have their own profile details like specialty and location, and the app should protect pages and actions based on whether someone is a doctor or a patient. Please include email confirmation for bookings and proper login with token based authentication.
I want a simple frontend and a Node.js and Express backend with MongoDB for saving users and appointments. Make the UI clean and easy to use, and if you need current setup details or best practices, look them up online. Also make sure the app can run locally without too much hassle, with clear commands for starting the server and anything needed for the booking flow to work.
Are you gonna build this?
make sure you review the code using coderabbit