How transinh085/examify works
High-Level Architecture Components
• Client Layer
• API Gateway Layer
• Microservices Layer
• Infrastructure Layer
Detailed Component Breakdown
a) Client Layer:
• React-based WebClient (Examify.WebClient)
• Frontend features (Authentication, Quiz Management, Real-time Updates)
• To Gateway using HTTP/REST
b) API Gateway Layer (Examify.Gateway):
• YARP reverse proxy
• Routing paths to different microservices
• Authentication/authorization middleware
• Identity Service (Examify.Identity)
• User management
• Authentication
• Authorization
• Catalog Service (Examify.Catalog)
• Grade management
• Subject management
• Language management
• Quiz Service (Examify.Quiz)
• Quiz creation/management
• Question management
• Quiz execution
• Result Service (Examify.Result)
• Quiz results processing
• Performance analytics
• Score management
• Notification Service (Examify.Notification)
• Email notifications
• Real-time notifications via SignalR
• Event handling
• Upload Service (Examify.UploadFile)
• File management
• Image processing
d) Infrastructure Layer:
• Databases (PostgreSQL)
• Cache (Redis)
• Message Broker (RabbitMQ)
• Storage (Cloudinary)
Cross-Cutting Concerns
As vertical layers:
• OpenTelemetry (monitoring)
• Logging
• Authentication/Authorization
• Caching
Additional Elements
Include:
• Service boundaries
• Data flow directions
• Security boundaries
Key Relationships to Highlight
• How the Gateway routes requests to appropriate services
• Event-driven communication between services
• Demonstrate how the notification service integrates with others
• Authentication flow through the Identity service
Implementation Details
Architectural patterns:
• CQRS (Command Query Responsibility Segregation) in services
• Mediator pattern using MediatR
• Repository pattern for data access
• Event-driven architecture using MassTransit
• Layered architecture representation
• Clear labeling and annotations
• Export to high-resolution formats