mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-05 10:09:40 +08:00
🎉 更新avue至2.0.0
This commit is contained in:
parent
1a45c52c56
commit
40ed72a5fc
161
README.md
161
README.md
@ -1,58 +1,116 @@
|
|||||||
|
<p align="center">
|
||||||
|
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg" alt="Build Status">
|
||||||
|
<img src="https://img.shields.io/badge/Spring%20Cloud-Greenwich.SR1-blue.svg" alt="Coverage Status">
|
||||||
|
<img src="https://img.shields.io/badge/Spring%20Boot-2.1.5.RELEASE-blue.svg" alt="Downloads">
|
||||||
|
</p>
|
||||||
|
|
||||||
## 简介
|
## SpringBlade微服务开发平台
|
||||||
Saber 是 [SpringBlade](https://gitee.com/smallc/SpringBlade)前端UI项目,基于vue、vuex、avue、element-ui,用于快速构建系统中后台业务。
|
* 采用前后端分离的模式,前端开源两个框架:[Sword](https://gitee.com/smallc/Sword) (基于 React、Ant Design)、[Saber](https://gitee.com/smallc/Saber) (基于 Vue、Element-UI)
|
||||||
|
* 后端采用SpringCloud全家桶,并同时对其基础组件做了高度的封装,单独开源出一个框架:[BladeTool](https://github.com/chillzhuang/blade-tool)
|
||||||
|
* [BladeTool](https://github.com/chillzhuang/blade-tool)已推送至Maven中央库,直接引入即可,减少了工程的臃肿,也可更注重于业务开发
|
||||||
|
* 集成Sentinel从流量控制、熔断降级、系统负载等多个维度保护服务的稳定性。
|
||||||
|
* 注册中心、配置中心选型Nacos,为工程瘦身的同时加强各模块之间的联动。
|
||||||
|
* 使用Traefik进行反向代理,监听后台变化自动化应用新的配置文件。
|
||||||
|
* 极简封装了多租户底层,用更少的代码换来拓展性更强的SaaS多租户系统。
|
||||||
|
* 借鉴OAuth2,实现了多终端认证系统,可控制子系统的token权限互相隔离。
|
||||||
|
* 借鉴Security,封装了Secure模块,采用JWT做Token认证,可拓展集成Redis等细颗粒度控制方案。
|
||||||
|
* 稳定生产了一年,经历了从Camden -> Greenwich的技术架构,也经历了从fat jar -> docker -> k8s + jenkins的部署架构
|
||||||
|
* 项目分包明确,规范微服务的开发模式,使包与包之间的分工清晰。
|
||||||
|
|
||||||
|
## 架构图
|
||||||
|
<img src="https://gitee.com/smallc/SpringBlade/raw/master/pic/springblade-framework.png"/>
|
||||||
|
|
||||||
|
## 工程结构
|
||||||
|
```
|
||||||
|
SpringBlade
|
||||||
|
├── blade-auth -- 授权服务提供
|
||||||
|
├── blade-common -- 常用工具封装包
|
||||||
|
├── blade-gateway -- Spring Cloud 网关
|
||||||
|
├── blade-ops -- 运维中心
|
||||||
|
├ ├── blade-admin -- spring-cloud后台管理
|
||||||
|
├ ├── blade-develop -- 代码生成
|
||||||
|
├── 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
|
||||||
|
```
|
||||||
|
|
||||||
## 官网
|
## 官网
|
||||||
* 官网地址:[https://bladex.vip](https://bladex.vip)
|
* 官网地址:[https://bladex.vip](https://bladex.vip)
|
||||||
|
* 问答社区:[https://sns.bladex.vip](https://sns.bladex.vip)
|
||||||
|
* 会员计划:[SpringBlade会员计划](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade会员计划)
|
||||||
|
* 交流群:`477853168`
|
||||||
|
|
||||||
## 在线演示
|
## 在线演示
|
||||||
* Sword演示地址:[https://sword.bladex.vip](https://sword.bladex.vip)
|
* Sword演示地址:[https://sword.bladex.vip](https://sword.bladex.vip)
|
||||||
* Saber演示地址:[https://saber.bladex.vip](https://saber.bladex.vip)
|
* Saber演示地址:[https://saber.bladex.vip](https://saber.bladex.vip)
|
||||||
|
|
||||||
## 后端项目地址
|
## 项目地址
|
||||||
* [Gitee地址](https://gitee.com/smallc/SpringBlade)
|
* 后端Gitee地址:[https://gitee.com/smallc/SpringBlade](https://gitee.com/smallc/SpringBlade)
|
||||||
* [Github地址](https://github.com/chillzhuang/SpringBlade)
|
* 后端Github地址:[https://github.com/chillzhuang/SpringBlade](https://github.com/chillzhuang/SpringBlade)
|
||||||
|
* 后端SpringBoot版:[https://gitee.com/smallc/SpringBlade/tree/2.0-boot/](https://gitee.com/smallc/SpringBlade/tree/2.0-boot/)
|
||||||
|
* 前端框架Sword(基于React):[https://gitee.com/smallc/Sword](https://gitee.com/smallc/Sword)
|
||||||
|
* 前端框架Saber(基于Vue):[https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber)
|
||||||
|
* 核心框架项目地址:[https://github.com/chillzhuang/blade-tool](https://github.com/chillzhuang/blade-tool)
|
||||||
|
|
||||||
## 前端项目地址
|
## 技术文档
|
||||||
* [Sword--基于React](https://gitee.com/smallc/Sword)
|
* [SpringBlade开发手册](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade开发手册)
|
||||||
* [Saber--基于Vue](https://gitee.com/smallc/Saber)
|
|
||||||
|
|
||||||
## 特性
|
|
||||||
|
|
||||||
- 基于现有的element-ui库进行的二次封装,简化一些繁琐的操作,核心理念为数据驱动视图
|
|
||||||
- 主要的组件库针对table表格和form表单场景,同时衍生出更多企业常用的组件,达到高复用,容易维护和扩展的框架
|
|
||||||
- 同时内置了丰富了数据展示组件,让开发变得更加容易
|
|
||||||
|
|
||||||
## 支持环境
|
|
||||||
|
|
||||||
现代浏览器及 IE11。
|
|
||||||
|
|
||||||
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera |
|
|
||||||
| --------- | --------- | --------- | --------- | --------- |
|
|
||||||
| IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions
|
|
||||||
|
|
||||||
## 用户权益
|
## 用户权益
|
||||||
* 允许免费用于学习、毕设、公司项目、私活等。
|
* 允许免费用于学习、毕设、公司项目、私活等。
|
||||||
* 代码文件需保留相关license信息。
|
* 代码文件需保留相关license信息。
|
||||||
|
* 禁止直接将本项目挂淘宝等商业平台出售。
|
||||||
## 禁止事项
|
* 非界面代码50%以上相似度的二次开源,二次开源需先联系作者。
|
||||||
* 直接将本项目挂淘宝等商业平台出售。
|
|
||||||
* 业务代码50%以上相似度的二次开源,二次开源需先联系作者。
|
|
||||||
|
|
||||||
注意:若禁止条款被发现有权追讨19999的授权费。
|
|
||||||
|
|
||||||
## 如何启动
|
|
||||||
```
|
|
||||||
$ git clone https://gitee.com/smallc/Saber.git
|
|
||||||
$ cd Saber
|
|
||||||
# 安装
|
|
||||||
$ yarn install
|
|
||||||
# 启动
|
|
||||||
$ yarn run serve
|
|
||||||
```
|
|
||||||
|
|
||||||
# 界面
|
# 界面
|
||||||
## Saber界面一览
|
|
||||||
|
## [BladeX](https://bladex.vip/#/vip) 工作流一览
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<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>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<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>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<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>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
## [Sword](https://gitee.com/smallc/Sword) 界面一览
|
||||||
|
<table>
|
||||||
|
<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>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
## [Saber](https://gitee.com/smallc/Saber) 界面一览
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<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-user.png"/></td>
|
||||||
@ -96,26 +154,5 @@ $ yarn run serve
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
## Sword界面一览
|
## 关注我们
|
||||||
<table>
|
![](https://images.gitee.com/uploads/images/2019/0330/065148_f0ada806_410595.jpeg)
|
||||||
<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>
|
|
||||||
</table>
|
|
||||||
|
6
public/cdn/avue/2.0.0/avue.min.js
vendored
6
public/cdn/avue/2.0.0/avue.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user