# dimizorgon/olympus architecture

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

- Interactive diagram: https://gitdiagram.com/dimizorgon/olympus
- Repository: https://github.com/dimizorgon/olympus

## Overview

This repository is a minimal Next.js starter, not a demonstrated domain product: its home page still presents the Create Next App welcome screen. The visible workflow is a visitor requesting the home route, which Next.js renders inside the shared layout. Separate Supabase browser, server, and request-middleware client factories are present, but no page or middleware entry point uses them in the sampled source, so their runtime connections are not shown.

Main entry points: [`src/app/page.tsx`](https://github.com/dimizorgon/olympus/blob/master/src/app/page.tsx) (Home Page), [`src/app/layout.tsx`](https://github.com/dimizorgon/olympus/blob/master/src/app/layout.tsx) (Root Layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App Rendering"]
  node_home["Home Page<br/>[page.tsx]"]
  node_layout["Root Layout<br/>[layout.tsx]"]
end

subgraph group_supabase["Supabase Adapters"]
  node_browser_client["Browser Client<br/>[client.ts]"]
  node_server_client["Server Client<br/>[server.ts]"]
  node_middleware_client["Middleware Client<br/>[middleware.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests route"| node_home
node_layout -->|"renders children"| node_home

click node_home "https://github.com/dimizorgon/olympus/blob/master/src/app/page.tsx"
click node_layout "https://github.com/dimizorgon/olympus/blob/master/src/app/layout.tsx"
click node_browser_client "https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/client.ts"
click node_server_client "https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/server.ts"
click node_middleware_client "https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/middleware.ts"

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_layout toneBlue
class node_browser_client,node_server_client,node_middleware_client toneAmber
class node_visitor toneIndigo
```

## Components

### App Rendering

- [Home Page](https://github.com/dimizorgon/olympus/blob/master/src/app/page.tsx): `src/app/page.tsx`
- [Root Layout](https://github.com/dimizorgon/olympus/blob/master/src/app/layout.tsx): `src/app/layout.tsx`

### Supabase Adapters

- [Browser Client](https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/client.ts): `src/utils/supabase/client.ts`
- [Server Client](https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/server.ts): `src/utils/supabase/server.ts`
- [Middleware Client](https://github.com/dimizorgon/olympus/blob/master/src/utils/supabase/middleware.ts): `src/utils/supabase/middleware.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home Page: requests route (evidence: `README.md`)
- Root Layout → Home Page: renders children (evidence: `src/app/layout.tsx`)
