How lieslot/matching-match-v2 works
Main Components
a. Core Modules:
• Authentication System
• Match Management
• Team Management
• Chat System
• Notification System
• Admin Management
• User Management
b. External Services:
• AWS S3 (indicated by AwsS3Adapter)
• Database (JPA repositories suggest a relational database)
┌─ Client Layer ─────────────────────────────────────┐
• (External Client Applications) │
• ┬───────────────────────────────┘
┌─ API Layer ─────────┴───────────────────────────────┐
• Auth Controller │
• Match Controller │
• Team Controller │
• Chat Controller │
• Admin Controller │
• ┬───────────────────────────────┘
┌─ Service Layer ─────┴───────────────────────────────┐
• Auth Service │
• Match Service │
• Team Service │
• Chat Service │
• Admin Service │
• ┬───────────────────────────────┘
┌─ Domain Layer ──────┴───────────────────────────────┐
• Match Domain │
• Team Domain │
• User Domain │
• Chat Domain │
• ┬───────────────────────────────┘
┌─ Infrastructure ────┴───────────────────────────────┐
• Database │
• AWS S3 │
• Security Config │
• ┘
Important Relationships
a. Authentication Flow:
• JWT Token Generation
• Refresh Token Handling
• Security Filter Chain
b. Match Making Flow:
• Match Creation
• Team Matching
• Match Confirmation
• Rating System
c. Chat System:
• Room Creation
• Message Handling
• File Upload Flow
Implementation Details
Use these symbols:
• Rectangles: Components/Services
• Diamonds: Decision Points
Additional Elements
Specific features:
• Manner Rating System
• Bookmark Management
• Chat Room Participant Management
• File Storage Strategy (Local/AWS)
The team matching logic flow
Remember to:
• Keep the main flows visible and clear
• Security boundaries
• Async operations
• External service dependencies
• Error handling paths