# kauroah/dentistry_eve architecture

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

- Interactive diagram: https://gitdiagram.com/kauroah/dentistry_eve
- Repository: https://github.com/kauroah/dentistry_eve

## Overview

Eva Dent is a dental-clinic website for presenting services, clinicians, clinic information and patient reviews, with appointment and review interactions; the repository also contains a separate admin app and API routes. The principal visitor journey is homepage discovery → service details or clinician information → appointment form. The homepage composition, service links and review API request are evidenced in excerpts. Appointment submission handling and the admin routes’ behavior were not shown, so their connections are omitted rather than inferred.

Main entry points: [`app/page.tsx`](https://github.com/kauroah/dentistry_eve/blob/main/app/page.tsx) (Homepage), [`app/(pages)/otzyvy/reviews-client.tsx`](https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/otzyvy/reviews-client.tsx) (Reviews page), [`admin/app/AdminClient.tsx`](https://github.com/kauroah/dentistry_eve/blob/main/admin/app/AdminClient.tsx) (Admin dashboard), [`components/services-section.tsx`](https://github.com/kauroah/dentistry_eve/blob/main/components/services-section.tsx) (Service showcase)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Clinic website"]
  node_home["Homepage<br/>[page.tsx]"]
  node_site_shell["Site layout<br/>[layout.tsx]"]
  node_ui_primitives["Shared UI primitives"]
end

subgraph group_content["Clinic content"]
  node_service_catalog["Service showcase"]
  node_service_pages["Dental service pages"]
  node_pricing["Prices<br/>[page.tsx]"]
  node_doctor_showcase["Doctor showcase"]
  node_doctor_data["Doctor profiles data<br/>[doctors.ts]"]
  node_doctor_pages["Doctor profiles"]
  node_clinic_pages["Clinic information<br/>[page.tsx]"]
  node_contact_page["Contact page<br/>[page.tsx]"]
end

subgraph group_engagement["Patient engagement"]
  node_reviews_home["Homepage reviews"]
  node_reviews_page["Reviews page<br/>[reviews-client.tsx]"]
  node_review_form["Review form<br/>[review-form.tsx]"]
  node_appointment["Appointment form"]
  node_review_api["Reviews API<br/>[route.ts]"]
end

subgraph group_admin["Admin app"]
  node_admin_ui["Admin dashboard<br/>[AdminClient.tsx]"]
  node_booking_api["Bookings API<br/>[route.ts]"]
  node_review_admin_api["Admin review API<br/>[route.ts]"]
end

node_visitor(("Visitor"))
node_admin_user(("Admin user"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_service_catalog
node_home -->|"renders"| node_doctor_showcase
node_home -->|"renders"| node_reviews_home
node_home -->|"renders"| node_appointment
node_service_catalog -->|"links to"| node_service_pages
node_service_pages -->|"offers booking"| node_appointment
node_doctor_showcase -->|"reads"| node_doctor_data
node_doctor_pages -->|"uses profiles"| node_doctor_data
node_visitor -.->|"opens"| node_reviews_page
node_reviews_page -->|"renders"| node_review_form
node_reviews_page -->|"fetches reviews"| node_review_api
node_review_form -->|"submits to handler"| node_reviews_page
node_admin_user -.->|"uses"| node_admin_ui
node_admin_ui -.->|"API use unverified"| node_booking_api
node_admin_ui -.->|"API use unverified"| node_review_admin_api
node_home -->|"uses components"| node_ui_primitives
node_visitor -.->|"browses"| node_clinic_pages
node_visitor -.->|"browses"| node_contact_page
node_visitor -.->|"browses"| node_pricing

click node_home "https://github.com/kauroah/dentistry_eve/blob/main/app/page.tsx"
click node_site_shell "https://github.com/kauroah/dentistry_eve/blob/main/app/layout.tsx"
click node_service_catalog "https://github.com/kauroah/dentistry_eve/blob/main/components/services-section.tsx"
click node_service_pages "https://github.com/kauroah/dentistry_eve/tree/main/app/stomatologiya"
click node_pricing "https://github.com/kauroah/dentistry_eve/blob/main/app/stomatologiya/tseny/page.tsx"
click node_doctor_showcase "https://github.com/kauroah/dentistry_eve/blob/main/components/doctors-section.tsx"
click node_doctor_data "https://github.com/kauroah/dentistry_eve/blob/main/data/doctors.ts"
click node_doctor_pages "https://github.com/kauroah/dentistry_eve/tree/main/app/(pages)/doctors"
click node_clinic_pages "https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/o-klinike/page.tsx"
click node_contact_page "https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/kontakty/page.tsx"
click node_reviews_home "https://github.com/kauroah/dentistry_eve/blob/main/components/reviews-section.tsx"
click node_reviews_page "https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/otzyvy/reviews-client.tsx"
click node_review_form "https://github.com/kauroah/dentistry_eve/blob/main/components/review-form.tsx"
click node_appointment "https://github.com/kauroah/dentistry_eve/blob/main/components/appointment-modal.tsx"
click node_review_api "https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/review/route.ts"
click node_admin_ui "https://github.com/kauroah/dentistry_eve/blob/main/admin/app/AdminClient.tsx"
click node_booking_api "https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/bookings/route.ts"
click node_review_admin_api "https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/review/route.ts"
click node_ui_primitives "https://github.com/kauroah/dentistry_eve/tree/main/components/ui"

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_home,node_site_shell,node_ui_primitives,node_admin_user toneBlue
class node_service_catalog,node_service_pages,node_pricing,node_doctor_showcase,node_doctor_data,node_doctor_pages,node_clinic_pages,node_contact_page toneAmber
class node_reviews_home,node_reviews_page,node_review_form,node_appointment,node_review_api toneMint
class node_admin_ui,node_booking_api,node_review_admin_api toneRose
class node_visitor toneIndigo
```

## Components

### Clinic website

- [Homepage](https://github.com/kauroah/dentistry_eve/blob/main/app/page.tsx): `app/page.tsx`
- [Site layout](https://github.com/kauroah/dentistry_eve/blob/main/app/layout.tsx): `app/layout.tsx`
- [Shared UI primitives](https://github.com/kauroah/dentistry_eve/tree/main/components/ui): `components/ui`

### Clinic content

- [Service showcase](https://github.com/kauroah/dentistry_eve/blob/main/components/services-section.tsx): `components/services-section.tsx`
- [Dental service pages](https://github.com/kauroah/dentistry_eve/tree/main/app/stomatologiya): `app/stomatologiya`
- [Prices](https://github.com/kauroah/dentistry_eve/blob/main/app/stomatologiya/tseny/page.tsx): `app/stomatologiya/tseny/page.tsx`
- [Doctor showcase](https://github.com/kauroah/dentistry_eve/blob/main/components/doctors-section.tsx): `components/doctors-section.tsx`
- [Doctor profiles data](https://github.com/kauroah/dentistry_eve/blob/main/data/doctors.ts): `data/doctors.ts`
- [Doctor profiles](https://github.com/kauroah/dentistry_eve/tree/main/app/(pages)/doctors): `app/(pages)/doctors`
- [Clinic information](https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/o-klinike/page.tsx): `app/(pages)/o-klinike/page.tsx`
- [Contact page](https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/kontakty/page.tsx): `app/(pages)/kontakty/page.tsx`

### Patient engagement

- [Homepage reviews](https://github.com/kauroah/dentistry_eve/blob/main/components/reviews-section.tsx): `components/reviews-section.tsx`
- [Reviews page](https://github.com/kauroah/dentistry_eve/blob/main/app/(pages)/otzyvy/reviews-client.tsx): `app/(pages)/otzyvy/reviews-client.tsx`
- [Review form](https://github.com/kauroah/dentistry_eve/blob/main/components/review-form.tsx): `components/review-form.tsx`
- [Appointment form](https://github.com/kauroah/dentistry_eve/blob/main/components/appointment-modal.tsx): `components/appointment-modal.tsx`
- [Reviews API](https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/review/route.ts): `admin/app/api/review/route.ts`

### Admin app

- [Admin dashboard](https://github.com/kauroah/dentistry_eve/blob/main/admin/app/AdminClient.tsx): `admin/app/AdminClient.tsx`
- [Bookings API](https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/bookings/route.ts): `admin/app/api/bookings/route.ts`
- [Admin review API](https://github.com/kauroah/dentistry_eve/blob/main/admin/app/api/review/route.ts): `admin/app/api/review/route.ts`

### Other components

- **Visitor**
- **Admin user**

## Connections

- Visitor → Homepage: opens (evidence: `app/page.tsx`)
- Homepage → Service showcase: renders (evidence: `app/page.tsx`)
- Homepage → Doctor showcase: renders (evidence: `app/page.tsx`)
- Homepage → Homepage reviews: renders (evidence: `app/page.tsx`)
- Homepage → Appointment form: renders (evidence: `app/page.tsx`)
- Service showcase → Dental service pages: links to (evidence: `components/services-section.tsx`)
- Dental service pages → Appointment form: offers booking (evidence: `app/stomatologiya/lechenie-zubov/page.tsx`)
- Doctor showcase → Doctor profiles data: reads (evidence: `components/doctors-section.tsx`)
- Doctor profiles → Doctor profiles data: uses profiles
- Visitor → Reviews page: opens
- Reviews page → Review form: renders (evidence: `app/(pages)/otzyvy/reviews-client.tsx`)
- Reviews page → Reviews API: fetches reviews (evidence: `app/(pages)/otzyvy/reviews-client.tsx`)
- Review form → Reviews page: submits to handler (evidence: `app/(pages)/otzyvy/reviews-client.tsx`)
- Admin user → Admin dashboard: uses
- Admin dashboard → Bookings API: API use unverified
- Admin dashboard → Admin review API: API use unverified
- Homepage → Shared UI primitives: uses components (evidence: `app/page.tsx`)
- Visitor → Clinic information: browses
- Visitor → Contact page: browses
- Visitor → Prices: browses
