# isadoraeler/nexamed architecture

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

- Interactive diagram: https://gitdiagram.com/isadoraeler/nexamed
- Repository: https://github.com/isadoraeler/nexamed

## Overview

NexaMed is an in-development medical appointment scheduling project. The README describes patient, doctor, and administrator accounts, authentication, appointment booking without time conflicts, cancellation rules, role-based access, and audit logging as MVP goals. The only backend source shown is the Spring Boot application entry point; no implementation of those workflows or integrations is present in the tree. Feature nodes therefore represent documented capabilities, not inspected code, and their relationships to the application are unverified.

Main entry points: [`backend/src/main/java/com/nexamed/api/ApiApplication.java`](https://github.com/isadoraeler/nexamed/blob/main/backend/src/main/java/com/nexamed/api/ApiApplication.java) (Spring Boot app), [`backend/src/main/java/com/nexamed/api`](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api) (Registration and login)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_patient(("Patient"))
node_doctor(("Doctor"))
node_admin(("Administrator"))
node_app["Spring Boot app"]
node_auth["Registration and login"]
node_appointments["Appointment scheduling"]
node_cancellation["Cancellation rules"]
node_access["Role-based access"]
node_audit["Audit logging"]

node_patient -.->|"uses"| node_app
node_doctor -.->|"uses"| node_app
node_admin -.->|"uses"| node_app
node_app -.->|"provides"| node_auth
node_app -.->|"provides"| node_appointments
node_app -.->|"provides"| node_cancellation
node_app -.->|"provides"| node_access
node_app -.->|"provides"| node_audit

click node_app "https://github.com/isadoraeler/nexamed/blob/main/backend/src/main/java/com/nexamed/api/ApiApplication.java"
click node_auth "https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api"
click node_appointments "https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api"
click node_cancellation "https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api"
click node_access "https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api"
click node_audit "https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api"

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_patient,node_doctor,node_admin toneIndigo
class node_app,node_auth,node_appointments,node_cancellation,node_access,node_audit toneTeal
```

## Components

### Other components

- **Patient**
- **Doctor**
- **Administrator**
- [Spring Boot app](https://github.com/isadoraeler/nexamed/blob/main/backend/src/main/java/com/nexamed/api/ApiApplication.java): `backend/src/main/java/com/nexamed/api/ApiApplication.java`
- [Registration and login](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api): `backend/src/main/java/com/nexamed/api`
- [Appointment scheduling](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api): `backend/src/main/java/com/nexamed/api`
- [Cancellation rules](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api): `backend/src/main/java/com/nexamed/api`
- [Role-based access](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api): `backend/src/main/java/com/nexamed/api`
- [Audit logging](https://github.com/isadoraeler/nexamed/tree/main/backend/src/main/java/com/nexamed/api): `backend/src/main/java/com/nexamed/api`

## Connections

- Patient → Spring Boot app: uses
- Doctor → Spring Boot app: uses
- Administrator → Spring Boot app: uses
- Spring Boot app → Registration and login: provides
- Spring Boot app → Appointment scheduling: provides
- Spring Boot app → Cancellation rules: provides
- Spring Boot app → Role-based access: provides
- Spring Boot app → Audit logging: provides
