# zarjiss/evento-an-event-management-system- architecture

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

- Interactive diagram: https://gitdiagram.com/zarjiss/evento-an-event-management-system-
- Repository: https://github.com/zarjiss/evento-an-event-management-system-

## Overview

Evento is a university event-management platform for discovering campus events, booking or RSVPing, and managing events through organizer and admin portals. Its primary flow runs from public discovery through event details and booking to a student’s profile and printable ticket. Organizers submit events for approval; administrators moderate listings and manage organizers and payment reports. The README documents payment methods and major capabilities; source excerpts confirm selected database and portal behavior, but not every route or integration.

Main entry points: [`index.php`](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/index.php) (Home and Clubs), [`book_event.php`](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/book_event.php) (Booking and Checkout), [`organizer/login.php`](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/login.php) (Organizer Accounts), [`organizer/add_event.php`](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/add_event.php) (Event Authoring)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public Discovery"]
  node_home["Home and Clubs<br/>[index.php]"]
  node_event_search["Event Search<br/>[events.php]"]
  node_event_details["Event Details<br/>[event_details.php]"]
  node_club_page["Club Pages<br/>[club.php]"]
  node_newsletter["Newsletter Signup<br/>[api_newsletter.php]"]
end

subgraph group_attendee["Student Accounts"]
  node_student_auth["Student Accounts<br/>[login.php]"]
  node_registration["Booking and Checkout<br/>[book_event.php]"]
  node_profile["Student Profile<br/>[user_profile.php]"]
  node_ticket["Invoice and Ticket<br/>[invoice.php]"]
  node_recovery["Password Recovery"]
  node_otp["OTP Verification<br/>[verify_otp.php]"]
end

subgraph group_operations["Event Operations"]
  node_organizer_auth["Organizer Accounts<br/>[login.php]"]
  node_event_authoring["Event Authoring<br/>[add_event.php]"]
  node_organizer_tools["Organizer Management"]
  node_admin_auth["Admin Accounts<br/>[login.php]"]
  node_moderation["Event Moderation<br/>[manage_events.php]"]
  node_admin_tools["Admin Management"]
end

subgraph group_shared["Shared Runtime"]
  node_public_shell["Public Navigation<br/>[navbar.php]"]
  node_public_footer["Public Footer<br/>[footer.php]"]
  node_portal_layouts["Portal Layouts"]
  node_helpers["Security and Helpers<br/>[helpers.php]"]
end

subgraph group_data["Persistence"]
  node_database[("Evento Database<br/>[evento.sql]")]
end

node_visitor(("Visitor"))
node_payment_service{{"Payment Methods"}}

node_visitor -->|"browses"| node_home
node_home -->|"searches"| node_event_search
node_home -->|"opens events"| node_event_details
node_event_search -->|"opens results"| node_event_details
node_visitor -->|"explores clubs"| node_club_page
node_visitor -->|"subscribes"| node_newsletter
node_event_details -->|"books event"| node_registration
node_registration -.->|"verifies payment"| node_payment_service
node_registration -->|"records ticket"| node_profile
node_profile -->|"opens invoice"| node_ticket
node_visitor -->|"signs in"| node_student_auth
node_student_auth -->|"accesses"| node_profile
node_visitor -->|"requests recovery"| node_recovery
node_recovery -->|"verifies code"| node_otp
node_visitor -->|"opens portal"| node_organizer_auth
node_organizer_auth -->|"creates events"| node_event_authoring
node_event_authoring -->|"inserts pending event"| node_database
node_visitor -->|"opens portal"| node_admin_auth
node_admin_auth -->|"manages events"| node_moderation
node_moderation -->|"updates events"| node_database
node_organizer_auth -->|"manages events"| node_organizer_tools
node_admin_auth -->|"manages platform"| node_admin_tools
node_home -->|"uses helpers"| node_helpers
node_helpers -->|"connects"| node_database
node_home -->|"renders navigation"| node_public_shell
node_home -->|"renders footer"| node_public_footer
node_event_authoring -->|"renders layout"| node_portal_layouts

