vedanshi-tech-24/Emergency-Hospital-Management-System ? reverse-engineered prompt

Reverse engineered prompt

Build me a full stack emergency hospital management app where patients can register and log in, hospitals can be listed and updated, and emergency requests can be created and tracked until they are resolved.

I want a simple React frontend with plain CSS that talks to an Express and MongoDB backend. Patients should be able to save their personal and medical info, and an admin should be able to log in, view all patients, see hospitals, check bed availability, and manage emergency requests. When a request is created, it should be linked to the hospital it was sent to, and the admin should be able to mark it as resolved.

Please include secure login with hashed passwords and JWT auth, plus a basic seeded demo setup so it works right away with sample hospitals and an admin account. Make the app work locally with a frontend on one port and the backend on another, and add a health check so it is easy to tell when the server or database is not running. If you need to look up current docs online, feel free to do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab