Building Microservices With Spring Boot
Microservices are an architectural approach to application development. A microservices architecture differs from a classic monolithic approach in that it breaks down the application to isolate key functions. Each of these functions is called a “service” and these services can be developed and deployed independently of each other. Thus, each can function (or malfunction) without affecting the others.
With the growing popularity of microservices in the industry, there has been a boom in technologies and platforms from which to choose to build applications. Sometimes it’s hard to choose something to start with. In this article, I will show you how to create a microservices application based on Spring Boot 🔥 🔥.
Let’s create a small e-commerce application and focus on the product and cart parts only.
Our application will have the following scenarios :
- Add one or many products to the application’s database
- Get product list
- Add product to cart
- Get cart products
- Delete product from the cart
- Delete all products…