EobardThawne2/Novacarev2 ? reverse-engineered prompt

Reverse engineered prompt

Build me a demo ready hospital management system called NovaCare.

I want a React frontend and a FastAPI backend connected to Supabase for login and the database. People should be able to sign in as Admin, Doctor, or Staff, and see only what their role allows. After login, show a simple dashboard with quick stats and recent admissions, then give the ability to manage patients, doctors, departments, rooms, admissions, operations, and checkups.

Please make the backend set up the database tables automatically when it starts, and if the database is empty, load sample data so the app looks polished right away. Use Supabase Auth for the users, and make sure the API has server side role checks so the permissions are enforced properly.

Keep it clean and easy to run locally, with clear environment setup for the frontend and backend. If you need current docs for React, FastAPI, or Supabase, 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