How gfani/merihcare works
This is a frontend prototype for an on-demand home-healthcare dispatch dashboard, with a separate provider-facing app. The main admin workflow is dashboard navigation into live tracking, patient/provider management, request review and reporting; the provider app presents job and account screens. The sampled request and provider pages show local UI state, not operational dispatch or persistence. Requirements document broader intended capabilities, but no backend or external integrations are evidenced in the sampled code.
Main entry points: admin-dashboard.tsx Admin dashboard · routes.tsx Route selection · main.tsx React mount · App.tsx App router host
Components 26
Application entry
- React mount
src/main.tsx - App router host
src/app/App.tsx - Route selection
src/app/routes.tsx
Admin operations
- Admin dashboard
src/app/pages/admin-dashboard.tsx - Admin navigation
src/app/components/sidebar.tsx - Dashboard header
src/app/components/header.tsx - Summary metrics
src/app/components/stats-cards.tsx - Live map
src/app/components/map-view.tsx - Live requests
src/app/components/live-requests.tsx - Online providers
src/app/components/online-users.tsx - Patient management
src/app/components/patients-page.tsx - Provider management
src/app/components/providers-page.tsx - Request management
src/app/components/requests-page.tsx - Analytics reports
src/app/components/reports-page.tsx
Provider app
- Provider route page
src/app/pages/provider-app.tsx - Provider app shell
src/app/components/provider-app/provider-app.tsx - Provider login
src/app/components/provider-app/login-screen.tsx - Provider home
src/app/components/provider-app/home-screen.tsx - Incoming request
src/app/components/provider-app/incoming-request-screen.tsx - Active job
src/app/components/provider-app/active-job-screen.tsx - Job completion
src/app/components/provider-app/job-completion-screen.tsx - Job history
src/app/components/provider-app/history-page.tsx - Provider earnings
src/app/components/provider-app/earnings-page.tsx - Provider profile
src/app/components/provider-app/profile-page.tsx
Shared interface
- Reusable UI kit
src/app/components/ui/button.tsx
Other components
- Dashboard user
Connections 18
- Dashboard user → React mount: opens app
- React mount → App router host: mounts
- App router host → Route selection: hosts router
- Route selection → Admin dashboard: routes /
- Route selection → Provider route page: routes /provider
- Admin dashboard → Admin navigation: renders
- Admin dashboard → Dashboard header: renders
- Admin dashboard → Summary metrics: renders dashboard
- Admin dashboard → Live map: renders dashboard
- Admin dashboard → Live requests: renders dashboard
- Admin dashboard → Online providers: renders dashboard
- Admin dashboard → Patient management: selects patients
- Admin dashboard → Provider management: selects providers
- Admin dashboard → Request management: selects requests
- Admin dashboard → Analytics reports: selects reports
- Provider route page → Provider app shell: renders app
- Request management → Reusable UI kit: uses button
- Provider management → Reusable UI kit: uses button