gitmyhub

microservices-platform

Java ★ 4.7k updated 1y ago

基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。

A ready-made Java backend starter kit for enterprise web apps, bundling login, user management, file uploads, search, logging, and monitoring as separate deployable services.

JavaSpring BootSpring CloudSpring Cloud AlibabaOAuth2ElasticsearchGrafanaSkyWalkingsetup: hardcomplexity 5/5

This repository is a Java-based microservices platform intended as a starting point for building enterprise web applications. It is written primarily in Chinese and targets developers at Chinese companies who want a pre-assembled, production-oriented backend foundation. The project is built on Spring Boot, Spring Cloud, and Spring Cloud Alibaba, which are widely used Java frameworks for constructing distributed server systems.

The platform handles several concerns that a team would otherwise need to build from scratch. It includes a centralized authentication system based on OAuth2 and JWT (common standards for controlling who can log in and what they are allowed to do), a user management center, a file upload center, a search service backed by Elasticsearch, a code generator that produces boilerplate CRUD code from database schemas, and an API gateway that routes incoming requests to the right internal service.

On the monitoring side, the platform bundles tooling for viewing application health metrics, collecting and searching logs, tracking slow database queries, and visualizing request flow across services. The README includes screenshots of dashboards for Grafana (server metrics), SkyWalking (distributed request tracing), and an ELK-based (Elasticsearch, Logstash, Kibana) log system.

The project is structured so that each concern lives in its own module: authentication, user data, file storage, search, logging, and monitoring are all separate deployable pieces. A demo environment is mentioned in the README with a login at admin/admin so you can explore the interface before running it locally.

The README and documentation are in Chinese, which means non-Chinese speakers will need translation assistance to navigate the setup guides. Full documentation is hosted on a separate platform (Kancloud). The project is actively maintained and has an associated QQ chat community for questions.

Where it fits