A Java-based API gateway for service proxying, protocol conversion, and API governance, with a plugin chain and a central Admin console.
zhoutaoo/SpringCloud
A Spring Cloud microservices scaffold with RBAC permissions, OAuth2/JWT auth, gateway, service governance and audit logging, ready for Docker and Kubernetes.
- Stars
- 8,931
- Forks
- 3,824
- Open issues
- 1
- Last commit
- 2 months ago
What is it?
Opensabre is a microservice development scaffold built on Spring Cloud 2023, integrating Spring Security and Spring Cloud Alibaba components. It provides base system applications for RBAC permission management, OAuth2 authorization, gateway management, service governance and audit logging, along with development conventions applied at the framework layer.
The framework aims to let developers start on business logic rather than building infrastructure and style rules from scratch. It uses Nacos for registration and configuration, Sentinel for fault tolerance, OpenFeign for service calls, and Spring Cloud Gateway for dynamic routing, and it is designed for deployment with Docker and Kubernetes.
The project notes that the scaffold has been restructured into a new framework named Opensabre, and users are directed to that version. The stated goal is a finance-grade, high-security microservice foundation.
Key features
- 01Unified RESTful response format and centralized exception handling
- 02RBAC permission management with automatic registration of REST URLs as resources
- 03OAuth2 authorization with JWT mode via Spring Security
- 04Dynamic gateway built on Spring Cloud Gateway with configurable traffic control
- 05Nacos for service registry and configuration, Sentinel for fault tolerance
- 06Swagger 3 and knife4j API documentation included by default
Use cases
- Bootstrapping a Spring Cloud microservice backend with login and permissions already in place
- Teams that want shared coding conventions and base infrastructure across services
- Deploying a Spring Cloud system to Docker or Kubernetes with a gateway in front
Quick start
- 1
Clone the repository with submodules
git clone https://github.com/zhoutaoo/SpringCloud.git --recursive - 2
Create the database and tables by running the db scripts in the app's resources/db folder (DDL, then DML)
- 3
Start the app from its directory with Maven
mvn spring-boot:run
Things to know
- The README says this scaffold has been superseded by the Opensabre framework and recommends using the new version.
- It depends on several infrastructure components such as Nacos, RabbitMQ and Sentinel, so setup takes effort.
- The README and most docs are in Simplified Chinese.
In collections
Topics
FAQ
- What is SpringCloud?
- A Spring Cloud microservices scaffold with RBAC permissions, OAuth2/JWT auth, gateway, service governance and audit logging, ready for Docker and Kubernetes. Opensabre is a microservice development scaffold built on Spring Cloud 2023, integrating Spring Security and Spring Cloud Alibaba components. It provides base system applications for RBAC permission management, OAuth2 authorization, gateway management, service governance and audit logging, along with development conventions applied at the framework layer.
- Is SpringCloud free to use? What license does it have?
- SpringCloud is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is SpringCloud still maintained?
- Updated within 6 months. The last commit to SpringCloud was on Sep 19, 2026.
- What can I use SpringCloud for?
- Bootstrapping a Spring Cloud microservice backend with login and permissions already in place Teams that want shared coding conventions and base infrastructure across services Deploying a Spring Cloud system to Docker or Kubernetes with a gateway in front
- How do I install SpringCloud?
- Clone the repository with submodules: git clone https://github.com/zhoutaoo/SpringCloud.git --recursive Create the database and tables by running the db scripts in the app's resources/db folder (DDL, then DML) Start the app from its directory with Maven: mvn spring-boot:run
- Where can I get SpringCloud?
- The source code and installation instructions are on GitHub: https://github.com/zhoutaoo/SpringCloud
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An API gateway built on Spring Framework and Spring Boot for routing and filtering HTTP requests in microservice setups.
Spring Cloud integration with Netflix OSS components such as Eureka service discovery for Spring Boot applications.
Spring Boot starter that runs gRPC servers and clients from annotations like @GrpcService and @GrpcClient, with no manual channel or server setup.
Kubernetes implementations of Spring Cloud interfaces, letting Spring Cloud apps use Kubernetes for service discovery and configuration.
A Spring Cloud implementation that integrates Spring Cloud applications with Tencent's Polaris for service discovery and governance.