SANKALP is a hospital-grade neonatal care management web app built with React and Vite. It provides separate admin and supervisor panels for patient registration, case review, facility monitoring, reports, and bilingual Hindi/English operation.
- Admin dashboard with monthly facility-wise entries, supervisor performance, and live monitoring
- Supervisor dashboard with patient workflow, follow-up visibility, and privacy-safe supervisor directory
- Patient registry with search, status filters, facility filters, and responsive spacing
- Draft -> Submitted -> Returned -> Approved -> Closed workflow
- Supervisor edit locking for Submitted, Approved, and Closed records
- Returned records remain editable for resubmission
- Hindi/English language toggle stored in localStorage
- Blue/teal healthcare UI theme
- React 19
- Vite 8
- React Router
- Tailwind CSS
- Recharts
- Lucide React
- Oxlint
Install dependencies:
npm installStart the development server:
npm run devOpen:
http://127.0.0.1:5173/login
On Windows, you can also start the persistent helper script:
run-dev-server.cmdAdmin:
Email: [email protected]
Password: admin123
Supervisor:
Email: [email protected]
Password: supervisor123
npm run dev
npm run build
npm run lint
npm run previewsrc/
components/ Shared layout, dashboard, and patient UI components
context/ Auth and language providers/hooks
data/ Mock patient, supervisor, user, and facility data
lib/ Utility functions
pages/
admin/ Admin dashboard, patients, users, reports, facilities
auth/ Login page
shared/ Shared settings page
supervisor/ Supervisor dashboard, registry, patient form
public/ Static app icons
tests/ Manual QA checklist
Before pushing changes, run:
npm run lint
npm run buildBoth commands should pass before deployment.
This app currently uses mock data and localStorage-driven UI preferences. It does not add backend authentication or server persistence.