somya54/hospital-management-system ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple hospital appointment system where patients and doctors can register, log in, and manage appointments in one place.

I want patients and doctors to have separate accounts with role based access, so people only see the right pages after signing in. Patients should be able to create an account, view doctors, book an appointment, see their upcoming appointments, and cancel one if needed. Doctors should be able to register, log in, and view the appointments assigned to them. Admin style views for listing patients, doctors, and appointments would be helpful too.

Please make it a full stack app with a clean React frontend and a Node, Express, MongoDB backend using JWT authentication. Keep the UI simple and practical, and make sure the basic flows work end to end. If you need to check any current library docs or best practices while building it, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab