How danhthanhle/wmk_be_01 works
High-Level Architecture Components
a. Main System Components:
• Web API Layer (WMK_BE_RecipesAndPlans_Controller)
• Business Logic Layer (WMK_BE_BusinessLogic)
• Data Access Layer (WMK_BE_RecipesAndPlans_DataAccess)
• Web Admin Interface (WMK_WebAdmin)
• External Services Integration (Payment systems: Momo, ZaloPay)
• Message Queue System (RabbitMQ)
• Caching Layer (Redis)
b. Core Domain Areas:
• Recipe Management
• Meal Planning
• Order Processing
• User Management
• Transaction Processing
• Ingredient Management
• Category Management
Detailed Component Relationships
a. API Layer:
• Controllers handling different domain areas
• Authentication/Authorization flow
• Request/Response pipeline
b. Business Layer:
• Service implementations
• Business logic validators
• AutoMapper profiles
• Helper utilities
c. Data Access Layer:
• Repository pattern implementation
• Entity models
• Database context
• Unit of Work pattern
Integration Points
• Payment Gateway Integration (Momo, ZaloPay)
• Message Queue System (RabbitMQ Producer/Consumer)
• Caching System (Redis)
• Email Service Integration
Key Workflows to Highlight
• User authentication flow
• Recipe creation and management
• Order processing pipeline
• Payment processing sequence
• Weekly meal plan generation
Infrastructure Components
• Docker containers (as evidenced by Dockerfile presence)
• Kubernetes deployment (k8s folder)
• Configuration management
• Logging and monitoring
Persistent Storage
Remember to highlight the microservices architecture aspects and the containerized nature of the application, as evidenced by the Docker and Kubernetes configurations present in the project structure.