# wisam2007/wiss architecture

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

- Interactive diagram: https://gitdiagram.com/wisam2007/wiss
- Repository: https://github.com/wisam2007/wiss

## Overview

This is a browser-based alumni/community site: visitors browse member profiles and a gallery, while members register, authenticate, and manage profile details. The sampled scripts show Supabase-backed profiles, reactions, and media, plus shared presentation features. Major pages are identifiable from the tree, but their markup and script wiring are not shown; unsampled relationships are therefore omitted rather than inferred.

Main entry points: [`log_in_control.js`](https://github.com/wisam2007/wiss/blob/main/log_in_control.js) (Signup wizard), [`core.js`](https://github.com/wisam2007/wiss/blob/main/core.js) (Shared site logic), [`edit_profile_control.js`](https://github.com/wisam2007/wiss/blob/main/edit_profile_control.js) (Profile editor), [`global_map.html`](https://github.com/wisam2007/wiss/blob/main/global_map.html) (Member map)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_account["Accounts &amp; Profiles"]
  node_signup["Signup wizard<br/>[log_in_control.js]"]
  node_loginpage["Login page<br/>[log_in.html]"]
  node_editor["Profile editor"]
  node_editpage["Edit profile page<br/>[edit_profile.html]"]
end

subgraph group_community["Community Browsing"]
  node_sitecore["Shared site logic<br/>[core.js]"]
  node_gallery["Gallery page<br/>[gallery.html]"]
  node_map["Member map<br/>[global_map.html]"]
  node_mainpage["Community home<br/>[main.html]"]
end

subgraph group_presentation["Site Experience"]
  node_splash["Animated intro<br/>[logo.js]"]
  node_ui["Shared UI enhancements<br/>[enhancements.js]"]
end

subgraph group_external["External Services"]
  node_supabase[("Supabase backend")]
  node_storage[("Supabase media storage")]
  node_youtube["YouTube oEmbed"]
  node_osm["OpenStreetMap tiles"]
end

node_visitor(("Visitor / member"))

node_visitor -->|"creates account"| node_signup
node_signup -->|"uploads and saves"| node_supabase
node_signup -->|"uploads media"| node_storage
node_signup -->|"checks video links"| node_youtube
node_visitor -->|"edits profile"| node_editor
node_editor -->|"updates profile"| node_supabase
node_editor -->|"uploads images"| node_storage
node_visitor -->|"browses profiles"| node_sitecore
node_sitecore -->|"reads and updates"| node_supabase
node_sitecore -->|"resolves media"| node_storage
node_map -->|"loads map tiles"| node_osm
node_mainpage -->|"shows intro"| node_splash
node_splash -->|"reveals site"| node_mainpage
node_ui -.->|"invokes settings"| node_sitecore
node_visitor -.->|"views gallery"| node_gallery
node_visitor -.->|"explores members"| node_map
node_visitor -.->|"opens login"| node_loginpage
node_visitor -.->|"opens editor"| node_editpage

click node_signup "https://github.com/wisam2007/wiss/blob/main/log_in_control.js"
click node_loginpage "https://github.com/wisam2007/wiss/blob/main/log_in.html"
click node_editor "https://github.com/wisam2007/wiss/blob/main/edit_profile_control.js"
click node_editpage "https://github.com/wisam2007/wiss/blob/main/edit_profile.html"
click node_sitecore "https://github.com/wisam2007/wiss/blob/main/core.js"
click node_gallery "https://github.com/wisam2007/wiss/blob/main/gallery.html"
click node_map "https://github.com/wisam2007/wiss/blob/main/global_map.html"
click node_mainpage "https://github.com/wisam2007/wiss/blob/main/main.html"
click node_splash "https://github.com/wisam2007/wiss/blob/main/logo.js"
click node_ui "https://github.com/wisam2007/wiss/blob/main/enhancements.js"

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_signup,node_loginpage,node_editor,node_editpage toneBlue
class node_sitecore,node_gallery,node_map,node_mainpage toneAmber
class node_splash,node_ui toneMint
class node_supabase,node_storage,node_youtube,node_osm toneRose
class node_visitor toneIndigo
```

## Components

### Accounts & Profiles

- [Signup wizard](https://github.com/wisam2007/wiss/blob/main/log_in_control.js): `log_in_control.js`
- [Login page](https://github.com/wisam2007/wiss/blob/main/log_in.html): `log_in.html`
- [Profile editor](https://github.com/wisam2007/wiss/blob/main/edit_profile_control.js): `edit_profile_control.js`
- [Edit profile page](https://github.com/wisam2007/wiss/blob/main/edit_profile.html): `edit_profile.html`

### Community Browsing

- [Shared site logic](https://github.com/wisam2007/wiss/blob/main/core.js): `core.js`
- [Gallery page](https://github.com/wisam2007/wiss/blob/main/gallery.html): `gallery.html`
- [Member map](https://github.com/wisam2007/wiss/blob/main/global_map.html): `global_map.html`
- [Community home](https://github.com/wisam2007/wiss/blob/main/main.html): `main.html`

### Site Experience

- [Animated intro](https://github.com/wisam2007/wiss/blob/main/logo.js): `logo.js`
- [Shared UI enhancements](https://github.com/wisam2007/wiss/blob/main/enhancements.js): `enhancements.js`

### External Services

- **Supabase backend**
- **Supabase media storage**
- **YouTube oEmbed**
- **OpenStreetMap tiles**

### Other components

- **Visitor / member**

## Connections

- Visitor / member → Signup wizard: creates account (evidence: `log_in_control.js`)
- Signup wizard → Supabase backend: uploads and saves (evidence: `log_in_control.js`)
- Signup wizard → Supabase media storage: uploads media (evidence: `log_in_control.js`)
- Signup wizard → YouTube oEmbed: checks video links (evidence: `log_in_control.js`)
- Visitor / member → Profile editor: edits profile (evidence: `edit_profile_control.js`)
- Profile editor → Supabase backend: updates profile (evidence: `edit_profile_control.js`)
- Profile editor → Supabase media storage: uploads images (evidence: `edit_profile_control.js`)
- Visitor / member → Shared site logic: browses profiles (evidence: `core.js`)
- Shared site logic → Supabase backend: reads and updates (evidence: `core.js`)
- Shared site logic → Supabase media storage: resolves media (evidence: `core.js`)
- Member map → OpenStreetMap tiles: loads map tiles
- Community home → Animated intro: shows intro (evidence: `logo.js`)
- Animated intro → Community home: reveals site (evidence: `logo.js`)
- Shared UI enhancements → Shared site logic: invokes settings
- Visitor / member → Gallery page: views gallery
- Visitor / member → Member map: explores members
- Visitor / member → Login page: opens login
- Visitor / member → Edit profile page: opens editor
