How muhasinbiruar/amazaing-strange-funeral-home-system works
This is a funeral-home operations system: staff use a dashboard to register cases, manage contracts and inventory, track finances, and administer staff. A clear workflow is intake form → staged submission of representative and deceased records, optional life-plan data, and documents. The server exposes domain routes and authentication; shared schemas define data contracts. The README describes setup but not product behavior, so the graph relies on the shown intake, admin, API, and server excerpts. Many domain routes and dashboard pages are listed but unsampled; their internal behavior is not inferred.
Main entry points: useSubmitIntake.ts Intake submission · app.ts HTTP application · api.ts HTTP client · page.tsx Case management
Components 21
Case intake
- Intake form
client/app/dashboard/intake/page.tsx - Intake submission
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Representative records
server/src/routes/representatives.ts - Deceased records
server/src/routes/deceasedrecords.ts - Life plans
server/src/routes/lifeplans.ts - Case documents
server/src/routes/documents.ts
Case operations
- Case management
client/app/dashboard/case-management/page.tsx - Case table
client/app/dashboard/case-management/_components/caseTable/index.tsx - Contract creation
client/app/dashboard/case-management/_components/newContract/index.tsx - Inventory management
client/app/dashboard/inventory/page.tsx
Financial operations
- Financial dashboard
client/app/dashboard/financials/page.tsx - Financial API client
client/services/financialService.ts - Financial routes
server/src/routes/financial.ts
Application platform
- Staff administration
client/app/dashboard/admin/page.tsx - Staff editor
client/app/dashboard/admin/_components/staffPanel/index.tsx - Audit log viewer
client/app/dashboard/admin/_components/auditLogPanel/index.tsx - Authentication
server/src/lib/auth.ts - HTTP application
server/src/app.ts - Shared schemas
shared/src/index.ts - HTTP client
client/services/api.ts
Other components
- Dashboard staff
Connections 19
- Dashboard staff → Intake form: enters intake
client/app/dashboard/intake/page.tsx - Intake form → Intake submission: submits form
client/app/dashboard/intake/page.tsx - Intake submission → Representative records: creates representative
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Intake submission → Deceased records: creates record
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Intake submission → Life plans: creates plan
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Intake submission → Case documents: uploads documents
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Case management → Case table: renders table
client/app/dashboard/case-management/page.tsx - Case management → Contract creation: renders creation flow
client/app/dashboard/case-management/page.tsx - Staff administration → Staff editor: opens editor
client/app/dashboard/admin/page.tsx - Staff administration → Audit log viewer: opens audit log
client/app/dashboard/admin/page.tsx - Staff editor → HTTP client: loads and saves staff
- Financial API client → HTTP client: sends requests
client/services/financialService.ts - Financial dashboard → Financial API client: uses financial data
- HTTP application → Authentication: routes auth requests
server/src/app.ts - HTTP application → Financial routes: mounts routes
server/src/app.ts - HTTP application → Deceased records: mounts routes
server/src/app.ts - HTTP client → HTTP application: calls HTTP API
- Intake submission → HTTP client: posts records
client/app/dashboard/intake/_hooks/useSubmitIntake.ts - Intake submission → Shared schemas: uses query types