# aljoncodex/yasumeow_hobbyshop_development architecture

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

- Interactive diagram: https://gitdiagram.com/aljoncodex/yasumeow_hobbyshop_development
- Repository: https://github.com/aljoncodex/yasumeow_hobbyshop_development

## Overview

Yasumeow is a hobby-shop sales, inventory, and event-management application. Customers browse games, events, and products; event registrations are handled by event actions, while administrators manage shop and event catalogues through Filament. The README describes the product scope but gives few implementation details; connections below are limited to routes, calls, model use, and views visible in the supplied excerpts or source index. Several admin resources and domain models are represented from the tree, but their internal behavior was not sampled.

Main entry points: [`app/Http/Controllers/PageController.php`](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/PageController.php) (Home and game pages), [`app/Http/Controllers/EventController.php`](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/EventController.php) (Event actions), [`app/Models/Product.php`](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Product.php) (Products and stock), [`app/Models/Category.php`](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Category.php) (Product categories)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer experience"]
  node_routes["Web routes<br/>[web.php]"]
  node_pages["Home and game pages<br/>[PageController.php]"]
  node_homeview["Home and game views<br/>[home.blade.php]"]
  node_auth["Account access"]
  node_user[("User accounts<br/>[User.php]")]
end

subgraph group_events["Events and games"]
  node_eventctrl["Event actions"]
  node_eventview["Event pages<br/>[events.blade.php]"]
  node_event[("Events<br/>[Event.php]")]
  node_game[("Games<br/>[Game.php]")]
  node_registration[("Registrations<br/>[Registration.php]")]
  node_results[("Event results<br/>[Result.php]")]
end

subgraph group_shop["Shop and inventory"]
  node_productctrl["Shop browsing"]
  node_shopview["Shop and product pages<br/>[shop.blade.php]"]
  node_product[("Products and stock<br/>[Product.php]")]
  node_category[("Product categories<br/>[Category.php]")]
  node_reservation[("Reservations<br/>[Reservation.php]")]
  node_reservationitem[("Reservation items")]
end

subgraph group_admin["Administration"]
  node_adminpanel["Admin panel"]
  node_productadmin["Product management"]
  node_categoryadmin["Category management"]
  node_eventadmin["Event management"]
  node_gameadmin["Game management"]
end

node_visitor(("Shop visitor"))

node_visitor -->|"requests pages"| node_routes
node_routes -->|"routes to"| node_pages
node_routes -->|"routes to"| node_eventctrl
node_routes -->|"routes to"| node_productctrl
node_pages -->|"queries"| node_event
node_pages -->|"queries"| node_game
node_pages -->|"queries"| node_category
node_pages -->|"queries"| node_product
node_pages -->|"renders"| node_homeview
node_eventctrl -->|"queries"| node_event
node_eventctrl -->|"creates and updates"| node_registration
node_eventctrl -->|"renders"| node_eventview
node_eventctrl -->|"loads"| node_results
node_eventctrl -->|"checks signed-in user"| node_user
node_productctrl -->|"queries"| node_product
node_productctrl -->|"queries"| node_category
node_productctrl -->|"renders"| node_shopview
node_product -->|"belongs to"| node_category
node_category -->|"has many"| node_product
node_auth -->|"creates accounts"| node_user
node_productadmin -->|"manages"| node_product
node_categoryadmin -->|"manages"| node_category

