Microservices with Spring Cloud Project | GitHub

In this post, we would like to suggest a free open-source project that is the Spring Cloud Demo App developed using Microservice Architecture with Spring Boot, Spring Cloud for learning purposes. So go ahead, check out the source code, and have a hands-on experience on real-time project.

Microservices with Spring Cloud Project project is an open-source and available on GitHub repository at https://github.com/piomin/sample-spring-microservices-new

Microservices with Spring Cloud Project

This is a sample project to demonstrates the most interesting features of the Spring Cloud Project for building microservice-based architecture. 

Architecture

This sample microservices-based system consists of the following modules:
  • gateway-service - a module that Spring Cloud Netflix Zuul for running Spring Boot application that acts as a proxy/gateway in our architecture.
  • config-service - a module that uses Spring Cloud Config Server for running configuration server in the native mode. The configuration files are placed on the classpath.
  • discovery-service - a module that depending on the example it uses Spring Cloud Netflix Eureka or Spring Cloud Netflix Alibaba Nacos as an embedded discovery server.
  • employee-service - a module containing the first of our sample microservices that allows us to perform CRUD operation on an in-memory repository of employees
  • department-service - a module containing the second of our sample microservices that allows to perform CRUD operation on an in-memory repository of departments. It communicates with employee-service.
  • organization-service - a module containing the third of sample microservices that allows us to perform CRUD operation on an in-memory repository of organizations. It communicates with both employee-service and organization-service.
The following picture illustrates the architecture described above:

References

Comments