Building Microservices With Spring Boot

Photo by 贝莉儿 DANIST on Unsplash
Photo by Alex Barashkov

Generating the product-service

Generating the product-service on Spring Initializr
server.port=8045spring.application.name=product-service
Product-service booting logs
Postman UI: add product list
Postman UI: add product
Postman UI: retrieve products
ActiveMQ logs
ActiveMQ UI
ActiveMQ UI
Postman UI: send a product to ActiveMQ
ActiveMQ UI: received message

Generating the cart-service

Generating the cart-service on Spring Initializr
cart-service booting logs
Postman UI: retrieve cart products
Our application architecture

Generating the API-gateway

Generating the API-gateway on Spring Initializr
API-gateway booting logs
Postman UI: retrieve products
Postman UI: get cart products
Our application architecture

Generating the Eureka-server

Generating the Eureka server on Spring Initializr
Eureka server UI

ProductServiceApplication.java

CartServiceApplication.java

ApiGatewayApplication.java

application.properties

application.yml

Eureka’s registred services
Our final application architecture

Software Engineer. I’m not perfect. still running after my dreams. going to the moon 🌑

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store