This source code was developed for Java based microservices tutorial series from javatodev.com.
In this article series I’m going to explain using internet banking API concept with spring boot based microserices architecture. Initially I’ll develop the core API which will evolve as a full fledged REST API collection until deployments.
Here this project consist of mainly 6 microservices and those are,
- User service (banking-core-user-service) – This service includes all the operations under the User such as registrations and retrieval. Additionally, this API consumes keycloak REST API to register and manage the user base while using the local PostgreSQL database as well.
- Fund transfer service (banking-core-fund-transfer-service) – This is the service that handles all the fund transfers between accounts and this API will push messages to a centralized RabbitMQ queue to use from the Notification service.
- Payment service (banking-core-payments-service) – This service will include all the API endpoints to process Utility payments in this project and that will push notification messages to RabbitMQ as well.
- Notification service – This API is registered under the service registry but consumes all the messages from RabbitMQ and pushes necessary notifications to the end users.
- Banking core service – This is the banking core service that acts as a dummy banking core with accounts, users, transaction details, and processors for banking transactions.
- Java 11
- Spring Boot 2.4.5
- Netflix Eureka Service Registry
- Netflix Eureka Service Client
- Spring Cloud API Gateway
- Spring Cloud Config Server
- Zipkin
- Spring Cloud Sleuth
- Open Feign
- RabbitMQ
- Prometheus
- Jitpack
- MySQL
- Keycloak
- Docker / Docker Compose
- Kubernetes
- Keycloak
Article series
1. Building Microservices With Spring Boot – Free Course With Practical Project
2. Microservices – Service Registration and Discovery With Spring Cloud Netflix Eureka
3. Microservices – Setup API Gateway Using Spring Cloud Gateway
4. Microservices – Authentication, and Authorization With Keycloak
5. Microservices – Core Banking Service Implementation
6. Microservices – User Service Implementation
7. Microservices – Fund Transfer Service Implementation
8. Microservices – Utility Payment Service Implementation
9. Microservices – Communication With Spring Cloud OpenFeign
10. Microservices – Exception Handling
11. Microservices – Centralized Configurations With Spring Cloud Config