🏗️ 1. System Overview
High-level architecture showing all components and integrations
📊 High-Level System Architecture
graph TB
subgraph Users["👥 Users"]
Web[Web Browser]
Mobile[Mobile PWA]
end
subgraph CDN["☁️ AWS CloudFront"]
CF[CDN + SSL/TLS]
end
subgraph Frontend["🎨 Frontend"]
React[React.js
Service Worker] end subgraph Backend["⚙️ Backend"] Spring[Spring Boot
REST API] end subgraph Database["💾 Database"] MariaDB[(MariaDB
AWS RDS)] end subgraph Auth["🔐 Authentication"] Google[Google OAuth 2.0] Facebook[Facebook OAuth 2.0] end subgraph Notifications["📬 Notifications"] SES[AWS SES
Email] SNS[AWS SNS
SMS] WebPush[Web Push API
VAPID] end subgraph Payments["💳 Payments"] Stripe[Stripe API] end Users --> CF CF --> React CF --> Spring Spring --> MariaDB Spring --> Google Spring --> Facebook Spring --> SES Spring --> SNS Spring --> WebPush Spring --> Stripe
Service Worker] end subgraph Backend["⚙️ Backend"] Spring[Spring Boot
REST API] end subgraph Database["💾 Database"] MariaDB[(MariaDB
AWS RDS)] end subgraph Auth["🔐 Authentication"] Google[Google OAuth 2.0] Facebook[Facebook OAuth 2.0] end subgraph Notifications["📬 Notifications"] SES[AWS SES
Email] SNS[AWS SNS
SMS] WebPush[Web Push API
VAPID] end subgraph Payments["💳 Payments"] Stripe[Stripe API] end Users --> CF CF --> React CF --> Spring Spring --> MariaDB Spring --> Google Spring --> Facebook Spring --> SES Spring --> SNS Spring --> WebPush Spring --> Stripe
| Component | Technology | Purpose |
|---|---|---|
| Frontend | React.js + PWA | Progressive web application with offline support |
| Backend | Spring Boot | REST API with JWT authentication |
| Database | MariaDB (AWS RDS) | Primary data storage with automated backups |
| CDN | AWS CloudFront | Global content delivery with SSL/TLS |