click node_home "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/index.php"
click node_event_search "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/events.php"
click node_event_details "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/event_details.php"
click node_club_page "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/club.php"
click node_newsletter "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/api_newsletter.php"
click node_student_auth "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/login.php"
click node_registration "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/book_event.php"
click node_profile "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/user_profile.php"
click node_ticket "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/invoice.php"
click node_recovery "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/forgot_password.php"
click node_otp "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/verify_otp.php"
click node_organizer_auth "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/login.php"
click node_event_authoring "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/add_event.php"
click node_organizer_tools "https://github.com/zarjiss/evento-an-event-management-system-/tree/main/organizer"
click node_admin_auth "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/admin/login.php"
click node_moderation "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/admin/manage_events.php"
click node_admin_tools "https://github.com/zarjiss/evento-an-event-management-system-/tree/main/admin"
click node_public_shell "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/includes/navbar.php"
click node_public_footer "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/includes/footer.php"
click node_portal_layouts "https://github.com/zarjiss/evento-an-event-management-system-/tree/main/organizer"
click node_helpers "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/config/helpers.php"
click node_database "https://github.com/zarjiss/evento-an-event-management-system-/blob/main/database/evento.sql"

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_event_search,node_event_details,node_club_page,node_newsletter toneBlue
class node_student_auth,node_registration,node_profile,node_ticket,node_recovery,node_otp toneAmber
class node_organizer_auth,node_event_authoring,node_organizer_tools,node_admin_auth,node_moderation,node_admin_tools toneMint
class node_public_shell,node_public_footer,node_portal_layouts,node_helpers toneRose
class node_database,node_visitor,node_payment_service toneIndigo
```

## Components

### Public Discovery

- [Home and Clubs](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/index.php): `index.php`
- [Event Search](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/events.php): `events.php`
- [Event Details](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/event_details.php): `event_details.php`
- [Club Pages](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/club.php): `club.php`
- [Newsletter Signup](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/api_newsletter.php): `api_newsletter.php`

### Student Accounts

- [Student Accounts](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/login.php): `login.php`
- [Booking and Checkout](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/book_event.php): `book_event.php`
- [Student Profile](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/user_profile.php): `user_profile.php`
- [Invoice and Ticket](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/invoice.php): `invoice.php`
- [Password Recovery](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/forgot_password.php): `forgot_password.php`
- [OTP Verification](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/verify_otp.php): `verify_otp.php`

### Event Operations

- [Organizer Accounts](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/login.php): `organizer/login.php`
- [Event Authoring](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/organizer/add_event.php): `organizer/add_event.php`
- [Organizer Management](https://github.com/zarjiss/evento-an-event-management-system-/tree/main/organizer): `organizer`
- [Admin Accounts](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/admin/login.php): `admin/login.php`
- [Event Moderation](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/admin/manage_events.php): `admin/manage_events.php`
- [Admin Management](https://github.com/zarjiss/evento-an-event-management-system-/tree/main/admin): `admin`

### Shared Runtime

- [Public Navigation](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/includes/navbar.php): `includes/navbar.php`
- [Public Footer](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/includes/footer.php): `includes/footer.php`
- [Portal Layouts](https://github.com/zarjiss/evento-an-event-management-system-/tree/main/organizer): `organizer`
- [Security and Helpers](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/config/helpers.php): `config/helpers.php`

### Persistence

- [Evento Database](https://github.com/zarjiss/evento-an-event-management-system-/blob/main/database/evento.sql): `database/evento.sql`

### Other components

- **Visitor**
- **Payment Methods**

## Connections

- Visitor → Home and Clubs: browses (evidence: `README.md`)
- Home and Clubs → Event Search: searches (evidence: `README.md`)
- Home and Clubs → Event Details: opens events (evidence: `index.php`)
- Event Search → Event Details: opens results (evidence: `README.md`)
- Visitor → Club Pages: explores clubs (evidence: `README.md`)
- Visitor → Newsletter Signup: subscribes
- Event Details → Booking and Checkout: books event (evidence: `README.md`)
- Booking and Checkout → Payment Methods: verifies payment (evidence: `README.md`)
- Booking and Checkout → Student Profile: records ticket (evidence: `README.md`)
- Student Profile → Invoice and Ticket: opens invoice (evidence: `README.md`)
- Visitor → Student Accounts: signs in (evidence: `README.md`)
- Student Accounts → Student Profile: accesses
- Visitor → Password Recovery: requests recovery (evidence: `README.md`)
- Password Recovery → OTP Verification: verifies code (evidence: `README.md`)
- Visitor → Organizer Accounts: opens portal (evidence: `README.md`)
- Organizer Accounts → Event Authoring: creates events
- Event Authoring → Evento Database: inserts pending event (evidence: `organizer/add_event.php`)
- Visitor → Admin Accounts: opens portal (evidence: `README.md`)
- Admin Accounts → Event Moderation: manages events
- Event Moderation → Evento Database: updates events (evidence: `admin/manage_events.php`)
- Organizer Accounts → Organizer Management: manages events (evidence: `organizer/_layout_top.php`)
- Admin Accounts → Admin Management: manages platform (evidence: `admin/_layout_top.php`)
- Home and Clubs → Security and Helpers: uses helpers (evidence: `index.php`)
- Security and Helpers → Evento Database: connects (evidence: `config/helpers.php`)
- Home and Clubs → Public Navigation: renders navigation (evidence: `index.php`)
- Home and Clubs → Public Footer: renders footer (evidence: `index.php`)
- Event Authoring → Portal Layouts: renders layout (evidence: `organizer/add_event.php`)
