How akhileshp123/employeemanagement_system works
EmployeeManagementAPI is a browser-backed employee and department management API with JWT registration/login. The main workflow is a user operating the web UI, which calls API controllers; services validate and map requests, repositories persist and query records, and results return to the UI. Employee search includes department, salary, sorting, and paging; department operations include employee counts and deletion safeguards. The graph reflects sampled source and the tree; README content was not provided, so undocumented capabilities and unsampled wiring are not inferred.
Main entry points: Program.cs Application host · app.js Management UI · DbConnectionFactory.cs Connection factory · EmployeeService.cs Employee operations
Components 15
Web client
- Management UI
EmployeeManagementAPI/wwwroot/app.js
API layer
- Application host
EmployeeManagementAPI/Program.cs - Exception handling
EmployeeManagementAPI/Middleware/ExceptionMiddleware.cs - Employee API
EmployeeManagementAPI/controllers/EmployeeController.cs - Department API
EmployeeManagementAPI/controllers/DepartmentController.cs - Authentication API
EmployeeManagementAPI/controllers/AuthController.cs
Domain services
- Employee operations
EmployeeManagementAPI/Services/EmployeeService.cs - Department operations
EmployeeManagementAPI/Services/DepartmentService.cs - Authentication
EmployeeManagementAPI/Services/AuthService.cs
Persistence
- Employee queries
EmployeeManagementAPI/Repositories/EmployeeRepository.cs - Department queries
EmployeeManagementAPI/Repositories/DepartmentRepository.cs - User queries
EmployeeManagementAPI/Repositories/AuthRepository.cs - Connection factory
EmployeeManagementAPI/Data/DbConnectionFactory.cs
Other components
- User
- MySQL database
Connections 19
- User → Management UI: uses
- Application host → Management UI: serves static UI
- Management UI → Employee API: requests employee data
- Management UI → Department API: requests department data
- Employee API → Employee operations: calls
- Department API → Department operations: calls
- Authentication API → Authentication: calls
- Employee operations → Employee queries: queries and writes
- Employee operations → Department queries: checks departments
- Department operations → Department queries: queries and writes
- Authentication → User queries: queries and writes
- Employee queries → Connection factory: creates connections
- Department queries → Connection factory: creates connections
- User queries → Connection factory: creates connections
- Connection factory → MySQL database: connects
- Application host → Exception handling: registers pipeline
- Application host → Employee API: maps controllers
- Application host → Department API: maps controllers
- Application host → Authentication API: maps controllers