How mayankjaideep/xpresswayhdfc works
HDFC Xpressway is a digital banking self-service and loan portal with customer and admin access, service requests, resumable service journeys, and loan applications. The principal backend workflow is a GraphQL mutation or query, authentication where required, domain service processing, and persistence. The tree also shows customer-facing service forms, journey-resume pages, and admin panels; their detailed frontend-to-API wiring is not established by the excerpts. Backend edges below follow explicit controller calls or indexed source references.
Main entry points: ServiceRequestGraphQLController.java Service Request API · CustomerAuthService.java Customer Auth · LoanGraphQLController.java Loan API · ServiceRequestService.java Service Request Logic
Components 21
Customer and Admin Portal
- Portal Pages
frontend/src/app/page.tsx - Service Forms
frontend/src/components/forms/ServiceRequestFlow.tsx - Journey Resume
frontend/src/components/insta/InstaServiceJourney.tsx - Admin Panels
frontend/src/components/admin/ServiceRequestsPanel.tsx
Identity and Access
- Customer Auth
backend/src/main/java/com/hdfc/xpressway/customer/service/CustomerAuthService.java - Customer Auth API
backend/src/main/java/com/hdfc/xpressway/customer/controller/CustomerGraphQLController.java - Customer Store
backend/src/main/java/com/hdfc/xpressway/customer/repository/CustomerRepository.java - Admin Auth
backend/src/main/java/com/hdfc/xpressway/admin/service/AdminAuthService.java - Admin Auth API
backend/src/main/java/com/hdfc/xpressway/admin/controller/AdminGraphQLController.java
Service Requests and Journeys
- Service Request API
backend/src/main/java/com/hdfc/xpressway/insta/controller/ServiceRequestGraphQLController.java - Service Request Logic
backend/src/main/java/com/hdfc/xpressway/insta/service/ServiceRequestService.java - Request Store
backend/src/main/java/com/hdfc/xpressway/insta/repository/ServiceRequestRepository.java - Journey API
backend/src/main/java/com/hdfc/xpressway/journey/controller/ServiceJourneyGraphQLController.java - Journey Lifecycle
backend/src/main/java/com/hdfc/xpressway/journey/service/ServiceJourneyService.java - Journey Admin
backend/src/main/java/com/hdfc/xpressway/journey/service/AdminJourneyService.java - Journey Store
backend/src/main/java/com/hdfc/xpressway/journey/repository/ServiceJourneyRepository.java - PAN Protection
backend/src/main/java/com/hdfc/xpressway/journey/util/PanEncryptionUtil.java
Loan Applications
- Loan API
backend/src/main/java/com/hdfc/xpressway/loan/controller/LoanGraphQLController.java - Loan Processing
backend/src/main/java/com/hdfc/xpressway/loan/service/LoanService.java - Loan Store
backend/src/main/java/com/hdfc/xpressway/loan/repository/LoanApplicationRepository.java
Other components
- Portal User
Connections 22
- Portal User → Portal Pages: uses
- Service Forms → Service Request API: submits
- Journey Resume → Journey API: resumes
- Admin Panels → Service Request API: manages
- Customer Auth API → Customer Auth: authenticates
- Customer Auth → Customer Store: accesses
backend/src/main/java/com/hdfc/xpressway/customer/service/CustomerAuthService.java - Admin Auth API → Admin Auth: calls
backend/src/main/java/com/hdfc/xpressway/admin/controller/AdminGraphQLController.java - Service Request API → Customer Auth: requires customer
backend/src/main/java/com/hdfc/xpressway/insta/controller/ServiceRequestGraphQLController.java - Service Request API → Admin Auth: requires admin
backend/src/main/java/com/hdfc/xpressway/insta/controller/ServiceRequestGraphQLController.java - Service Request API → Service Request Logic: calls
backend/src/main/java/com/hdfc/xpressway/insta/controller/ServiceRequestGraphQLController.java - Service Request Logic → Request Store: persists
backend/src/main/java/com/hdfc/xpressway/insta/service/ServiceRequestService.java - Service Request Logic → PAN Protection: protects PAN
backend/src/main/java/com/hdfc/xpressway/insta/service/ServiceRequestService.java - Journey API → Journey Lifecycle: delegates
backend/src/main/java/com/hdfc/xpressway/journey/controller/ServiceJourneyGraphQLController.java - Journey API → Journey Admin: delegates
backend/src/main/java/com/hdfc/xpressway/journey/controller/ServiceJourneyGraphQLController.java - Journey Lifecycle → Journey Store: persists
backend/src/main/java/com/hdfc/xpressway/journey/service/ServiceJourneyService.java - Journey Lifecycle → PAN Protection: protects PAN
backend/src/main/java/com/hdfc/xpressway/journey/service/ServiceJourneyService.java - Journey Admin → Journey Store: updates
backend/src/main/java/com/hdfc/xpressway/journey/service/AdminJourneyService.java - Loan API → Customer Auth: requires customer
backend/src/main/java/com/hdfc/xpressway/loan/controller/LoanGraphQLController.java - Loan API → Admin Auth: requires admin
backend/src/main/java/com/hdfc/xpressway/loan/controller/LoanGraphQLController.java - Loan API → Loan Processing: calls
backend/src/main/java/com/hdfc/xpressway/loan/controller/LoanGraphQLController.java - Loan Processing → Loan Store: persists
backend/src/main/java/com/hdfc/xpressway/loan/service/LoanService.java - Loan Processing → PAN Protection: uses
backend/src/main/java/com/hdfc/xpressway/loan/service/LoanService.java