How dileeprepo/banking_application_eks works
This repository is a React banking portal backed by a Go microservices platform. A browser user registers or signs in, then uses protected account, deposit, transfer, card, loan, and dashboard views; REST requests pass through the API gateway to backend services. Money operations post balanced entries to the ledger, while an outbox can publish events for asynchronous consumers such as audit, fraud, statements, analytics, and reports. The README documents platform-wide storage and communications; sampled startup code confirms the transaction-to-ledger and outbox setup. Unshown service internals are represented by their exact directories.
Main entry points: proxy.go API gateway · App.jsx Banking portal · transaction-service/internal Money operations · auth-service/internal Identity and access
Components 22
Customer web
- Banking portal
frontend/src/App.jsx - Login and access
frontend/src/auth.jsx - Account and product views
frontend/src/pages
API entry
- API gateway
services/api-gateway/internal/proxy/proxy.go
Core banking
- Identity and access
services/auth-service/internal - Accounts
services/account-service/internal - Money operations
services/transaction-service/internal - Double-entry ledger
services/ledger-service/internal - Customer and profile
services/customer-service/internal
Banking products
- Cards
services/card-service/internal - Loans and EMI
services/loan-service/internal - Deposit products
services/fixed-deposit-service/internal - Payments and wallet
services/payment-service/internal
Events and insight
- Kafka event bus
pkg/kafka - Transactional outbox
pkg/outbox/outbox.go - Event consumers
services/audit-service/internal - Reports and analytics
services/reports-service/internal
Shared platform
- PostgreSQL
pkg/postgres/postgres.go - Redis
pkg/redis/redis.go - HTTP server layer
pkg/httpserver/server.go - gRPC server layer
pkg/grpcserver/server.go
Other components
- Browser user
Connections 19
- Browser user → Banking portal: uses
README.md - Banking portal → Login and access: protects routes
frontend/src/App.jsx - Banking portal → Account and product views: routes to
frontend/src/App.jsx - Banking portal → API gateway: REST requests
README.md - API gateway → Identity and access: routes REST
README.md - API gateway → Accounts: routes REST
README.md - API gateway → Money operations: routes REST
README.md - API gateway → Cards: routes REST
README.md - API gateway → Loans and EMI: routes REST
README.md - Accounts → Double-entry ledger: gRPC balance access
README.md - Money operations → Double-entry ledger: posts entries
- Money operations → Transactional outbox: emits events
- Transactional outbox → Kafka event bus: publishes events
- Kafka event bus → Event consumers: delivers events
README.md - Kafka event bus → Reports and analytics: delivers events
README.md - Accounts → PostgreSQL: persists data
README.md - Money operations → PostgreSQL: persists data
README.md - Identity and access → Redis: stores sessions
- Identity and access → PostgreSQL: persists data