# deo-haneesh/peddimed architecture

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

- Interactive diagram: https://gitdiagram.com/deo-haneesh/peddimed
- Repository: https://github.com/deo-haneesh/peddimed

## Overview

PEDDIMED is a rural-focused telemedicine frontend prototype. Patients enter through the home page, explore symptom education or record a video, and can browse doctors to book an appointment or start a simulated consultation. Account access is a separate interface flow. The README describes low-bandwidth recording and adaptive calls, but the sampled UI shows a local recorder and mock call behavior, not backend upload, AI diagnosis, or live telehealth services; unsampled booking details are represented only at the documented UI boundary.

Main entry points: [`src/App.jsx`](https://github.com/deo-haneesh/peddimed/blob/main/src/App.jsx) (Route shell), [`src/Pages/Home.jsx`](https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Home.jsx) (Home page), [`src/Pages/Doctors.jsx`](https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Doctors.jsx) (Doctor directory), [`src/Components/Specialties.jsx`](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/Specialties.jsx) (Symptom explorer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_app["Route shell<br/>[App.jsx]"]
  node_header["Navigation header<br/>[Header.jsx]"]
end

subgraph group_patient["Patient discovery"]
  node_home["Home page<br/>[Home.jsx]"]
  node_doctors["Doctor directory<br/>[Doctors.jsx]"]
  node_specialties["Symptom explorer<br/>[Specialties.jsx]"]
  node_symptom_data["Symptom catalog"]
  node_recorder["Symptom recorder<br/>[VideoRecorder.jsx]"]
end

subgraph group_consult["Consultation experience"]
  node_booking["Appointment booking<br/>[BookingModal.jsx]"]
  node_call_modal["Call setup<br/>[CallModal.jsx]"]
  node_call_interface["Call interface<br/>[CallInterface.jsx]"]
end

subgraph group_account["Patient account"]
  node_login["Login and signup<br/>[LoginModal.jsx]"]
end

node_patient_actor(("Patient"))

node_patient_actor -->|"opens app"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_doctors
node_app -->|"renders"| node_header
node_home -->|"renders"| node_header
node_home -->|"renders"| node_specialties
node_specialties -->|"reads catalog"| node_symptom_data
node_home -->|"opens recorder"| node_recorder
node_specialties -->|"navigates to"| node_doctors
node_doctors -->|"opens booking"| node_booking
node_doctors -->|"opens call"| node_call_modal
node_call_modal -->|"renders when connected"| node_call_interface
node_header -->|"opens login"| node_login

click node_app "https://github.com/deo-haneesh/peddimed/blob/main/src/App.jsx"
click node_home "https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Home.jsx"
click node_doctors "https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Doctors.jsx"
click node_header "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/Header.jsx"
click node_specialties "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/Specialties.jsx"
click node_symptom_data "https://github.com/deo-haneesh/peddimed/blob/main/src/Constants/SpecialtiesData.jsx"
click node_booking "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/BookingModal.jsx"
click node_call_modal "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/CallModal.jsx"
click node_call_interface "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/CallInterface.jsx"
click node_recorder "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/VideoRecorder.jsx"
click node_login "https://github.com/deo-haneesh/peddimed/blob/main/src/Components/LoginModal.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_app,node_header toneBlue
class node_home,node_doctors,node_specialties,node_symptom_data,node_recorder toneAmber
class node_booking,node_call_modal,node_call_interface toneMint
class node_login toneRose
class node_patient_actor toneIndigo
```

## Components

### App navigation

- [Route shell](https://github.com/deo-haneesh/peddimed/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation header](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/Header.jsx): `src/Components/Header.jsx`

### Patient discovery

- [Home page](https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Home.jsx): `src/Pages/Home.jsx`
- [Doctor directory](https://github.com/deo-haneesh/peddimed/blob/main/src/Pages/Doctors.jsx): `src/Pages/Doctors.jsx`
- [Symptom explorer](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/Specialties.jsx): `src/Components/Specialties.jsx`
- [Symptom catalog](https://github.com/deo-haneesh/peddimed/blob/main/src/Constants/SpecialtiesData.jsx): `src/Constants/SpecialtiesData.jsx`
- [Symptom recorder](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/VideoRecorder.jsx): `src/Components/VideoRecorder.jsx`

### Consultation experience

- [Appointment booking](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/BookingModal.jsx): `src/Components/BookingModal.jsx`
- [Call setup](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/CallModal.jsx): `src/Components/CallModal.jsx`
- [Call interface](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/CallInterface.jsx): `src/Components/CallInterface.jsx`

### Patient account

- [Login and signup](https://github.com/deo-haneesh/peddimed/blob/main/src/Components/LoginModal.jsx): `src/Components/LoginModal.jsx`

### Other components

- **Patient**

## Connections

- Patient → Route shell: opens app
- Route shell → Home page: routes to (evidence: `src/App.jsx`)
- Route shell → Doctor directory: routes to (evidence: `src/App.jsx`)
- Route shell → Navigation header: renders (evidence: `src/App.jsx`)
- Home page → Navigation header: renders (evidence: `src/Pages/Home.jsx`)
- Home page → Symptom explorer: renders (evidence: `src/Pages/Home.jsx`)
- Symptom explorer → Symptom catalog: reads catalog (evidence: `src/Components/Specialties.jsx`)
- Home page → Symptom recorder: opens recorder (evidence: `src/Pages/Home.jsx`)
- Symptom explorer → Doctor directory: navigates to (evidence: `src/Components/Specialties.jsx`)
- Doctor directory → Appointment booking: opens booking (evidence: `src/Pages/Doctors.jsx`)
- Doctor directory → Call setup: opens call (evidence: `src/Pages/Doctors.jsx`)
- Call setup → Call interface: renders when connected (evidence: `src/Components/CallModal.jsx`)
- Navigation header → Login and signup: opens login (evidence: `src/Components/Header.jsx`)
