snowy/README.md

311 lines
12 KiB
Markdown
Raw Normal View History

2022-09-29 15:49:25 +00:00
<div align="center">
<p align="center">
<img src="./snowy-admin-web/public/img/logo.png" height="150" alt="logo"/>
</p>
</div>
## 框架介绍
SnowySnowyAdmin是国内首个国密前后端分离快速开发平台集成国密加解密插件
2022-09-29 15:49:25 +00:00
软件层面完全符合等保测评要求,同时实现国产化机型、中间件、数据库适配,是您的不二之选!
技术框架与密码结合,让更多的人认识密码,使用密码;更是让前后分离“密”不可分。
2024-05-06 20:29:18 +00:00
采用SpringBoot+MybatisPlus+AntDesignVue+Vite 等更多组件及前沿技术开发,注释丰富,代码简洁,开箱即用!
2022-09-29 15:49:25 +00:00
Snowy谐音“小诺”恰应小诺团队名称意思为”下雪的、纯洁的“寓意框架追求简洁至上大道至简。
<p align="center">
<p align="center">
<a href="https://gitee.com/xiaonuobase/snowy">
<img src="https://gitee.com/xiaonuobase/snowy/badge/star.svg?theme=dark" alt="Gitee star">
</a>
<a href="https://gitee.com/xiaonuobase/snowy">
<img src="https://gitee.com/xiaonuobase/snowy/badge/fork.svg?theme=dark" alt="Gitee fork">
</a>
<a href="https://www.antdv.com/docs/vue/introduce-cn/">
2024-05-06 20:29:18 +00:00
<img src="https://img.shields.io/badge/vue-3-blue.svg" alt="bootstrap">
2022-09-29 15:49:25 +00:00
</a>
<a href="http://spring.io/projects/spring-boot">
2024-05-06 20:29:18 +00:00
<img src="https://img.shields.io/badge/vite-5-green.svg" alt="spring-boot">
2022-09-29 15:49:25 +00:00
</a>
<a href="https://www.antdv.com/docs/vue/introduce-cn/">
2024-05-06 20:29:18 +00:00
<img src="https://img.shields.io/badge/vue--ant--design-4-blue.svg" alt="bootstrap">
2022-09-29 15:49:25 +00:00
</a>
<a href="http://spring.io/projects/spring-boot">
2024-05-06 20:29:18 +00:00
<img src="https://img.shields.io/badge/spring--boot-3-green.svg" alt="spring-boot">
2022-09-29 15:49:25 +00:00
</a>
<a href="http://mp.baomidou.com">
2024-05-06 20:29:18 +00:00
<img src="https://img.shields.io/badge/mybatis--plus-3-blue.svg" alt="mybatis-plus">
2022-09-29 15:49:25 +00:00
</a>
<a href="./LICENSE">
<img src="https://img.shields.io/badge/license-Apache%202-red" alt="license Apache 2.0">
</a>
<a href="https://old.murphysec.com/dr/mQ1xAybeOLMLOxH8pU" alt="OSCS Status">
<img src="https://www.oscs1024.com/platform/badge//xiaonuobase/snowy.git.svg?size=small"/>
</a>
2022-09-29 15:49:25 +00:00
</p>
</p>
## 快速链接
gitee下载地址[https://gitee.com/xiaonuobase/snowy](https://gitee.com/xiaonuobase/snowy)
github下载地址镜像[https://github.com/xiaonuobase/Snowy](https://github.com/xiaonuobase/Snowy)
2024-08-08 15:29:07 +00:00
gitcode下载地址[https://gitcode.com/xiaonuobase/Snowy](https://gitcode.com/xiaonuobase/Snowy)
演示地址:[https://snowy.xiaonuo.vip](https://snowy.xiaonuo.vip)
2022-09-29 15:49:25 +00:00
文档地址:[https://xiaonuo.vip/doc](https://xiaonuo.vip/doc)
2022-09-29 15:49:25 +00:00
## 快速启动
2022-09-29 15:49:25 +00:00
全栈工程师推荐idea
### 前端支撑
| 插件 | 版本 | 用途 |
|---------|-----|----------------|
| node.js | ≥18 | JavaScript运行环境 |
2022-09-29 15:49:25 +00:00
### 启动前端
2022-09-29 15:49:25 +00:00
```
npm install
```
2022-09-29 15:49:25 +00:00
```
npm run dev
```
2022-09-29 15:49:25 +00:00
### 后端支撑
| 插件 | 版本 | 用途 |
|--------|-----------|--------|
| jdk | 17 | java环境 |
| lombok | idea内 | 代码简化插件 |
| maven | 最新版 | 包管理工具 |
| redis | 最新版 | 缓存库 |
| mysql | 8.0 / 5.7 | 数据库 |
2022-09-29 15:49:25 +00:00
### 启动后端
2022-09-29 15:49:25 +00:00
开发工具内配置好maven并在代码中配置数据库即可启动
## 代码结构
2024-05-06 20:29:18 +00:00
Snowy3.0框架对代码以插件化的模式进行分包使得包层级结构更加清晰合理同时降低了耦合度关于插件模块化开发的规范请查阅文档【SNOWY开源文档——前端手册or后端手册——开发规范】板块。
```
snowy
|-snowy-admin-web == 前端
|-public == 基础静态文件
|-src == 前端源代码
|-api == API接口转发
|-assets == 静态文件
|-components == VUE组件
|-config == 基础配置
|-layout == 基础布局
|-locales == 多语言配置
|-router == 基础路由配置
2023-03-23 08:48:13 +00:00
|-store == Pinia缓存配置
|-style == 样式风格配置
|-utils == 工具类
|-views == 所有视图界面
|-snowy-common == 基础通用模块
|-snowy-plugin == 插件包
|-snowy-plugin-auth == 登录鉴权插件
|-snowy-plugin-biz == 业务功能插件
|-snowy-plugin-client == C端功能插件
|-snowy-plugin-dev == 开发工具插件
2023-03-08 06:50:19 +00:00
|-snowy-plugin-gen == 代码生成插件
|-snowy-plugin-mobile == 移动端管理插件
|-snowy-plugin-sys == 系统功能插件
|-snowy-plugin-api == 插件api包
|-snowy-plugin-auth-api == 登录鉴权插件api接口
|-snowy-plugin-biz-api == 业务功能插件api接口
|-snowy-plugin-client-api == C端功能插件api接口
|-snowy-plugin-dev-api == 开发工具插件api接口
2023-03-08 06:50:19 +00:00
|-snowy-plugin-gen == 代码生成插件api接口
|-snowy-plugin-mobile == 移动端管理插件api接口
|-snowy-plugin-sys-api == 系统功能插件api接口
|-snowy-web-app == 主启动模块
```
2022-09-29 15:49:25 +00:00
## 分支说明
- master
正式稳定版本,具体版本升级内容看更新标签
- dev
团队开发的分支(代码可能随时会推,不保证运行和使用)
- snowy1.8
1.x分支目前已停止新增功能只限于bug的维护推荐使用2x版本
2024-05-06 20:29:18 +00:00
- snowy2.5
2.x分支目前已停止新增功能只限于bug的维护可以平滑过渡至3x版本
## 视频教程
教程地址(免费开放):[https://space.bilibili.com/50101698/channel/collectiondetail?sid=739071](https://space.bilibili.com/50101698/channel/collectiondetail?sid=739071)
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mhLatA%7D%2F&_etag=1730700699-816553&shareID=-9mhLatA"/>
作者也在上班工作,所以在利用休息时间为大家创作,录制视频的目的也是为各位小伙伴提供文档跟技术交流群聊之外的上手学习资料
> 视频由小诺开源技术团队王同学(每天一点)进行录制
## 架构原理
* 业务架构
<p align="center">
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lQAEoQ%7D%2F&_etag=1730690514-197232&shareID=-9lQAEoQ"/>
</p>
* 应用架构
<p align="center">
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lPMbxA%7D%2F&_etag=1730690514-308767&shareID=-9lPMbxA"/>
</p>
* 数据架构
<p align="center">
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lQja5Q%7D%2F&_etag=1730690514-322422&shareID=-9lQja5Q"/>
</p>
* 技术架构
<p align="center">
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lQxASg%7D%2F&_etag=1730690514-152387&shareID=-9lQxASg"/>
</p>
* 部署架构
<p align="center">
<img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lRBZAw%7D%2F&_etag=1730690514-222880&shareID=-9lRBZAw"/>
</p>
## 效果展示
2022-09-29 15:49:25 +00:00
<table>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lSg_Dw%7D%2F&_etag=1730384489-1272624&shareID=-9lSg_Dw"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lTCIQQ%7D%2F&_etag=1730384527-354571&shareID=-9lTCIQQ"/></td>
</tr>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lTUROA%7D%2F&_etag=1730384568-327201&shareID=-9lTUROA"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lTdB3A%7D%2F&_etag=1730384595-160612&shareID=-9lTdB3A"/></td>
</tr>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lTp1iw%7D%2F&_etag=1730384617-182491&shareID=-9lTp1iw"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lTyI5g%7D%2F&_etag=1730384636-144484&shareID=-9lTyI5g"/></td>
2022-09-29 15:49:25 +00:00
</tr>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lUAj9A%7D%2F&_etag=1730384732-148422&shareID=-9lUAj9A"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lUWvfg%7D%2F&_etag=1730384836-112114&shareID=-9lUWvfg"/></td>
2022-09-29 15:49:25 +00:00
</tr>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9lUuk7g%7D%2F&_etag=1730384925-320963&shareID=-9lUuk7g"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mJCOTw%7D%2F&_etag=1730385032-172917&shareID=-9mJCOTw"/></td>
2022-09-29 15:49:25 +00:00
</tr>
<tr>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mJSKTQ%7D%2F&_etag=1730385077-142012&shareID=-9mJSKTQ"/></td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mJfjcg%7D%2F&_etag=1730385168-168192&shareID=-9mJfjcg"/></td>
2022-09-29 15:49:25 +00:00
</tr>
</table>
## 密码分步
2022-09-29 15:49:25 +00:00
| 功能 | 算法类型 |
|--------|----------------------|
| 登录 | SM2前端加密后端解密 |
| 登录登出日志 | SM2对登录登出日志做签名完整性保护存储 |
| 操作日志 | SM2对操作日志做签名完整性保护存储 |
| 用户密码 | SM3完整性保护存储登录时做完整性校验 |
| 用户手机号 | SM4cbc模式加解密使用字段脱敏 |
2022-09-29 15:49:25 +00:00
## 官方群聊
QQ技术群732230670已满、685395081
微信技术群因群达到200人以上需加微信拉群
<table>
<tr>
<td>微信群</td>
<td><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mUnPEw%7D%2F&_etag=1730699307-193261&shareID=-9mUnPEw" width="120"/></td>
</tr>
</table>
2022-09-29 15:49:25 +00:00
2022-12-03 17:40:16 +00:00
## 代码贡献
近期有很多热心开源的小伙伴陆续为咱们Snowy框架提交PR或者提出好的建议基本合格的PR我们都接受这样您的头像就列入到咱们Snowy仓库的贡献者列表啦
如何贡献
2022-12-03 17:40:16 +00:00
1、fork一份代码至自己的账号下本地修改您要提的代码提交至您fork的仓库
2、登录gitee后到Snowy仓库下创建Pull Requests,选择您的仓库到Snowy的dev分支提交即可
因为dev分支是团队开发分支并不是统一发版本的测试过的所以我们建议提代码至dev即可
## 外包开发
如果您(或您公司)有外包开发需求,可以通过联系客服方式,提交您的需求,经过工作量分析,出具合适的报价,合作开发并交付。
本团队具备雄厚的技术人才力量均跟随小诺团队发展至今已完全熟练每一处细节代码您的产品自然也是由Snowy平台进行开发并交付。
1、工期保障
2、源码质量保障
3、节点按时汇报
2022-09-29 15:49:25 +00:00
## 团队成员
| 成员 | 技术 | 昵称 |
|:---:|:--:|:-----:|
| 俞宝山 | 全栈 | 俞宝山 |
2022-09-29 15:49:25 +00:00
| 徐玉祥 | 全栈 | 就是那个锅 |
| 董夏雨 | 全栈 | 阿董 |
| 王鹏 | 全栈 | 每天一点 |
| 陈心雨 | 前端 | . |
2022-09-29 15:49:25 +00:00
## 曾获荣誉
🔥 **2021年度OSC中国开源项目评选-最受欢迎项目**
🔥 **2022年度OSC中国开源项目评选-最火热中国开源项目社区**
🔥 **2024 GitCode项目毕业认证-G-Star优秀毕业项目**
🔥 **2024 GitCode开源共创大会-十大新锐项目**
🔥 **2024中国互联网发展创新与投资大赛开源-优秀奖**
<table>
<tr>
<td style="width: 50%"><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mLM-zg%7D%2F&_etag=1730698398-294375&shareID=-9mLM-zg"/></td>
<td style="width: 50%"><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9mLtqmQ%7D%2F&_etag=1730698444-77496&shareID=-9mLtqmQ"/></td>
</tr>
<tr>
<td style="width: 50%"><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A-9nmI4yQ%7D%2F&_etag=1730707931-764633&shareID=-9nmI4yQ"/></td>
<td style="width: 50%"><img src="https://pan.xiaonuo.vip/?explorer/share/fileOut&path=%7BshareItemLink%3A_COsphyQ%7D%2F&_etag=1732688010-447888&shareID=_COsphyQ"/></td>
</tr>
</table>
2022-09-29 15:49:25 +00:00
## 版权说明
- Snowy生态技术框架全系版本采用 Apache License2.0协议
2022-09-29 15:49:25 +00:00
- 代码可用于个人项目等接私活或企业项目脚手架使用Snowy全系开源版完全免费
- 二次开发如用于开源竞品请先联系群主沟通,禁止任何变相的二开行为,未经审核视为侵权
2023-03-23 08:48:13 +00:00
- 请不要删除和修改Snowy源码头部的版权与作者声明及出处