The architectural concept of microservices architecture is to break up a large single application and service into several or even dozens of supporting microservices, decoupling the solution by breaking up functionality into discrete services.

There isn’t much to learn about microservices, and the open source project on GitHub can be your first stop on the journey. This article recommends 7 very popular micro services projects, from the beginning to the actual combat, this article is worth collecting.


It’s the only choice

The first project I recommend is the highly praised tutorial PiggyMetrics, an open source project that is the perfect place to start your microservices journey.

PiggyMetrics is a comprehensive set of examples of microservices practices that guide developers to build microservices architectures using Spring Boot, Spring Cloud, and Docker.

The open source project has a typical microservice implementation case – personal finance microservice system. Spring Boot/Spring Cloud and other technology stacks are adopted to realize the development, construction and governance of microservices, which are all in one.

In this case, you can fully understand the registration discovery, configuration center, fuses, routing, load balancing, annotated Http client, authentication and full chain tracking of microservices, as well as the statistical analysis of operation and maintenance metrics such as logging, monitoring, metrics and so on.

PiggyMetrics is decomposed into three core microservices, all of which are independently deployable applications. If you have the basics of microservices but no hands-on experience, start with this project.

Address: https://github.com/sqshq/piggymetricsCopy the code


02. Distributed e-commerce project

Distributed e-commerce project based on Spring Cloud. This project uses a sub-library design scheme, and different modules rely on different database instances. Background login adopts Oauth 2.0 authorization, supporting password login, authorization code login, SMS verification code login, registration center and configuration center have used Alibaba Naco.

The goal is to create a top multi-module, high-availability, high-expansion e-commerce project.

Technology stack is based on Spring Boot, Spring Cloud, Spring Oauth2, Spring Cloud Netflix and other frameworks. You can use this project to learn Spring Cloud technology stack as a training project.

Address: https://github.com/SiGuiyang/spring-cloud-shopCopy the code
Copy the code


03. Easy reading microservices

Easy Reading is a book reading APP. It is a micro-service practical project developed based on SpringCloud, involving the application of SpringCloud-Gateway, Nacos, Hystrix, OpenFeign, Jwt, ElasticSearch and other technology stacks.

Client: https://github.com/Zealon159/light-reading-cloud-clientapi:https://github.com/Zealon159/light-reading-cloudCopy the code

The core architecture diagram is as follows:


4. SpringBlade Microservices development platform

SpringBlade uses a separate front and back end model, with a front end based on React, Ant Design, Vue, and Element-UI. The back end adopts Spring Cloud family bucket, registry and configuration center selection Nacos, which simply encapsulates the multi-tenant bottom layer, and uses less code in exchange for a more extensible SaaS multi-tenant system.

Address: https://gitee.com/smallc/SpringBladeCopy the code


05. Cloud-Platform

Cloud-platform is the first micro-service development Platform based on Spring Cloud in China. It has a unified authorization and authentication background management system, including multiple modules such as user management, resource rights management and gateway API management. It supports the parallel development of multi-service systems and can serve as the development scaffolding for back-end services. Simple code, clear architecture, suitable for learning and direct project use.

Core technologies include Spring Boot 2.4.1, Spring Cloud (2020.0.0) and Spring Cloud Alibaba 2.2.4. Nacos registration and configuration center is adopted, and flow guard Sentinel is integrated. The front-end uses vue-element-Admin components that Elastic Search integrates itself.

Address: https://gitee.com/geek_qi/cloud-platformCopy the code


06. Online car-hailing project

Look at picture.

Address: https://github.com/OiPunk/OnlineTaxiCopy the code


07. Internet Cloud Rapid development framework

A free and open source Java Internet cloud rapid development platform, micro-services distributed code generation agile development system architecture. The project code is simple, notes rich, easy to get started, but also centralized distributed, distributed transactions, microservices, including many basic modules and monitoring, service modules.

Named the Most Popular Open Source Software Project in China in 2018.

Address: https://gitee.com/JeeHuangBingGui/jeeSpringCloudCopy the code