# donapieppo/seminaria architecture

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

- Interactive diagram: https://gitdiagram.com/donapieppo/seminaria
- Repository: https://github.com/donapieppo/seminaria

## Overview

Seminaria is a Rails application for organizing university seminars and processing speaker repayments. The main user workflow is to browse or manage an organization’s seminar schedule, then submit and administer a repayment request, including fund selection and notifications. The README also describes authentication and schedule aggregation; routes expose related catalogues, documents, speaker-facing repayment pages, and Zoom-related code. Edges are limited to README statements and visible routes or calls; unsampled subsystem links are omitted where their wiring is not shown.

Main entry points: [`config/routes.rb`](https://github.com/donapieppo/seminaria/blob/master/config/routes.rb) (HTTP routes), [`app/javascript/controllers/index.js`](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/index.js) (Stimulus registry), [`app/controllers/repayments_controller.rb`](https://github.com/donapieppo/seminaria/blob/master/app/controllers/repayments_controller.rb) (Repayment requests), [`app/controllers/seminars_controller.rb`](https://github.com/donapieppo/seminaria/blob/master/app/controllers/seminars_controller.rb) (Seminar schedule)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_schedule["Seminar scheduling"]
  node_seminars["Seminar schedule"]
  node_seminar_records[("Seminar records<br/>[seminar.rb]")]
  node_catalogues["Schedule catalogues"]
  node_conferences["Conference views"]
  node_cycles["Seminar cycles"]
  node_zoom["Zoom integration<br/>[zoom_controller.rb]"]
end

subgraph group_repayments["Repayment administration"]
  node_repayment_flow["Repayment requests"]
  node_repayment_records[("Repayment records<br/>[repayment.rb]")]
  node_funds["Fund management"]
  node_speaker_requests["Speaker requests"]
  node_repayment_mail["Repayment notifications"]
  node_documents["Documents and CVs"]
end

subgraph group_identity["Identity and access"]
  node_authorization["Authorization rules<br/>[authorization.rb]"]
  node_user_records[("User accounts<br/>[user.rb]")]
  node_omniauth["OmniAuth provider"]
end

subgraph group_interface["User interface"]
  node_stimulus_registry["Stimulus registry<br/>[index.js]"]
  node_payment_ui["Payment calculator"]
  node_fund_ui["Fund selector UI<br/>[fund_controller.js]"]
  node_speaker_ui["Speaker form UI"]
  node_where_ui["Location form UI"]
end

subgraph group_platform["Application platform"]
  node_boot["Rails boot<br/>[boot.rb]"]
  node_routes["HTTP routes<br/>[routes.rb]"]
  node_app_entry["JavaScript entry<br/>[application.js]"]
end

node_visitor(("Seminar users"))

node_visitor -->|"browses schedule"| node_seminars
node_visitor -->|"requests repayment"| node_repayment_flow
node_routes -->|"routes requests"| node_seminars
node_routes -->|"routes requests"| node_repayment_flow
node_routes -->|"routes requests"| node_catalogues
node_routes -->|"routes requests"| node_conferences
node_routes -->|"routes requests"| node_cycles
node_routes -->|"routes requests"| node_speaker_requests
node_repayment_flow -->|"reads and saves"| node_repayment_records
node_repayment_flow -->|"sends notifications"| node_repayment_mail
node_repayment_flow -->|"finds selected fund"| node_funds
node_app_entry -->|"loads controllers"| node_stimulus_registry
node_stimulus_registry -->|"registers controller"| node_payment_ui
node_stimulus_registry -->|"registers controller"| node_fund_ui
node_stimulus_registry -->|"registers controller"| node_speaker_ui
node_stimulus_registry -->|"registers controller"| node_where_ui
node_visitor -->|"authenticates with"| node_omniauth
node_seminars -.->|"uses seminar data"| node_seminar_records
node_seminars -.->|"checks access"| node_authorization
node_zoom -.->|"offers meeting access"| node_visitor

click node_seminars "https://github.com/donapieppo/seminaria/blob/master/app/controllers/seminars_controller.rb"
click node_seminar_records "https://github.com/donapieppo/seminaria/blob/master/app/models/seminar.rb"
click node_catalogues "https://github.com/donapieppo/seminaria/blob/master/app/controllers/places_controller.rb"
click node_conferences "https://github.com/donapieppo/seminaria/blob/master/app/controllers/conferences_controller.rb"
click node_cycles "https://github.com/donapieppo/seminaria/blob/master/app/controllers/cycles_controller.rb"
click node_repayment_flow "https://github.com/donapieppo/seminaria/blob/master/app/controllers/repayments_controller.rb"
click node_repayment_records "https://github.com/donapieppo/seminaria/blob/master/app/models/repayment.rb"
click node_funds "https://github.com/donapieppo/seminaria/blob/master/app/controllers/funds_controller.rb"
click node_speaker_requests "https://github.com/donapieppo/seminaria/blob/master/app/controllers/speaker/repayments_controller.rb"
click node_repayment_mail "https://github.com/donapieppo/seminaria/blob/master/app/mailers/repayment_mailer.rb"
click node_documents "https://github.com/donapieppo/seminaria/blob/master/app/controllers/documents_controller.rb"
click node_authorization "https://github.com/donapieppo/seminaria/blob/master/app/models/authorization.rb"
click node_user_records "https://github.com/donapieppo/seminaria/blob/master/app/models/user.rb"
click node_stimulus_registry "https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/index.js"
click node_payment_ui "https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/payment_controller.js"
click node_fund_ui "https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/fund_controller.js"
click node_speaker_ui "https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/speaker_controller.js"
click node_where_ui "https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/where_controller.js"
click node_boot "https://github.com/donapieppo/seminaria/blob/master/config/boot.rb"
click node_routes "https://github.com/donapieppo/seminaria/blob/master/config/routes.rb"
click node_app_entry "https://github.com/donapieppo/seminaria/blob/master/app/javascript/application.js"
click node_zoom "https://github.com/donapieppo/seminaria/blob/master/app/controllers/zoom_controller.rb"

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_seminars,node_seminar_records,node_catalogues,node_conferences,node_cycles,node_zoom,node_visitor toneBlue
class node_repayment_flow,node_repayment_records,node_funds,node_speaker_requests,node_repayment_mail,node_documents toneAmber
class node_authorization,node_user_records,node_omniauth toneMint
class node_stimulus_registry,node_payment_ui,node_fund_ui,node_speaker_ui,node_where_ui toneRose
class node_boot,node_routes,node_app_entry toneIndigo
```

## Components

### Seminar scheduling

- [Seminar schedule](https://github.com/donapieppo/seminaria/blob/master/app/controllers/seminars_controller.rb): `app/controllers/seminars_controller.rb`
- [Seminar records](https://github.com/donapieppo/seminaria/blob/master/app/models/seminar.rb): `app/models/seminar.rb`
- [Schedule catalogues](https://github.com/donapieppo/seminaria/blob/master/app/controllers/places_controller.rb): `app/controllers/places_controller.rb`
- [Conference views](https://github.com/donapieppo/seminaria/blob/master/app/controllers/conferences_controller.rb): `app/controllers/conferences_controller.rb`
- [Seminar cycles](https://github.com/donapieppo/seminaria/blob/master/app/controllers/cycles_controller.rb): `app/controllers/cycles_controller.rb`
- [Zoom integration](https://github.com/donapieppo/seminaria/blob/master/app/controllers/zoom_controller.rb): `app/controllers/zoom_controller.rb`

### Repayment administration

- [Repayment requests](https://github.com/donapieppo/seminaria/blob/master/app/controllers/repayments_controller.rb): `app/controllers/repayments_controller.rb`
- [Repayment records](https://github.com/donapieppo/seminaria/blob/master/app/models/repayment.rb): `app/models/repayment.rb`
- [Fund management](https://github.com/donapieppo/seminaria/blob/master/app/controllers/funds_controller.rb): `app/controllers/funds_controller.rb`
- [Speaker requests](https://github.com/donapieppo/seminaria/blob/master/app/controllers/speaker/repayments_controller.rb): `app/controllers/speaker/repayments_controller.rb`
- [Repayment notifications](https://github.com/donapieppo/seminaria/blob/master/app/mailers/repayment_mailer.rb): `app/mailers/repayment_mailer.rb`
- [Documents and CVs](https://github.com/donapieppo/seminaria/blob/master/app/controllers/documents_controller.rb): `app/controllers/documents_controller.rb`

### Identity and access

- [Authorization rules](https://github.com/donapieppo/seminaria/blob/master/app/models/authorization.rb): `app/models/authorization.rb`
- [User accounts](https://github.com/donapieppo/seminaria/blob/master/app/models/user.rb): `app/models/user.rb`
- **OmniAuth provider**

### User interface

- [Stimulus registry](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/index.js): `app/javascript/controllers/index.js`
- [Payment calculator](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/payment_controller.js): `app/javascript/controllers/payment_controller.js`
- [Fund selector UI](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/fund_controller.js): `app/javascript/controllers/fund_controller.js`
- [Speaker form UI](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/speaker_controller.js): `app/javascript/controllers/speaker_controller.js`
- [Location form UI](https://github.com/donapieppo/seminaria/blob/master/app/javascript/controllers/where_controller.js): `app/javascript/controllers/where_controller.js`

### Application platform

- [Rails boot](https://github.com/donapieppo/seminaria/blob/master/config/boot.rb): `config/boot.rb`
- [HTTP routes](https://github.com/donapieppo/seminaria/blob/master/config/routes.rb): `config/routes.rb`
- [JavaScript entry](https://github.com/donapieppo/seminaria/blob/master/app/javascript/application.js): `app/javascript/application.js`

### Other components

- **Seminar users**

## Connections

- Seminar users → Seminar schedule: browses schedule
- Seminar users → Repayment requests: requests repayment
- HTTP routes → Seminar schedule: routes requests (evidence: `config/routes.rb`)
- HTTP routes → Repayment requests: routes requests (evidence: `config/routes.rb`)
- HTTP routes → Schedule catalogues: routes requests (evidence: `config/routes.rb`)
- HTTP routes → Conference views: routes requests (evidence: `config/routes.rb`)
- HTTP routes → Seminar cycles: routes requests (evidence: `config/routes.rb`)
- HTTP routes → Speaker requests: routes requests (evidence: `config/routes.rb`)
- Repayment requests → Repayment records: reads and saves (evidence: `app/controllers/repayments_controller.rb`)
- Repayment requests → Repayment notifications: sends notifications (evidence: `app/controllers/repayments_controller.rb`)
- Repayment requests → Fund management: finds selected fund (evidence: `app/controllers/repayments_controller.rb`)
- JavaScript entry → Stimulus registry: loads controllers (evidence: `app/javascript/application.js`)
- Stimulus registry → Payment calculator: registers controller (evidence: `app/javascript/controllers/index.js`)
- Stimulus registry → Fund selector UI: registers controller (evidence: `app/javascript/controllers/index.js`)
- Stimulus registry → Speaker form UI: registers controller (evidence: `app/javascript/controllers/index.js`)
- Stimulus registry → Location form UI: registers controller (evidence: `app/javascript/controllers/index.js`)
- Seminar users → OmniAuth provider: authenticates with
- Seminar schedule → Seminar records: uses seminar data
- Seminar schedule → Authorization rules: checks access
- Zoom integration → Seminar users: offers meeting access
