How abdoulnikiema03/api works
This repository is structured as a Spring API for employee operations and authentication, with JWT-related security, persistence, DTOs, and exception handling indicated by the source tree. No README text or source excerpts were provided, so the graph identifies these product areas but omits call-flow edges that cannot be verified. Paths point to implementation files visible in the tree; specific runtime relationships remain unconfirmed.
Components 23
API surface
- API application
src/main/java/com/example/api/ApiApplication.java - Employee endpoints
src/main/java/com/example/api/controller/EmployeeController.java - Auth endpoints
src/main/java/com/example/api/controller/AuthController.java
Employee domain
- Employee service
src/main/java/com/example/api/service/EmployeeService.java - Employee repository
src/main/java/com/example/api/repository/EmployeeRepository.java - Employee model
src/main/java/com/example/api/model/Employee.java - Employee mapper
src/main/java/com/example/api/mapper/EmployeeMapper.java - Employee DTOs
src/main/java/com/example/api/dto/EmployeeRequestDTO.java - Patch DTO
src/main/java/com/example/api/dto/EmployeePatchDTO.java - Update DTO
src/main/java/com/example/api/dto/EmployeeUpdateDTO.java - Response DTO
src/main/java/com/example/api/dto/EmployeeResponseDTO.java
Authentication
- JWT response DTO
src/main/java/com/example/api/dto/JwtResponseDTO.java - Login request DTO
src/main/java/com/example/api/dto/LoginRequestDTO.java - JWT filter
src/main/java/com/example/api/security/JwtAuthenticationFilter.java - JWT service
src/main/java/com/example/api/security/JwtService.java - User details service
src/main/java/com/example/api/security/EmployeeUserDetailsService.java - Security configuration
src/main/java/com/example/api/config/SecurityConfig.java
API support
- OpenAPI configuration
src/main/java/com/example/api/config/OpenApiConfig.java - Exception handler
src/main/java/com/example/api/exception/GlobalExceptionHandler.java - Error response
src/main/java/com/example/api/exception/ErrorResponse.java - Not-found exception
src/main/java/com/example/api/exception/EmployeeNotFoundException.java - Email conflict exception
src/main/java/com/example/api/exception/EmailAlreadyUsedException.java
Other components
- API client