click node_routes "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/routes/web.php"
click node_pages "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/PageController.php"
click node_homeview "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/home.blade.php"
click node_auth "https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Http/Controllers/Auth"
click node_user "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/User.php"
click node_eventctrl "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/EventController.php"
click node_eventview "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/events.blade.php"
click node_event "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Event.php"
click node_game "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Game.php"
click node_registration "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Registration.php"
click node_results "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Result.php"
click node_productctrl "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/ProductController.php"
click node_shopview "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/shop.blade.php"
click node_product "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Product.php"
click node_category "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Category.php"
click node_reservation "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Reservation.php"
click node_reservationitem "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/ReservationItem.php"
click node_adminpanel "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Providers/Filament/AdminPanelProvider.php"
click node_productadmin "https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Products"
click node_categoryadmin "https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Filament/Resources/Categories/CategoryResource.php"
click node_eventadmin "https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Events"
click node_gameadmin "https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Games"

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_routes,node_pages,node_homeview,node_auth,node_user toneBlue
class node_eventctrl,node_eventview,node_event,node_game,node_registration,node_results toneAmber
class node_productctrl,node_shopview,node_product,node_category,node_reservation,node_reservationitem toneMint
class node_adminpanel,node_productadmin,node_categoryadmin,node_eventadmin,node_gameadmin toneRose
class node_visitor toneIndigo
```

## Components

### Customer experience

- [Web routes](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/routes/web.php): `routes/web.php`
- [Home and game pages](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/PageController.php): `app/Http/Controllers/PageController.php`
- [Home and game views](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/home.blade.php): `resources/views/home.blade.php`
- [Account access](https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Http/Controllers/Auth): `app/Http/Controllers/Auth`
- [User accounts](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/User.php): `app/Models/User.php`

### Events and games

- [Event actions](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/EventController.php): `app/Http/Controllers/EventController.php`
- [Event pages](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/events.blade.php): `resources/views/events.blade.php`
- [Events](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Event.php): `app/Models/Event.php`
- [Games](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Game.php): `app/Models/Game.php`
- [Registrations](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Registration.php): `app/Models/Registration.php`
- [Event results](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Result.php): `app/Models/Result.php`

### Shop and inventory

- [Shop browsing](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Http/Controllers/ProductController.php): `app/Http/Controllers/ProductController.php`
- [Shop and product pages](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/resources/views/shop.blade.php): `resources/views/shop.blade.php`
- [Products and stock](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Product.php): `app/Models/Product.php`
- [Product categories](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Category.php): `app/Models/Category.php`
- [Reservations](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/Reservation.php): `app/Models/Reservation.php`
- [Reservation items](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Models/ReservationItem.php): `app/Models/ReservationItem.php`

### Administration

- [Admin panel](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Providers/Filament/AdminPanelProvider.php): `app/Providers/Filament/AdminPanelProvider.php`
- [Product management](https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Products): `app/Filament/Resources/Products`
- [Category management](https://github.com/aljoncodex/yasumeow_hobbyshop_development/blob/main/app/Filament/Resources/Categories/CategoryResource.php): `app/Filament/Resources/Categories/CategoryResource.php`
- [Event management](https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Events): `app/Filament/Resources/Events`
- [Game management](https://github.com/aljoncodex/yasumeow_hobbyshop_development/tree/main/app/Filament/Resources/Games): `app/Filament/Resources/Games`

### Other components

- **Shop visitor**

## Connections

- Shop visitor → Web routes: requests pages (evidence: `routes/web.php`)
- Web routes → Home and game pages: routes to (evidence: `routes/web.php`)
- Web routes → Event actions: routes to (evidence: `routes/web.php`)
- Web routes → Shop browsing: routes to (evidence: `routes/web.php`)
- Home and game pages → Events: queries (evidence: `app/Http/Controllers/PageController.php`)
- Home and game pages → Games: queries (evidence: `app/Http/Controllers/PageController.php`)
- Home and game pages → Product categories: queries (evidence: `app/Http/Controllers/PageController.php`)
- Home and game pages → Products and stock: queries (evidence: `app/Http/Controllers/PageController.php`)
- Home and game pages → Home and game views: renders (evidence: `app/Http/Controllers/PageController.php`)
- Event actions → Events: queries (evidence: `app/Http/Controllers/EventController.php`)
- Event actions → Registrations: creates and updates (evidence: `app/Http/Controllers/EventController.php`)
- Event actions → Event pages: renders (evidence: `app/Http/Controllers/EventController.php`)
- Event actions → Event results: loads (evidence: `app/Http/Controllers/EventController.php`)
- Event actions → User accounts: checks signed-in user (evidence: `app/Http/Controllers/EventController.php`)
- Shop browsing → Products and stock: queries (evidence: `app/Http/Controllers/ProductController.php`)
- Shop browsing → Product categories: queries (evidence: `app/Http/Controllers/ProductController.php`)
- Shop browsing → Shop and product pages: renders (evidence: `app/Http/Controllers/ProductController.php`)
- Products and stock → Product categories: belongs to (evidence: `app/Models/Product.php`)
- Product categories → Products and stock: has many (evidence: `app/Models/Category.php`)
- Account access → User accounts: creates accounts (evidence: `app/Http/Controllers/Auth/RegisterController.php`)
- Product management → Products and stock: manages (evidence: `app/Filament/Resources/Products/ProductResource.php`)
- Category management → Product categories: manages (evidence: `app/Filament/Resources/Categories/CategoryResource.php`)
