Initialize repo and add session changes (2025-09-08)
This commit is contained in:
15
docs/prp/01-architecture.md
Normal file
15
docs/prp/01-architecture.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 01 — Architecture Overview
|
||||
|
||||
- Backend: Laravel 12 (PHP 8.3), API-first.
|
||||
- Super Admin: Filament 4 web panel (platform operations only).
|
||||
- Tenant Admin: Separate React/Vite PWA, store-ready (Android TWA, iOS Capacitor). See ADR-0006.
|
||||
- Guest PWA: React/Vite, anonymous session for attendees.
|
||||
- Storage: S3-compatible object storage, signed URLs, CDN in front.
|
||||
- Queues: Redis + Horizon for media processing and async jobs.
|
||||
- DB: Single database, row-level multi-tenancy using `tenant_id` and policies.
|
||||
|
||||
Components
|
||||
- API (`/api/v1`) with OAuth2 PKCE for tenant apps; session auth for Super Admin.
|
||||
- Media pipeline: upload -> scan -> transform (EXIF/orientation/sizes) -> store -> CDN.
|
||||
- Notifications: Web Push (VAPID); Capacitor push for iOS wrapper when needed.
|
||||
- Observability: request ID, structured logs, audit trails for admin actions.
|
||||
Reference in New Issue
Block a user