How yhaziz/human-resource-management-system-based-on-artificial-intelligence works
Main Components
Frontend Layer:
• Angular SPA Application with the following modules:
• Core Module (Authentication, Guards, Interceptors)
• Feature Modules (Employee, RRH, DG, CD components)
• Shared UI Components (using Spartan UI)
• Layout Components
Backend Layer:
• Spring Boot Application with:
• REST Controllers Layer
• Service Layer
• Repository Layer
• Security Layer (JWT)
• Domain Model Layer
Database Layer:
• Relational Database (implied by JPA repositories)
Component Relationships
[Frontend Layer]
• ↑↓ HTTP/JWT
[Backend Layer]
• ↑↓ JPA
[Database Layer]
Detailed Component Breakdown
Frontend (Angular):
[Core Module]
• Authentication Service
• Guards
• HTTP Interceptors
[Feature Modules]
• Employee Dashboard
• RRH Dashboard
• DG Dashboard
• CD Dashboard
[Shared Components]
• UI Components
• Layout Components
Backend (Spring Boot):
[Controllers]
• AuthController
• UserController
• RrhController
• DgController
• CdController
[Services]
• UserService
• DemandeService
• DepartementService
• NotificationService
[Security]
• JWT Authentication
• Authorization
• User Details Service
[Domain Model]
• User
• Demande
• Departement
• Notification
Authentication Flow
User → Login Component → Auth Controller → JWT Service → Database
Leave Request Flow
Employee → Request Form → Request Controller → Service Layer → Database
Notification Flow
System → Notification Service → WebSocket → User Interface
Additional Elements
• Clear labels for all components
• Version information and date