How durgesh-315/admission works
This repository is a user and candidate management system: an Angular frontend provides login, employee administration, candidate screens and a dashboard, while a Spring Boot application supplies the backend. The visible employee flow is user form/list or dashboard → employee HTTP service → backend API; login and candidate profiles have separate clients. Backend implementation files and most frontend feature modules are represented from the tree, but their internal calls and routes were not sampled, so those relationships are omitted or marked unverified.
Main entry points: employee.service.ts Employee client · service Domain services · EmployeeController.java Employee endpoints · AuthService.java Auth service
Components 26
Angular frontend
- Login screen
ums-frontend/src/app/features/auth/login/login.ts - Auth client
ums-frontend/src/app/core/services/auth.service.ts - Route guard
ums-frontend/src/app/core/guards/auth.guard.ts - JWT interceptor
ums-frontend/src/app/core/interceptors/jwt.interceptor.ts - App routes
ums-frontend/src/app/app.routes.ts - Employee list
ums-frontend/src/app/features/users/user-list/user-list.ts - Employee form
ums-frontend/src/app/features/users/user-form/user-form.ts - Employee details
ums-frontend/src/app/features/users/user-details/user-details.ts - Dashboard
ums-frontend/src/app/features/dashboard/dashboard.ts - Employee client
ums-frontend/src/app/core/services/employee.service.ts - Candidate screens
ums-frontend/src/app/features/candidates - Candidate client
ums-frontend/src/app/core/services/candidate-profile.service.ts - State client
ums-frontend/src/app/core/services/state.service.ts
Spring Boot API
- Auth endpoints
employee-crud/src/main/java/com/example/employeecrud/controller/AuthController.java - Employee endpoints
employee-crud/src/main/java/com/example/employeecrud/controller/EmployeeController.java - Candidate endpoints
employee-crud/src/main/java/com/example/employeecrud/controller/CandidateProfileController.java - State endpoints
employee-crud/src/main/java/com/example/employeecrud/controller/StateController.java - File storage
employee-crud/src/main/java/com/example/employeecrud/service/FileStorageService.java
Domain and persistence
- Domain services
employee-crud/src/main/java/com/example/employeecrud/service - Repositories
employee-crud/src/main/java/com/example/employeecrud/repository - Domain entities
employee-crud/src/main/java/com/example/employeecrud/entity
Authentication
- Auth service
employee-crud/src/main/java/com/example/employeecrud/service/AuthService.java - JWT handling
employee-crud/src/main/java/com/example/employeecrud/security/JwtService.java - User lookup
employee-crud/src/main/java/com/example/employeecrud/security/CustomUserDetailsService.java
Other components
- Admin user
- HTTP API
Connections 26
- Admin user → Login screen: signs in
- Admin user → Employee list: manages employees
- Login screen → Auth client: submits credentials
- Auth client → HTTP API: posts login
ums-frontend/src/app/core/services/auth.service.ts - App routes → Route guard: guards routes
- Employee list → Employee client: loads and deletes
ums-frontend/src/app/features/users/user-list/user-list.ts - Employee form → Employee client: creates and updates
ums-frontend/src/app/features/users/user-form/user-form.ts - Employee details → Employee client: uses employee data
- Dashboard → Employee client: loads employees
ums-frontend/src/app/features/dashboard/dashboard.ts - Employee client → HTTP API: calls employee API
ums-frontend/src/app/core/services/employee.service.ts - Candidate screens → Candidate client: uses candidate client
- Candidate client → HTTP API: calls candidate API
ums-frontend/src/app/core/services/candidate-profile.service.ts - State client → HTTP API: calls state API
- HTTP API → Auth endpoints: routes auth
- HTTP API → Employee endpoints: routes employees
- HTTP API → Candidate endpoints: routes candidates
- HTTP API → State endpoints: routes states
- Auth endpoints → Auth service: delegates auth
- Employee endpoints → Domain services: delegates operations
- Candidate endpoints → Domain services: delegates operations
- State endpoints → Domain services: delegates operations
- Domain services → Repositories: accesses data
- Repositories → Domain entities: persists entities
- Auth service → JWT handling: uses tokens
- Auth service → User lookup: looks up users
- Employee endpoints → File storage: handles uploads