How lakshmanan013/ems works
This repository appears to provide an employee-management console client and a Java backend for administration, employees, departments, and attendance. The intended user workflow is to choose a console operation, send a request to the backend, and receive a result; the tree also indicates authentication, stored-procedure configuration, and Redis support. The only excerpted source is an empty client Main class, and there is no README, so the connections below are tentative (dashed) rather than verified call paths.
Main entry points: EMSApplication.java Spring application · StoredProcedureExecutor.java Stored procedure execution · ApiClient.java HTTP API client · console Domain menus
Components 21
Console client
- Management console
EMS_Client/src/EmployeeManagementConsole.java - Domain menus
EMS_Client/src/com/example/client/console - Dynamic menus
EMS_Client/src/com/example/client/dynamic - HTTP API client
EMS_Client/src/com/example/client/api/ApiClient.java - Response formatting
EMS_Client/src/com/example/client/formatter/ResponseFormatter.java - Client configuration
EMS_Client/src/com/example/client/config/ConfigLoader.java
Backend API
- Spring application
Employee/src/main/java/com/example/EMS/EMSApplication.java - Admin endpoints
Employee/src/main/java/com/example/EMS/Controller/AdminController.java - Employee endpoints
Employee/src/main/java/com/example/EMS/Controller/EmployeeController.java - Department endpoints
Employee/src/main/java/com/example/EMS/Controller/DepartmentController.java - Attendance endpoints
Employee/src/main/java/com/example/EMS/Controller/AttendanceController.java
Domain services
- Admin operations
Employee/src/main/java/com/example/EMS/ServiceImpl/AdminServiceImpl.java - Employee operations
Employee/src/main/java/com/example/EMS/ServiceImpl/EmployeeServiceImpl.java - Department operations
Employee/src/main/java/com/example/EMS/ServiceImpl/DepartmentServiceImpl.java - Attendance operations
Employee/src/main/java/com/example/EMS/ServiceImpl/AttendanceServiceImpl.java - Stored procedure execution
Employee/src/main/java/com/example/EMS/Config/StoredProcedureExecutor.java
Security and infrastructure
- JWT security
Employee/src/main/java/com/example/EMS/Security/JwtAuthFilter.java - Redis service
Employee/src/main/java/com/example/EMS/Service/RedisService.java
Other components
- Console user
- Relational database
- Redis store
Connections 22
- Console user → Management console: uses
- Management console → Domain menus: presents
- Domain menus → HTTP API client: submits requests
- Domain menus → Dynamic menus: uses
- HTTP API client → Spring application: sends HTTP requests
- Spring application → Admin endpoints: routes to
- Spring application → Employee endpoints: routes to
- Spring application → Department endpoints: routes to
- Spring application → Attendance endpoints: routes to
- Admin endpoints → Admin operations: delegates to
- Employee endpoints → Employee operations: delegates to
- Department endpoints → Department operations: delegates to
- Attendance endpoints → Attendance operations: delegates to
- HTTP API client → Response formatting: formats responses
- Client configuration → HTTP API client: configures
- JWT security → Spring application: filters requests
- Admin operations → Stored procedure execution: executes procedures
- Employee operations → Stored procedure execution: executes procedures
- Department operations → Stored procedure execution: executes procedures
- Attendance operations → Stored procedure execution: executes procedures
- Stored procedure execution → Relational database: queries
- Redis service → Redis store: reads and writes