Skip to main content

Microservices - Basic Project

Greetings!

To explain microservices architecture in coming posts I am going to create a very basic shopping cart. This is very simple set up with shopping cart service which interact with product service to get product details.

Get the initial project

I have provided necessary postman collection to test the project.



Just to brush up, let's see how easy it to create a microservice with modern Java tech stack.


  1. Navigate to https://start.spring.io/
  2. Select Web, Actuator, JPA, H2, Lombok dependencies.
  3. Generate the project.
  4. Import the project into preferred IDE.
  5. Run the application.


That is within few minutes we have a running skeleton.




Comments