2019-04-14 08:59:02 +08:00
|
|
|
|
<p align="center">
|
2023-12-08 00:48:40 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Release-V3.7.1-green.svg" alt="Downloads">
|
2019-10-01 00:03:08 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" alt="Build Status">
|
2019-04-14 08:59:02 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg" alt="Build Status">
|
2022-03-28 15:55:49 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Spring%20Cloud-2021-blue.svg" alt="Coverage Status">
|
2023-12-08 00:48:40 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Spring%20Boot-2.7.18-blue.svg" alt="Downloads">
|
2023-09-12 02:00:24 +08:00
|
|
|
|
<a target="_blank" href="https://bladex.cn">
|
2019-10-01 00:03:08 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Author-Small%20Chill-ff69b4.svg" alt="Downloads">
|
|
|
|
|
</a>
|
2023-09-12 02:00:24 +08:00
|
|
|
|
<a target="_blank" href="https://bladex.cn">
|
2019-10-01 00:03:08 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Copyright%20-@BladeX-%23ff3f59.svg" alt="Downloads">
|
|
|
|
|
</a>
|
2019-04-14 08:59:02 +08:00
|
|
|
|
</p>
|
|
|
|
|
|
2019-05-05 10:01:20 +08:00
|
|
|
|
## SpringBlade微服务开发平台
|
2019-04-14 08:59:02 +08:00
|
|
|
|
* 采用前后端分离的模式,前端开源两个框架:[Sword](https://gitee.com/smallc/Sword) (基于 React、Ant Design)、[Saber](https://gitee.com/smallc/Saber) (基于 Vue、Element-UI)
|
2022-04-11 21:59:37 +08:00
|
|
|
|
* 后端采用SpringCloud全家桶,并同时对其基础组件做了高度的封装,单独开源出一个框架:[BladeTool](https://gitee.com/smallc/blade-tool)
|
2019-02-21 14:22:01 +08:00
|
|
|
|
* [BladeTool](https://github.com/chillzhuang/blade-tool)已推送至Maven中央库,直接引入即可,减少了工程的臃肿,也可更注重于业务开发
|
|
|
|
|
* 集成Sentinel从流量控制、熔断降级、系统负载等多个维度保护服务的稳定性。
|
2019-02-13 17:11:47 +08:00
|
|
|
|
* 注册中心、配置中心选型Nacos,为工程瘦身的同时加强各模块之间的联动。
|
|
|
|
|
* 使用Traefik进行反向代理,监听后台变化自动化应用新的配置文件。
|
2019-04-14 08:59:02 +08:00
|
|
|
|
* 极简封装了多租户底层,用更少的代码换来拓展性更强的SaaS多租户系统。
|
|
|
|
|
* 借鉴OAuth2,实现了多终端认证系统,可控制子系统的token权限互相隔离。
|
|
|
|
|
* 借鉴Security,封装了Secure模块,采用JWT做Token认证,可拓展集成Redis等细颗粒度控制方案。
|
2022-03-28 15:55:49 +08:00
|
|
|
|
* 稳定生产了三年,经历了从 Camden -> Hoxton -> 2021 的技术架构,也经历了从fat jar -> docker -> k8s + jenkins的部署架构。
|
2019-01-30 17:06:23 +08:00
|
|
|
|
* 项目分包明确,规范微服务的开发模式,使包与包之间的分工清晰。
|
|
|
|
|
|
2019-05-18 14:47:30 +08:00
|
|
|
|
## 架构图
|
|
|
|
|
<img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-framework.png"/>
|
|
|
|
|
|
2019-01-30 17:06:23 +08:00
|
|
|
|
## 工程结构
|
|
|
|
|
```
|
|
|
|
|
SpringBlade
|
|
|
|
|
├── blade-auth -- 授权服务提供
|
|
|
|
|
├── blade-common -- 常用工具封装包
|
|
|
|
|
├── blade-gateway -- Spring Cloud 网关
|
|
|
|
|
├── blade-ops -- 运维中心
|
|
|
|
|
├ ├── blade-admin -- spring-cloud后台管理
|
2019-02-21 14:22:01 +08:00
|
|
|
|
├ ├── blade-develop -- 代码生成
|
2019-10-01 00:03:08 +08:00
|
|
|
|
├ ├── blade-resource -- 资源管理
|
|
|
|
|
├ ├── blade-seata-order -- seata分布式事务demo
|
|
|
|
|
├ ├── blade-seata-storage -- seata分布式事务demo
|
2019-01-30 17:06:23 +08:00
|
|
|
|
├── blade-service -- 业务模块
|
|
|
|
|
├ ├── blade-desk -- 工作台模块
|
|
|
|
|
├ ├── blade-log -- 日志模块
|
|
|
|
|
├ ├── blade-system -- 系统模块
|
|
|
|
|
├ └── blade-user -- 用户模块
|
|
|
|
|
├── blade-service-api -- 业务模块api封装
|
|
|
|
|
├ ├── blade-desk-api -- 工作台api
|
|
|
|
|
├ ├── blade-dict-api -- 字典api
|
|
|
|
|
├ ├── blade-system-api -- 系统api
|
|
|
|
|
└── └── blade-user-api -- 用户api
|
|
|
|
|
```
|
|
|
|
|
|
2022-07-19 12:28:23 +08:00
|
|
|
|
## 官方信息
|
2023-09-12 02:00:24 +08:00
|
|
|
|
* 官网地址:[https://bladex.cn](https://bladex.cn)
|
|
|
|
|
* 问答社区:[https://sns.bladex.cn](https://sns.bladex.cn)
|
2019-05-05 10:01:20 +08:00
|
|
|
|
* 会员计划:[SpringBlade会员计划](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade会员计划)
|
2020-02-12 00:59:22 +08:00
|
|
|
|
* 交流一群:`477853168`(满)
|
|
|
|
|
* 交流二群:`751253339`(满)
|
2020-06-12 11:52:54 +08:00
|
|
|
|
* 交流三群:`784729540`(满)
|
2020-08-20 00:22:10 +08:00
|
|
|
|
* 交流四群:`1034621754`(满)
|
2021-05-07 13:25:15 +08:00
|
|
|
|
* 交流五群:`946350912`(满)
|
2022-07-19 12:28:23 +08:00
|
|
|
|
* 交流六群:`511624269`(满)
|
|
|
|
|
* 交流七群:`298061704`
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-04-14 08:59:02 +08:00
|
|
|
|
## 在线演示
|
2023-09-12 02:00:24 +08:00
|
|
|
|
* Saber-基于Vue:[https://saber.bladex.cn](https://saber.bladex.cn)
|
|
|
|
|
* Sword-基于React:[https://sword.bladex.cn](https://sword.bladex.cn)
|
2022-07-19 12:28:23 +08:00
|
|
|
|
|
|
|
|
|
## 数据大屏
|
2023-09-12 02:00:24 +08:00
|
|
|
|
* 数据大屏展示系统:[https://data.bladex.cn](https://data.bladex.cn)
|
2019-10-01 00:03:08 +08:00
|
|
|
|
|
|
|
|
|
## 技术文档
|
2021-05-07 13:25:15 +08:00
|
|
|
|
* [SpringBlade开发手册一览](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade开发手册)
|
2023-09-12 02:00:24 +08:00
|
|
|
|
* [SpringBlade常见问题集锦](https://sns.bladex.cn/article-14966.html)
|
2021-05-07 13:25:15 +08:00
|
|
|
|
* [SpringBlade基于Kuboard部署K8S](https://kuboard.cn/learning/k8s-practice/spring-blade/)
|
2023-04-29 22:03:24 +08:00
|
|
|
|
* [SpringBlade基于Rainbond部署](https://www.rainbond.com/docs/micro-service/example/blade)
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-04-14 08:59:02 +08:00
|
|
|
|
## 项目地址
|
2022-07-19 12:28:23 +08:00
|
|
|
|
* 核心框架项目地址:[https://gitee.com/smallc/blade-tool](https://gitee.com/smallc/blade-tool)
|
2019-04-14 08:59:02 +08:00
|
|
|
|
* 后端Gitee地址:[https://gitee.com/smallc/SpringBlade](https://gitee.com/smallc/SpringBlade)
|
|
|
|
|
* 后端Github地址:[https://github.com/chillzhuang/SpringBlade](https://github.com/chillzhuang/SpringBlade)
|
2021-02-01 12:49:12 +08:00
|
|
|
|
* 后端SpringBoot版:[https://gitee.com/smallc/SpringBlade/tree/boot/](https://gitee.com/smallc/SpringBlade/tree/boot/)
|
2019-04-14 08:59:02 +08:00
|
|
|
|
* 前端框架Sword(基于React):[https://gitee.com/smallc/Sword](https://gitee.com/smallc/Sword)
|
2023-04-29 22:03:24 +08:00
|
|
|
|
* 前端框架Saber(基于Vue2):[https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber)
|
|
|
|
|
* 前端框架Saber3(基于Vue3):[https://gitee.com/smallc/Saber3](https://gitee.com/smallc/Saber/tree/3.x/)
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-08-08 14:00:15 +08:00
|
|
|
|
# 开源协议
|
|
|
|
|
Apache Licence 2.0 ([英文原文](http://www.apache.org/licenses/LICENSE-2.0.html))
|
|
|
|
|
Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似,同样鼓励代码共享和尊重原作者的著作权,同样允许代码修改,再发布(作为开源或商业软件)。
|
|
|
|
|
需要满足的条件如下:
|
|
|
|
|
* 需要给代码的用户一份Apache Licence
|
|
|
|
|
* 如果你修改了代码,需要在被修改的文件中说明。
|
|
|
|
|
* 在延伸的代码中(修改和有源代码衍生的代码中)需要带有原来代码中的协议,商标,专利声明和其他原来作者规定需要包含的说明。
|
|
|
|
|
* 如果再发布的产品中包含一个Notice文件,则在Notice文件中需要带有Apache Licence。你可以在Notice中增加自己的许可,但不可以表现为对Apache Licence构成更改。
|
|
|
|
|
Apache Licence也是对商业应用友好的许可。使用者也可以在需要的时候修改代码来满足需要并作为开源或商业产品发布/销售。
|
|
|
|
|
|
2019-01-30 17:06:23 +08:00
|
|
|
|
## 用户权益
|
2022-07-19 12:28:23 +08:00
|
|
|
|
* 允许免费用于学习、毕设、公司项目、私活等,但请保留源码作者信息。
|
2019-08-08 14:00:15 +08:00
|
|
|
|
* 对未经过授权和不遵循 Apache 2.0 协议二次开源或者商业化我们将追究到底。
|
2022-07-19 12:28:23 +08:00
|
|
|
|
* 参考请注明:参考自 SpringBlade:https://gitee.com/smallc/SpringBlade。
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-02-21 14:22:01 +08:00
|
|
|
|
# 界面
|
2019-05-05 10:01:20 +08:00
|
|
|
|
|
2023-09-12 02:00:24 +08:00
|
|
|
|
## [BladeX](https://bladex.cn/#/vip) 工作流一览
|
2019-01-30 17:06:23 +08:00
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
2019-05-05 10:01:20 +08:00
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow1.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow2.png"/></td>
|
2019-01-30 17:06:23 +08:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2019-05-05 10:01:20 +08:00
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow3.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow4.png"/></td>
|
2019-01-30 17:06:23 +08:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2019-05-05 10:01:20 +08:00
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow5.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/bladex-flow6.png"/></td>
|
2019-01-30 17:06:23 +08:00
|
|
|
|
</tr>
|
2019-02-21 14:22:01 +08:00
|
|
|
|
</table>
|
|
|
|
|
|
2019-05-05 10:01:20 +08:00
|
|
|
|
## [Sword](https://gitee.com/smallc/Sword) 界面一览
|
2019-02-21 14:22:01 +08:00
|
|
|
|
<table>
|
2019-01-30 17:06:23 +08:00
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-main.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-menu.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-menu-edit.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-menu-icon.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-role.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-user.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-dict.png "/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-log.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-locale-cn.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/sword-locale-us.png"/></td>
|
|
|
|
|
</tr>
|
2019-02-21 14:22:01 +08:00
|
|
|
|
</table>
|
|
|
|
|
|
2019-05-05 10:01:20 +08:00
|
|
|
|
## [Saber](https://gitee.com/smallc/Saber) 界面一览
|
2019-02-21 14:22:01 +08:00
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-user.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-role.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-dict.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-dict-select.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-log.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/saber-code.png"/></td>
|
|
|
|
|
</tr>
|
2019-04-14 08:59:02 +08:00
|
|
|
|
</table>
|
|
|
|
|
|
2019-05-05 10:01:20 +08:00
|
|
|
|
## 监控界面一览
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-k8s1.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-k8s2.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-grafana.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-harbor.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-traefik.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-traefik-health.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-nacos.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-sentinel.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-admin1.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-admin2.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-swagger1.png"/></td>
|
|
|
|
|
<td><img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-swagger2.png"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|