# swordfish-cloud
**Repository Path**: redTree/swordfish-cloud
## Basic Information
- **Project Name**: swordfish-cloud
- **Description**: 剑鱼云平台,基于SpringCloud微服务敏捷开发系统架构,提供整套公共微服务服务模块:内容管理、支付中心、用户管理(包括第三方)、微信平台、存储系统、配置中心、日志分析等,支持服务治理、监控和追踪等功能。
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: develop
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 7
- **Created**: 2018-04-22
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# swordfish-cloud
剑鱼云平台
==========
# 1. Swodfish Cloud平台简介
基于SpringCloud微服务敏捷开发系统架构,提供整套公共微服务服务模块:内容管理、支付中心、用户管理(包括第三方)、微信平台、存储系统、配置中心、日志分析等,支持服务治理、监控和追踪等功能。
# 2. 组织结构
```
swordfish-cloud
├── swordfish-common // 公共模块
├── swordfish-config-server // 服务统一配置中心 [端口:6006]
├── swordfish-eureka // 服务注册发现中心 [端口:6001]
├── swordfish-gateway // 微服务网关 [端口:5888]
├── swordfish-hystrix-dashboard // 断路器监控中心 [端口:6002]
├── swordfish-hystrix-turbine // 断路器数据统一聚合服务 [端口:6003]
├── swordfish-zipkin-server // 微服务跟踪系统 [端口:6007]
├── swordfish-ucms // 用户权限管理系统
| ├── swordfish-ucms-service // ucms微服务单元
├── swordfish-cms -- // 内容管理系统
├── swordfish-sms -- // 短信系统
| ├── swordfish-sms-service // 短信微服务单元
├── swordfish-pay -- // 支付系统
| ├── swordfish-pay-service // pay微服务单元
├── swordfish-wechat // 微信系统
├── swordfish-oss // 对象存储系统
| ├── swordfish-oss-service // 开发工具包
├── swordfish-shop // 电子商务系统
```
# 3. 技术选型
## 3.1 后端技术
| 技术 | 名称 | 官网 |
| -------------------------- | --------------- | ---------------------------------------- |
| Spring Cloud | 微服务框架 | |
| Spring Cloud Config | 统一配置 | |
| Spring Cloud Bus | 事件总线 | |
| Netflix Eureka | 服务发现注册中心组建 | |
| Netflix Hystrix | 微服务容错组建 | |
| Netflix Zuul | 微服务网关组件 | |
| Spring Cloud Sleuth | 微服务日志组件 | |
| Spring Cloud Stream | 数据流操作开发包 | |
| Spring Boot | Web快速开发框架 | |
| SpringMVC | MVC框架 | |
| jwt | 无状态分布式安全技术 | |
| MyBatis | ORM框架 | |
| tkmapper | MyBatis通用Mapper | |
| PageHelper | MyBatis物理分页插件 | |
| Druid | 数据库连接池 | |
| FluentValidator | 校验框架 | |
| freemarker | 模板引擎 | |
| Redis | 分布式缓存数据库 | |
| Elasticsearch | 分布式全文搜索引擎 | |
| RabbitMQ | 消息队列 | |
| Log4J | 日志组件 | |
| Swagger2 | 接口测试框架 | |
| AliOSS & Qiniu & QcloudCOS | 云存储 | |
| jackson & json | 数据序列化 | |
| Jenkins | 持续集成工具 | |
| Maven | 项目构建管理 | |
## 3.2 前端技术
| 技术 | 名称 | 官网 |
| --------------------------- | ------------ | ---------------------------------------- |
| vue | 渐进式前端框架 | |
| vue-router | 前端路由 | |
| vuex | 状态管理 | |
| iview | 基于vue前端ui库 | |
| axios | http client库 | |
| webpack | 前端构建工具 | |
| nodejs | js运行环境 | |
| Font-awesome | 字体图标 | |
| material-design-iconic-font | 字体图标 | |
# 4. 微服务单元介绍
## 4.1 swordfish-common
## 4.2 swordfish-config-server
统一配置服务中心,用于对所有微服务配置进行统一管理
## 4.3 swordfish-eureka
服务发现注册中心,用于所有微服务的注册发现
## 4.4 swordfish-gateway
微服务网关,是进入微服务的唯一入口,提供身份验证授权、服务路由、负载均衡等功能
## 4.5 swordfish-hystrix-dashboard
微服务断路器监控面板,用了监控所有微服务的断路器状态信息
## 4.6 swordfish-hystrix-turbine
断路器聚合服务,用来收集所有微服务产生的断路器日志
## 4.7 swordfish-zipkin-server
微服务调用日志跟踪服务,可以查看api调用日志信息、时间信息、服务依赖关系等
## 4.8 swordfish-ucms
用户管理中心,微服务子系统之一,用于统一管理系统用户信息
## 4.9 swordfish-cms
内容管理系统,微服务子系统之一,提供内容管理服务
## 4.9 swordfish-sms
短信服务,微服务单元之一,提供短信发送、审计、计费、日志等服务
## 4.10 swordfish-pay
支付服务,微服务子系统之一,用于提高统一的支付接口
## 4.11 swordfish-wechat
微信服务,微服务单元之一,提供与微信平台的对接
## 4.12 swordfish-oss
对象存储服务,微服务单元之一,提供与主流云存储服务商平台对接
## 4.13 swordfish-shop
电子商城服务,微服务子系统之一,提供电子商城相关服务
# 5. 开发工具&环境介绍
## 5.1 开发工具
- IntelliJ IDEA: 开发IDE
- PowerDesigner: 建模工具
- Navicat for MySQL: 数据库客户端
- MySql: 数据库
- Redis: 内存数据库
- RabbitMQ: 消息队列中间件
- Git: 版本管理
- Nginx: 反向代理服务器
- Varnish: HTTP加速器
## 5.2 开发环境
- Jdk8+
- Mysql5.7+
- Redis
- Eureka
- RabbitMQ
# 6. 生产拓扑图
[](http://7xnoo1.com1.z0.glb.clouddn.com/donnyblog/swordfish/03-09.png)
# 7. 开发进度
后续补充...
# 8. 其他问题
待补充...