# senioron/senioron_be architecture

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

- Interactive diagram: https://gitdiagram.com/senioron/senioron_be
- Repository: https://github.com/senioron/senioron_be

## Overview

SeniorON is a Spring Boot backend for a senior-care service. Its visible API surface covers family coordination, daily care, safety events, device management, and account/support features. The principal workflow is an API client requesting one of these domain capabilities and receiving a response; the benchmark’s endpoint catalog supports those domain boundaries. Java implementation details and internal calls were not sampled, so this map shows API-facing subsystems without guessing their service, persistence, or integration relationships.

Main entry points: [`SeniorON/src/main/java/com/example/senioron/domain/event`](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/event) (Safety Events), [`SeniorON/src/main/java/com/example/senioron/domain/inactivity`](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/inactivity) (Inactivity Settings), [`SeniorON/src/main/java/com/example/senioron/domain/device`](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/device) (Device Management), [`SeniorON/src/main/java/com/example/senioron/domain/family`](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/family) (Family Members)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_safety["Safety &amp; Devices"]
  node_events["Safety Events"]
  node_inactivity["Inactivity Settings"]
  node_devices["Device Management"]
end

subgraph group_family["Family Coordination"]
  node_family["Family Members"]
  node_photos["Family Photos"]
end

subgraph group_care["Daily Care"]
  node_home["Senior Home"]
  node_hospital["Hospital Visits"]
  node_medication["Medication Tracking"]
  node_health["Health Data"]
end

subgraph group_support["Accounts &amp; Support"]
  node_notifications["Notifications"]
  node_inquiries["User Inquiries"]
  node_accounts["User Accounts"]
end

node_client(("API Client"))

node_client -->|"requests"| node_events
node_client -->|"requests"| node_inactivity
node_client -->|"requests"| node_devices
node_client -->|"requests"| node_family
node_client -->|"requests"| node_photos
node_client -->|"requests"| node_home
node_client -->|"requests"| node_hospital
node_client -->|"requests"| node_medication
node_client -->|"requests"| node_notifications
node_client -->|"requests"| node_inquiries
node_client -->|"requests"| node_accounts

click node_events "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/event"
click node_inactivity "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/inactivity"
click node_devices "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/device"
click node_family "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/family"
click node_photos "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/family"
click node_home "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/home"
click node_hospital "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/hospital"
click node_medication "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/medication"
click node_health "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/health"
click node_notifications "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/notification"
click node_inquiries "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/inquiry"
click node_accounts "https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/user"

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_events,node_inactivity,node_devices,node_client toneBlue
class node_family,node_photos toneAmber
class node_home,node_hospital,node_medication,node_health toneMint
class node_notifications,node_inquiries,node_accounts toneRose
```

## Components

### Safety & Devices

- [Safety Events](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/event): `SeniorON/src/main/java/com/example/senioron/domain/event`
- [Inactivity Settings](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/inactivity): `SeniorON/src/main/java/com/example/senioron/domain/inactivity`
- [Device Management](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/device): `SeniorON/src/main/java/com/example/senioron/domain/device`

### Family Coordination

- [Family Members](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/family): `SeniorON/src/main/java/com/example/senioron/domain/family`
- [Family Photos](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/family): `SeniorON/src/main/java/com/example/senioron/domain/family`

### Daily Care

- [Senior Home](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/home): `SeniorON/src/main/java/com/example/senioron/domain/home`
- [Hospital Visits](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/hospital): `SeniorON/src/main/java/com/example/senioron/domain/hospital`
- [Medication Tracking](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/medication): `SeniorON/src/main/java/com/example/senioron/domain/medication`
- [Health Data](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/health): `SeniorON/src/main/java/com/example/senioron/domain/health`

### Accounts & Support

- [Notifications](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/notification): `SeniorON/src/main/java/com/example/senioron/domain/notification`
- [User Inquiries](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/inquiry): `SeniorON/src/main/java/com/example/senioron/domain/inquiry`
- [User Accounts](https://github.com/senioron/senioron_be/tree/develop/SeniorON/src/main/java/com/example/senioron/domain/user): `SeniorON/src/main/java/com/example/senioron/domain/user`

### Other components

- **API Client**

## Connections

- API Client → Safety Events: requests
- API Client → Inactivity Settings: requests
- API Client → Device Management: requests
- API Client → Family Members: requests
- API Client → Family Photos: requests
- API Client → Senior Home: requests
- API Client → Hospital Visits: requests
- API Client → Medication Tracking: requests
- API Client → Notifications: requests
- API Client → User Inquiries: requests
- API Client → User Accounts: requests
