# f6pbp/eventyog architecture

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

- Interactive diagram: https://gitdiagram.com/f6pbp/eventyog
- Repository: https://github.com/f6pbp/eventyog

## Overview

EventYog is a Django web application for discovering Yogyakarta events, registering to attend, participating in reviews and discussions, and buying event merchandise. Its main user journey runs from account/profile setup to event discovery and registration, with community and commerce features alongside it; administrators manage events, merchandise, and users. The graph includes the sampled domain models and authentication helpers. Several product capabilities are documented in the README but their implementation excerpts were not provided, so those relationships are cited to the README rather than inferred from unsampled code.

Main entry points: [`modules/main/models.py`](https://github.com/f6pbp/eventyog/blob/main/modules/main/models.py) (Domain records), [`modules/authentication/views.py`](https://github.com/f6pbp/eventyog/blob/main/modules/authentication/views.py) (Web authentication), [`modules/yogevent/views.py`](https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/views.py) (Event discovery and booking), [`modules/yogforum/views.py`](https://github.com/f6pbp/eventyog/blob/main/modules/yogforum/views.py) (Forum and replies)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and access"]
  node_auth_views["Authentication API<br/>[auth_views.py]"]
  node_auth_web["Web authentication<br/>[views.py]"]
  node_profile_form["Profile form<br/>[forms.py]"]
  node_profile_guard["Profile access guard<br/>[decorators.py]"]
  node_models[("Domain records<br/>[models.py]")]
end

subgraph group_events["Event experience"]
  node_event_views["Event discovery and booking<br/>[views.py]"]
  node_event_form["Event form<br/>[forms.py]"]
  node_event_api["Event detail API"]
  node_registered_events["Scheduled events<br/>[views.py]"]
  node_reviews["Event reviews<br/>[views.py]"]
end

subgraph group_community["Community"]
  node_forum_views["Forum and replies<br/>[views.py]"]
  node_forum_form["Forum forms<br/>[forms.py]"]
  node_forum_api["Forum API<br/>[forum_views.py]"]
end

subgraph group_commerce["Commerce and administration"]
  node_merch_views["Merchandise catalog<br/>[views.py]"]
  node_cart_views["Merchandise cart<br/>[views.py]"]
  node_admin_views["User administration<br/>[views.py]"]
end

node_user(("Event attendee"))
node_admin(("Administrator"))

node_user -->|"registers or signs in"| node_auth_web
node_auth_web -->|"uses form"| node_profile_form
node_auth_web -->|"reads profile"| node_models
node_auth_views -->|"uses form"| node_profile_form
node_auth_views -->|"reads and creates"| node_models
node_auth_web -->|"guards profile"| node_profile_guard
node_profile_guard -->|"loads profile"| node_models
node_user -->|"explores events"| node_event_views
node_event_views -->|"uses form"| node_event_form
node_event_views -->|"queries and updates"| node_models
node_user -->|"manages registration"| node_registered_events
node_user -->|"reviews events"| node_reviews
node_event_api -->|"queries events"| node_models
node_user -->|"posts and replies"| node_forum_views
node_forum_views -->|"uses forms"| node_forum_form
node_forum_views -->|"queries forum records"| node_models
node_forum_api -.->|"forum data access"| node_models
node_user -->|"views merchandise"| node_merch_views
node_merch_views -->|"queries merchandise"| node_models
node_user -->|"manages cart"| node_cart_views
node_admin -->|"manages users"| node_admin_views
node_admin -->|"manages events"| node_event_views
node_admin -->|"manages catalog"| node_merch_views

click node_auth_views "https://github.com/f6pbp/eventyog/blob/main/modules/api/views/auth_views.py"
click node_auth_web "https://github.com/f6pbp/eventyog/blob/main/modules/authentication/views.py"
click node_profile_form "https://github.com/f6pbp/eventyog/blob/main/modules/authentication/forms.py"
click node_profile_guard "https://github.com/f6pbp/eventyog/blob/main/eventyog/decorators.py"
click node_models "https://github.com/f6pbp/eventyog/blob/main/modules/main/models.py"
click node_event_views "https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/views.py"
click node_event_form "https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/forms.py"
click node_event_api "https://github.com/f6pbp/eventyog/blob/main/modules/api/views/detail_event_views.py"
click node_registered_events "https://github.com/f6pbp/eventyog/blob/main/modules/registered_event/views.py"
click node_reviews "https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/views.py"
click node_forum_views "https://github.com/f6pbp/eventyog/blob/main/modules/yogforum/views.py"
click node_forum_form "https://github.com/f6pbp/eventyog/blob/main/modules/yogforum/forms.py"
click node_forum_api "https://github.com/f6pbp/eventyog/blob/main/modules/api/views/forum_views.py"
click node_merch_views "https://github.com/f6pbp/eventyog/blob/main/modules/merchandise/views.py"
click node_cart_views "https://github.com/f6pbp/eventyog/blob/main/modules/cart/views.py"
click node_admin_views "https://github.com/f6pbp/eventyog/blob/main/modules/admin_dashboard/views.py"

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_auth_views,node_auth_web,node_profile_form,node_profile_guard,node_models toneBlue
class node_event_views,node_event_form,node_event_api,node_registered_events,node_reviews toneAmber
class node_forum_views,node_forum_form,node_forum_api toneMint
class node_merch_views,node_cart_views,node_admin_views toneRose
class node_user,node_admin toneIndigo
```

## Components

### Identity and access

- [Authentication API](https://github.com/f6pbp/eventyog/blob/main/modules/api/views/auth_views.py): `modules/api/views/auth_views.py`
- [Web authentication](https://github.com/f6pbp/eventyog/blob/main/modules/authentication/views.py): `modules/authentication/views.py`
- [Profile form](https://github.com/f6pbp/eventyog/blob/main/modules/authentication/forms.py): `modules/authentication/forms.py`
- [Profile access guard](https://github.com/f6pbp/eventyog/blob/main/eventyog/decorators.py): `eventyog/decorators.py`
- [Domain records](https://github.com/f6pbp/eventyog/blob/main/modules/main/models.py): `modules/main/models.py`

### Event experience

- [Event discovery and booking](https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/views.py): `modules/yogevent/views.py`
- [Event form](https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/forms.py): `modules/yogevent/forms.py`
- [Event detail API](https://github.com/f6pbp/eventyog/blob/main/modules/api/views/detail_event_views.py): `modules/api/views/detail_event_views.py`
- [Scheduled events](https://github.com/f6pbp/eventyog/blob/main/modules/registered_event/views.py): `modules/registered_event/views.py`
- [Event reviews](https://github.com/f6pbp/eventyog/blob/main/modules/yogevent/views.py): `modules/yogevent/views.py`

### Community

- [Forum and replies](https://github.com/f6pbp/eventyog/blob/main/modules/yogforum/views.py): `modules/yogforum/views.py`
- [Forum forms](https://github.com/f6pbp/eventyog/blob/main/modules/yogforum/forms.py): `modules/yogforum/forms.py`
- [Forum API](https://github.com/f6pbp/eventyog/blob/main/modules/api/views/forum_views.py): `modules/api/views/forum_views.py`

### Commerce and administration

- [Merchandise catalog](https://github.com/f6pbp/eventyog/blob/main/modules/merchandise/views.py): `modules/merchandise/views.py`
- [Merchandise cart](https://github.com/f6pbp/eventyog/blob/main/modules/cart/views.py): `modules/cart/views.py`
- [User administration](https://github.com/f6pbp/eventyog/blob/main/modules/admin_dashboard/views.py): `modules/admin_dashboard/views.py`

### Other components

- **Event attendee**
- **Administrator**

## Connections

- Event attendee → Web authentication: registers or signs in
- Web authentication → Profile form: uses form (evidence: `modules/authentication/views.py`)
- Web authentication → Domain records: reads profile (evidence: `modules/authentication/views.py`)
- Authentication API → Profile form: uses form (evidence: `modules/api/views/auth_views.py`)
- Authentication API → Domain records: reads and creates (evidence: `modules/api/views/auth_views.py`)
- Web authentication → Profile access guard: guards profile (evidence: `modules/authentication/views.py`)
- Profile access guard → Domain records: loads profile (evidence: `eventyog/decorators.py`)
- Event attendee → Event discovery and booking: explores events
- Event discovery and booking → Event form: uses form (evidence: `modules/yogevent/views.py`)
- Event discovery and booking → Domain records: queries and updates (evidence: `modules/yogevent/views.py`)
- Event attendee → Scheduled events: manages registration
- Event attendee → Event reviews: reviews events
- Event detail API → Domain records: queries events (evidence: `modules/api/views/detail_event_views.py`)
- Event attendee → Forum and replies: posts and replies
- Forum and replies → Forum forms: uses forms (evidence: `modules/yogforum/views.py`)
- Forum and replies → Domain records: queries forum records (evidence: `modules/yogforum/views.py`)
- Forum API → Domain records: forum data access
- Event attendee → Merchandise catalog: views merchandise
- Merchandise catalog → Domain records: queries merchandise (evidence: `modules/merchandise/views.py`)
- Event attendee → Merchandise cart: manages cart
- Administrator → User administration: manages users
- Administrator → Event discovery and booking: manages events
- Administrator → Merchandise catalog: manages catalog
