How hiepnx03/2025-01-quan-ly-nhan-su works
Main System Components
a) Presentation Layer (API Layer)
• REST Controllers grouped by functionality:
• Authentication endpoints
• Admin endpoints
• HR Management endpoints
• Swagger documentation integration
b) Security Layer
• JWT Authentication filter
• Security configuration
• Token management (including blacklist)
c) Business Layer
• Service layer with all business logic
• Converters for DTO transformations
• Utility services
d) Data Access Layer
• Repositories
• Entity models
• Database connection
Component Relationships
[Client Applications] ←→ [API Gateway/Swagger]
• ↓
[Security Layer (JWT Filter)]
• ↓
[Controllers] → [DTOs]
• ↓
[Services] ←→ [Converters]
• ↓
[Repositories]
• ↓
[Database]
Specific Implementation Details
Key technical aspects:
• Spring Boot 3.4.1 as the main framework
• JWT Authentication flow
• ModelMapper for object mapping
• MySQL database connection
• Email service for password recovery
• Pagination implementation
Additional Elements
Supporting components:
• Configuration classes
• Exception handling
• Utility services
• External integrations (email service)
• Client Layer |
• ↓
• Security Layer |
• ↓
• Service Layer |
• ↓
• Data Layer |
Key Features to Highlight
System capabilities:
• Authentication and authorization flow
• HR management workflows
• Document management
• User management
• Employee records management
Remember to show the relationship between different HR management modules (Canbo, Chucvu, Bacluong, etc.) as they form the core business logic of the system.
This approach will provide a clear visualization of how the system components interact while maintaining the specific context of an HR management application.