# zacwave/webregister architecture

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

- Interactive diagram: https://gitdiagram.com/zacwave/webregister
- Repository: https://github.com/zacwave/webregister

## Overview

This is a small Flask-backed registration website. A user submits registration information, which the backend hashes and stores; an administrator can access a table of registered data. The README documents SQL Server as the intended database and a MySQL connection as an alternative. The archive is the only source artifact listed, so implementation paths and internal call details cannot be verified; relationships below reflect README statements only.

Main entry points: [`webRegister.zip`](https://github.com/zacwave/webregister/blob/main/webRegister.zip) (Flask backend)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website"]
  node_registration_form["Registration form<br/>[webRegister.zip]"]
  node_admin_table["Admin data table<br/>[webRegister.zip]"]
end

subgraph group_backend["Backend"]
  node_flask["Flask backend<br/>[webRegister.zip]"]
  node_hashing["Password hashing<br/>[webRegister.zip]"]
end

subgraph group_data["Data"]
  node_persons[("Persons table<br/>[webRegister.zip]")]
  node_admin_table_data[("Admin table<br/>[webRegister.zip]")]
  node_sql_server[("SQL Server")]
  node_mysql[("MySQL alternative")]
end

node_registrant(("Registrant"))
node_admin(("Administrator"))

node_registrant -->|"enters details"| node_registration_form
node_registration_form -->|"submits registration"| node_flask
node_flask -->|"hashes data"| node_hashing
node_flask -->|"stores registrations"| node_persons
node_admin -->|"accesses admin"| node_flask
node_flask -->|"provides registered data"| node_admin_table
node_admin_table -->|"displays data"| node_admin_table_data
node_flask -->|"uses database"| node_sql_server
node_flask -.->|"can use instead"| node_mysql

click node_registration_form "https://github.com/zacwave/webregister/blob/main/webRegister.zip"
click node_admin_table "https://github.com/zacwave/webregister/blob/main/webRegister.zip"
click node_flask "https://github.com/zacwave/webregister/blob/main/webRegister.zip"
click node_hashing "https://github.com/zacwave/webregister/blob/main/webRegister.zip"
click node_persons "https://github.com/zacwave/webregister/blob/main/webRegister.zip"
click node_admin_table_data "https://github.com/zacwave/webregister/blob/main/webRegister.zip"

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_registration_form,node_admin_table toneBlue
class node_flask,node_hashing toneAmber
class node_persons,node_admin_table_data,node_sql_server,node_mysql toneMint
class node_registrant,node_admin toneIndigo
```

## Components

### Website

- [Registration form](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`
- [Admin data table](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`

### Backend

- [Flask backend](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`
- [Password hashing](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`

### Data

- [Persons table](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`
- [Admin table](https://github.com/zacwave/webregister/blob/main/webRegister.zip): `webRegister.zip`
- **SQL Server**
- **MySQL alternative**

### Other components

- **Registrant**
- **Administrator**

## Connections

- Registrant → Registration form: enters details (evidence: `README.md`)
- Registration form → Flask backend: submits registration (evidence: `README.md`)
- Flask backend → Password hashing: hashes data (evidence: `README.md`)
- Flask backend → Persons table: stores registrations (evidence: `README.md`)
- Administrator → Flask backend: accesses admin (evidence: `README.md`)
- Flask backend → Admin data table: provides registered data (evidence: `README.md`)
- Admin data table → Admin table: displays data (evidence: `README.md`)
- Flask backend → SQL Server: uses database (evidence: `README.md`)
- Flask backend → MySQL alternative: can use instead (evidence: `README.md`)
