# techayushbhatt/parivaar-saathi architecture

> Architecture diagram of the GitHub repository techayushbhatt/parivaar-saathi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/techayushbhatt/parivaar-saathi
- Repository: https://github.com/techayushbhatt/parivaar-saathi

## Overview

Parivaar Saathi is presented as a family-care coordination app, but the supplied source shows a React frontend prototype rather than the documented Node/Express/MySQL architecture. The user-facing flow is browser mount → App → care views, which read local application state; the excerpts show dashboard summaries and task, reminder, appointment, and document interfaces. README-listed features such as family access, medication tracking, and adherence analytics are product intentions, not independently verifiable backend services here. App.jsx contains most implementation; the small page/component files are placeholders. Unshown wiring is omitted.

Main entry points: [`src/App.jsx`](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx) (Application shell), [`src/main.jsx`](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/main.jsx) (React mount)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Frontend runtime"]
  node_mount["React mount<br/>[main.jsx]"]
  node_app["Application shell<br/>[App.jsx]"]
  node_state[("Local application state<br/>[App.jsx]")]
end

subgraph group_care["Care coordination"]
  node_dashboard["Care dashboard<br/>[App.jsx]"]
  node_tasks["Care tasks<br/>[App.jsx]"]
  node_reminders["Reminders<br/>[App.jsx]"]
  node_appointments["Appointments<br/>[App.jsx]"]
  node_documents["Document vault<br/>[App.jsx]"]
  node_medications["Medication management<br/>[App.jsx]"]
  node_family_circle["Family circle<br/>[App.jsx]"]
  node_analytics["Adherence analytics<br/>[App.jsx]"]
end

subgraph group_account["Account and preferences"]
  node_login["Authentication UI<br/>[App.jsx]"]
  node_profile["Care receiver profile<br/>[App.jsx]"]
  node_settings["User settings<br/>[App.jsx]"]
end

node_family(("Family member"))

node_mount -->|"renders"| node_app
node_app -->|"holds"| node_state
node_dashboard -->|"reads"| node_state
node_tasks -->|"reads and updates"| node_state
node_reminders -->|"reads and updates"| node_state
node_appointments -->|"reads and updates"| node_state
node_documents -->|"adds records"| node_state
node_family -.->|"uses"| node_mount
node_app -.->|"presents"| node_dashboard
node_app -.->|"presents"| node_tasks
node_app -.->|"presents"| node_reminders
node_app -.->|"presents"| node_appointments
node_app -.->|"presents"| node_documents
node_app -.->|"includes"| node_login
node_app -.->|"includes"| node_profile
node_app -.->|"includes"| node_settings
node_app -.->|"intended to manage"| node_medications
node_app -.->|"intended to coordinate"| node_family_circle
node_app -.->|"intended to report"| node_analytics

click node_mount "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/main.jsx"
click node_app "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_state "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_dashboard "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_tasks "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_reminders "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_appointments "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_documents "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_login "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_profile "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_settings "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_medications "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_family_circle "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"
click node_analytics "https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_mount,node_app,node_state toneBlue
class node_dashboard,node_tasks,node_reminders,node_appointments,node_documents,node_medications,node_family_circle,node_analytics toneAmber
class node_login,node_profile,node_settings toneMint
class node_family toneIndigo
```

## Components

### Frontend runtime

- [React mount](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/main.jsx): `src/main.jsx`
- [Application shell](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Local application state](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`

### Care coordination

- [Care dashboard](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Care tasks](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Reminders](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Appointments](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Document vault](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Medication management](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Family circle](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Adherence analytics](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`

### Account and preferences

- [Authentication UI](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [Care receiver profile](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`
- [User settings](https://github.com/techayushbhatt/parivaar-saathi/blob/main/src/App.jsx): `src/App.jsx`

### Other components

- **Family member**

## Connections

- React mount → Application shell: renders (evidence: `src/main.jsx`)
- Application shell → Local application state: holds (evidence: `src/App.jsx`)
- Care dashboard → Local application state: reads (evidence: `src/App.jsx`)
- Care tasks → Local application state: reads and updates (evidence: `src/App.jsx`)
- Reminders → Local application state: reads and updates (evidence: `src/App.jsx`)
- Appointments → Local application state: reads and updates (evidence: `src/App.jsx`)
- Document vault → Local application state: adds records (evidence: `src/App.jsx`)
- Family member → React mount: uses
- Application shell → Care dashboard: presents (evidence: `src/App.jsx`)
- Application shell → Care tasks: presents (evidence: `src/App.jsx`)
- Application shell → Reminders: presents (evidence: `src/App.jsx`)
- Application shell → Appointments: presents (evidence: `src/App.jsx`)
- Application shell → Document vault: presents (evidence: `src/App.jsx`)
- Application shell → Authentication UI: includes (evidence: `src/App.jsx`)
- Application shell → Care receiver profile: includes (evidence: `src/App.jsx`)
- Application shell → User settings: includes (evidence: `src/App.jsx`)
- Application shell → Medication management: intended to manage (evidence: `README.md`)
- Application shell → Family circle: intended to coordinate (evidence: `README.md`)
- Application shell → Adherence analytics: intended to report (evidence: `README.md`)
