From 6b1b23d411c2ed20682d1a7d35b4485e12af3fb9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Apr 2026 18:27:12 +0000 Subject: [PATCH 1/2] docs: auto-update architecture diagram [skip ci] --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 87b1505d..4b1af00e 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,25 @@ This API follows a **modular monolith** architecture with the following modules: - `strategy` - Draft planning and tactical board system - `support` - Support ticket system with staff and FAQ management +### Architecture + +This API follows a modular monolith architecture with the following modules: + +- `authentication` - User authentication and authorization +- `dashboard` - Dashboard statistics and metrics +- `players` - Player management and statistics +- `scouting` - Player scouting and talent discovery +- `analytics` - Performance analytics and reporting +- `matches` - Match data and statistics +- `schedules` - Event and schedule management +- `vod_reviews` - Video review and timestamp management +- `team_goals` - Goal setting and tracking +- `riot_integration` - Riot Games API integration +- `competitive` - PandaScore integration, pro matches, draft analysis +- `scrims` - Scrim management and opponent team tracking +- `strategy` - Draft planning and tactical board system +- `support` - Support ticket system with staff and FAQ management + ### Architecture Diagram ```mermaid From fbf55070bb364ffff47bcf4020889d6fdc72e818 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Jun 2026 01:08:55 +0000 Subject: [PATCH 2/2] docs: auto-update architecture diagram [skip ci] --- README.md | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index c31fddbb..bdf71335 100644 --- a/README.md +++ b/README.md @@ -242,21 +242,13 @@ This API follows a modular monolith architecture with the following modules: ```mermaid graph TB subgraph "Client Layer" - Client[Frontend Applications\nprostaff.gg / scrims.lol / arena-br.vercel.app] - end - - subgraph "Infrastructure Layer" - Traefik[Traefik Reverse Proxy\napi.prostaff.gg - SSL + CORS] - subgraph "API Replicas - Round Robin" - API1[api-1\nPuma 4 workers] - API2[api-2\nPuma 4 workers] - end + Client[Frontend Application] end subgraph "API Gateway" Router[Rails Router] CORS[CORS Middleware] - RateLimit[Rate Limiting - Rack::Attack / Redis] + RateLimit[Rate Limiting] Auth[Authentication Middleware] end @@ -360,15 +352,11 @@ graph TB PandaScoreAPI[PandaScore API] end - Client -->|HTTPS| Traefik - Traefik -->|Round Robin| API1 - Traefik -->|Round Robin| API2 - API1 -->|HTTP| CORS - API2 -->|HTTP| CORS + Client -->|HTTP/JSON| CORS CORS --> RateLimit RateLimit --> Auth Auth --> Router - + Router --> AuthController Router --> DashboardController Router --> PlayersController @@ -428,14 +416,11 @@ graph TB Sidekiq -- Uses --> Redis style Client fill:#e1f5ff - style Traefik fill:#1d63ed,color:#fff - style API1 fill:#4a90d9,color:#fff - style API2 fill:#4a90d9,color:#fff - style PostgreSQL fill:#336791,color:#fff - style Redis fill:#d82c20,color:#fff - style RiotAPI fill:#eb0029,color:#fff - style PandaScoreAPI fill:#ff6b35,color:#fff - style Sidekiq fill:#b1003e,color:#fff + style PostgreSQL fill:#336791 + style Redis fill:#d82c20 + style RiotAPI fill:#eb0029 + style PandaScoreAPI fill:#ff6b35 + style Sidekiq fill:#b1003e ```