The following was discovered as part of building this project:
- This documentation is part of training for maybank project.
- Microservice Architecture
- https://aws.amazon.com/microservices/
- https://dzone.com/articles/top-5-microservices-architecture-and-design-best-p
- https://towardsdatascience.com/microservice-architecture-and-its-10-most-important-design-patterns-824952d7fa41
- https://javarevisited.blogspot.com/2021/09/microservices-design-patterns-principles.html
- step 1. (OPTIONAL) docker run --name mbb-local-postgres -d -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:alpine
- step 2. Java 8 and above
- step 3. Postman
- Step 4. Maven
- mvn clean compile spring-boot:run
- mvn clean compile spring-boot:run -Dspring.profiles.active=dev
- mvn clean compile spring-boot:run
- POSTMAN - Use this link to run the API (https://www.postman.com/lively-moon-579376/workspace/public/collection/19577438-286c3385-e4f1-476e-a73b-86202fdfdda0?action=share&creator=19577438)
- MBB-API-GATEWAY-SERVICE | Port: 8881
- MBB-REGISTRY-SERVER | Port: 8761
- MBB-CONFIG-SERVER | Port: 8888
- MBB-MASTER-DATA-SERVICE | Port: 8082 (NO NEED TO POINT TO THIS PORT AS WE USED THE API GATEWAY)
step 2. Change below configuration in path <mbb-config-server/src/main/resources/config-repo/application-dev.properties>
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.database.scheme=mbb_core
spring.datasource.username=postgres
spring.datasource.password=postgres
- Spring Cloud (https://spring.io/projects/spring-cloud)
- Spring Cloud Netflix
- Spring Cloud Config
- Spring Cloud OpenFeign
- Spring Cloud Connector (MQ)
- Spring Cloud Security
- Spring Cloud Gateway
- Zuul Gateway
- Spring Data (https://spring.io/projects/spring-data)
- Spring Data JDBC
- Spring Data JPA
- Spring Data Redis
- Monitor
- Elastic Logstash
- Prometheus
- Datadog
- Others
- https://projectlombok.org
- Swagger (https://swagger.io/docs/)
- Kubernetes / Docker
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Data JPA
- Spring Data JDBC
- Config Client Quick Start
- Eureka Discovery Client
The following guides illustrate how to use some features concretely: