How karthikdokiparthi/smart_hire works
The available source implements a Spring Boot account and authentication backend: users register, authenticate, verify accounts, and reset passwords. The README describes a broader hiring platform, but this tree contains no implementation for its resume screening, tests, code evaluation, dashboards, or WebSockets; those documented capabilities are shown separately without inferred connections. Relationships in the implemented flow are grounded in sampled source or the SOURCE INDEX; unsampled README capabilities are not treated as verified runtime components.
Main entry points: AuthController.java Authentication API · UserServiceImpl.java User workflows · UserRepository.java User repository · AppUserDetailsService.java User details lookup
Components 20
API workflows
- Authentication API
src/main/java/com/job_portal/SmartHire/controller/AuthController.java - User API
src/main/java/com/job_portal/SmartHire/controller/UserController.java - User workflows
src/main/java/com/job_portal/SmartHire/service/UserServiceImpl.java - Email delivery
src/main/java/com/job_portal/SmartHire/service/EmailService.java
Identity and security
- Security configuration
src/main/java/com/job_portal/SmartHire/config/SecurityConfig.java - JWT request filter
src/main/java/com/job_portal/SmartHire/filter/JwtRequestFilter.java - JWT utilities
src/main/java/com/job_portal/SmartHire/util/JwtUtil.java - User details lookup
src/main/java/com/job_portal/SmartHire/service/AppUserDetailsService.java - Auth entry point
src/main/java/com/job_portal/SmartHire/exception/CustomerAuthenticationEntityPoint.java
User persistence
- User repository
src/main/java/com/job_portal/SmartHire/repository/UserRepository.java - User and profile
src/main/java/com/job_portal/SmartHire/entity/User.java - Relational database
README capabilities
- Resume screening
- Test generation
- Code evaluation
- Live notifications
- Recruiting analytics
- Resume storage
Other components
- API client
- Mail service
Connections 17
- API client → Authentication API: calls auth endpoints
src/main/java/com/job_portal/SmartHire/controller/AuthController.java - API client → User API: calls user endpoints
src/main/java/com/job_portal/SmartHire/controller/UserController.java - Authentication API → User workflows: delegates account tasks
src/main/java/com/job_portal/SmartHire/controller/AuthController.java - Authentication API → User details lookup: loads login user
src/main/java/com/job_portal/SmartHire/controller/AuthController.java - Authentication API → JWT utilities: creates token
src/main/java/com/job_portal/SmartHire/controller/AuthController.java - User API → User workflows: delegates user tasks
src/main/java/com/job_portal/SmartHire/controller/UserController.java - User workflows → User repository: reads and saves
src/main/java/com/job_portal/SmartHire/service/UserServiceImpl.java - User repository → User and profile: persists users
src/main/java/com/job_portal/SmartHire/repository/UserRepository.java - User repository → Relational database: uses JPA store
- User workflows → Email delivery: sends OTP mail
src/main/java/com/job_portal/SmartHire/service/UserServiceImpl.java - Email delivery → Mail service: sends messages
src/main/java/com/job_portal/SmartHire/service/EmailService.java - Security configuration → JWT request filter: registers filter
src/main/java/com/job_portal/SmartHire/config/SecurityConfig.java - Security configuration → User details lookup: configures lookup
src/main/java/com/job_portal/SmartHire/config/SecurityConfig.java - Security configuration → Auth entry point: configures failures
src/main/java/com/job_portal/SmartHire/config/SecurityConfig.java - JWT request filter → JWT utilities: validates tokens
src/main/java/com/job_portal/SmartHire/filter/JwtRequestFilter.java - JWT request filter → User details lookup: loads token user
src/main/java/com/job_portal/SmartHire/filter/JwtRequestFilter.java - User details lookup → User repository: looks up email
src/main/java/com/job_portal/SmartHire/service/AppUserDetailsService.java