2016-10-22 21:12:19 +08:00
|
|
|
|
## zheng
|
2017-01-02 20:53:00 +08:00
|
|
|
|
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](https://github.com/shuzheng/zheng/)
|
2017-01-02 20:31:19 +08:00
|
|
|
|
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)
|
2017-01-02 20:35:35 +08:00
|
|
|
|
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/shuzheng/zheng/pulls)
|
|
|
|
|
[![wiki-1.0.0](https://img.shields.io/badge/zheng-1.0.0-red.svg)](https://github.com/shuzheng/zheng/wiki)
|
2016-10-22 21:07:44 +08:00
|
|
|
|
|
2017-01-02 20:27:11 +08:00
|
|
|
|
# 项目介绍
|
2016-12-01 11:45:53 +08:00
|
|
|
|
``` lua
|
2016-11-12 00:40:57 +08:00
|
|
|
|
zheng
|
2016-12-01 11:45:53 +08:00
|
|
|
|
├── zheng-common -- 公共模块
|
2016-12-09 11:37:48 +08:00
|
|
|
|
├── zheng-upms -- 用户权限管理系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
| ├── zheng-upms-dao -- 数据库操作,MyBatisGenerator生成
|
|
|
|
|
| ├── zheng-upms-rpc-api -- rpc接口包
|
2016-12-26 11:24:18 +08:00
|
|
|
|
| ├── zheng-upms-rpc-service -- rpc服务提供者[端口:1112]
|
|
|
|
|
| ├── zheng-upms-app1 -- SSO登录客户端1[端口:1113]
|
|
|
|
|
| ├── zheng-upms-app2 -- SSO登录客户端2[端口:1114]
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| └── zheng-upms-server -- 系统及SSO服务端[端口:1111]
|
2016-12-01 11:45:53 +08:00
|
|
|
|
├── zheng-cms -- 内容管理系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
| ├── zheng-cms-dao -- 数据库操作,MyBatisGenerator生成
|
2016-12-01 11:45:53 +08:00
|
|
|
|
| ├── zheng-cms-service -- 业务逻辑
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| ├── zheng-cms-search -- 搜索服务[端口:2221]
|
|
|
|
|
| ├── zheng-cms-admin -- 后台管理[端口:2222]
|
|
|
|
|
| ├── zheng-cms-job -- 消息队列、任务调度等[端口:2223]
|
|
|
|
|
| └── zheng-cms-web -- 网站前台[端口:2224]
|
2016-12-01 11:45:53 +08:00
|
|
|
|
├── zheng-pay -- 支付系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
| ├── zheng-pay-dao -- 数据库操作,MyBatisGenerator生成
|
2016-12-01 14:43:49 +08:00
|
|
|
|
| ├── zheng-pay-service -- 业务逻辑
|
|
|
|
|
| ├── zheng-pay-sdk -- 开发工具包
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| ├── zheng-pay-admin -- 后台管理[端口:3331]
|
|
|
|
|
| └── zheng-pay-web -- 演示示例[端口:3332]
|
2016-12-01 11:45:53 +08:00
|
|
|
|
├── zheng-ucenter -- 用户系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
| ├── zheng-ucenter-dao -- 数据库操作,MyBatisGenerator生成
|
2016-12-01 14:43:49 +08:00
|
|
|
|
| ├── zheng-ucenter-service -- 业务逻辑
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| └── zheng-ucenter-home -- 网站前台[端口:4441]
|
2016-12-01 15:01:08 +08:00
|
|
|
|
|── zheng-wechat-mp -- 微信公众号管理系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
| ├── zheng-wechat-mp-dao -- 数据库操作,MyBatisGenerator生成
|
2016-12-01 15:01:08 +08:00
|
|
|
|
| ├── zheng-wechat-mp-service -- 业务逻辑
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| └── zheng-wechat-mp-admin -- 后台管理[端口:5551]
|
2016-12-01 11:45:53 +08:00
|
|
|
|
├── zheng-api -- 接口系统
|
2016-12-01 16:18:46 +08:00
|
|
|
|
| ├── zheng-api-sdk -- 开发工具包
|
2016-12-28 21:47:53 +08:00
|
|
|
|
| ├── zheng-api-doc -- 接口文档项目
|
2016-12-09 16:45:18 +08:00
|
|
|
|
| └── zheng-api-example -- 演示示例[端口:6661]
|
2016-12-01 11:45:53 +08:00
|
|
|
|
└── zheng-oss -- 对象存储系统
|
2016-12-01 14:43:49 +08:00
|
|
|
|
├── zheng-oss-sdk -- 开发工具包
|
2016-12-09 16:45:18 +08:00
|
|
|
|
└── zheng-oss-web -- 管理界面[端口:7771]
|
2016-12-01 11:35:49 +08:00
|
|
|
|
```
|
2016-11-12 00:40:57 +08:00
|
|
|
|
|
2017-01-02 20:27:11 +08:00
|
|
|
|
# 项目结构图
|
|
|
|
|
![项目结构图](project-bootstrap/project.png)
|
|
|
|
|
|
2016-10-22 21:12:19 +08:00
|
|
|
|
# 后端技术:
|
2016-12-01 16:55:06 +08:00
|
|
|
|
* Spring Framework
|
2016-10-22 21:19:37 +08:00
|
|
|
|
* SpringMVC: MVC框架
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* MyBatis: ORM框架
|
2016-12-24 23:19:16 +08:00
|
|
|
|
* MyBatis-plus: Mybatis增强包
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* MyBatis Generator: 代码生成
|
|
|
|
|
* Druid: 数据库连接池
|
2016-10-22 21:19:37 +08:00
|
|
|
|
* Spring secutity|Shiro: 权限认证
|
2016-12-29 09:38:37 +08:00
|
|
|
|
* Jsp|Velocity|Thymeleaf: 模板引擎
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* ZooKeeper: 协调服务
|
|
|
|
|
* Dubbo: 远程服务调用
|
2016-12-06 16:49:56 +08:00
|
|
|
|
* TBSchedule|elastic-job: 分布式任务调度
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* Quartz: 定时任务
|
|
|
|
|
* Ehcache: 二级缓存
|
2016-11-29 17:07:00 +08:00
|
|
|
|
* Redis: 分布式缓存数据库
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* ActiveMQ: 消息队列
|
2016-11-26 23:50:50 +08:00
|
|
|
|
* Solr|Elasticsearch: 检索
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* Maven: 项目管理(Gradle)
|
2016-11-29 17:07:00 +08:00
|
|
|
|
* Qiniu|AliOSS: 云存储
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* Jenkins: 持续集成
|
|
|
|
|
* Log4J: 日志管理
|
2016-10-22 21:19:37 +08:00
|
|
|
|
* Protobuf|json: 数据传输
|
|
|
|
|
* Spring-boot
|
2016-11-17 13:49:44 +08:00
|
|
|
|
* Swagger2: 接口文档
|
2016-11-25 10:59:21 +08:00
|
|
|
|
* FastDFS: 分布式文件系统
|
2016-12-24 23:19:16 +08:00
|
|
|
|
* sequence: 分布式高效ID生产 [http://git.oschina.net/yu120/sequence](http://git.oschina.net/yu120/sequence "sequence")
|
2016-10-22 21:19:37 +08:00
|
|
|
|
|
2016-10-22 21:07:44 +08:00
|
|
|
|
|
2016-10-22 21:12:19 +08:00
|
|
|
|
# 前端技术:
|
2016-10-22 21:19:37 +08:00
|
|
|
|
* jQuery
|
|
|
|
|
* Bootstrap
|
2016-12-18 01:01:34 +08:00
|
|
|
|
* BootstrapMenu
|
|
|
|
|
* Bootstrap-table
|
2016-10-22 21:19:37 +08:00
|
|
|
|
* jQuery EasyUI
|
|
|
|
|
* AngularJs
|
|
|
|
|
* Webpack
|
|
|
|
|
* Node.js
|
|
|
|
|
* Electron
|
2016-12-18 01:01:34 +08:00
|
|
|
|
* font-awesome
|
|
|
|
|
* device
|
|
|
|
|
* fastclick
|
|
|
|
|
* malihu-custom-scrollbar-plugin
|
|
|
|
|
* material-design-iconic-font
|
|
|
|
|
* My97DatePicker
|
|
|
|
|
* waves
|
2016-12-18 00:54:24 +08:00
|
|
|
|
* zhengAdmin [基于bootstrap实现的响应式Material Design风格的通用后台管理系统](https://github.com/shuzheng/zhengAdmin "zhengAdmin")
|
2016-12-18 01:01:34 +08:00
|
|
|
|
* autoMail [邮箱地址自动补全插件](https://github.com/shuzheng/autoMail "autoMail")
|
|
|
|
|
* zheng.jprogress.js [一款模仿youtube加载进度条插件](https://github.com/shuzheng/zheng.jprogress.js "zheng.jprogress.js")
|
|
|
|
|
* zheng.jtotop.js [返回顶部插件(可以任意速度滑动到指定任意位置)](https://github.com/shuzheng/zheng.jtotop.js "zheng.jtotop.js")
|
2016-10-22 21:19:37 +08:00
|
|
|
|
|
2016-10-22 21:12:19 +08:00
|
|
|
|
|
2016-10-22 21:20:32 +08:00
|
|
|
|
# 开发环境:
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* MySql: 数据库
|
|
|
|
|
* jetty: 开发服务器
|
|
|
|
|
* Tomcat: 应用服务器
|
2016-11-29 22:46:36 +08:00
|
|
|
|
* SVN|Git: 版本管理
|
2016-10-22 21:12:19 +08:00
|
|
|
|
* Nginx: 反向代理服务器
|
|
|
|
|
* Varnish: 内存缓存
|
|
|
|
|
* Navicat for MySQL: 数据库客户端管理
|
|
|
|
|
* IntelliJ IDEA: 开发IDE
|
|
|
|
|
* PowerDesigner: 建模工具
|
2016-11-14 13:15:54 +08:00
|
|
|
|
|
2016-12-09 16:45:18 +08:00
|
|
|
|
# 开发环境搭建:
|
|
|
|
|
## 修改本地Host
|
|
|
|
|
* 127.0.0.1 upms.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 cms.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 pay.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 ucenter.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 wechat.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 api.zhangshuzheng.cn
|
|
|
|
|
* 127.0.0.1 oss.zhangshuzheng.cn
|
|
|
|
|
|
2016-11-27 00:05:52 +08:00
|
|
|
|
# 资源链接
|
|
|
|
|
* Maven [http://maven.apache.org/download.cgi](http://maven.apache.org/download.cgi "Maven")
|
|
|
|
|
* Redis [https://redis.io/download](https://redis.io/download "Redis")
|
|
|
|
|
* ActiveMQ [http://activemq.apache.org/download-archives.html](http://activemq.apache.org/download-archives.html "ActiveMQ")
|
|
|
|
|
* ZooKeeper [http://www.apache.org/dyn/closer.cgi/zookeeper/](http://www.apache.org/dyn/closer.cgi/zookeeper/ "ZooKeeper")
|
2016-12-19 17:59:26 +08:00
|
|
|
|
* Dubbo [http://dubbo.io/Download-zh.htm](http://dubbo.io/Download-zh.htm "Dubbo")
|
2016-11-27 00:05:52 +08:00
|
|
|
|
* Jenkins [http://updates.jenkins-ci.org/download/war/](http://updates.jenkins-ci.org/download/war/ "Jenkins")
|
2016-12-24 23:19:16 +08:00
|
|
|
|
* dubbo-admin-2.5.4-SNAPSHOT-jdk8 [http://download.csdn.net/download/mappingsunlight/9489736](http://download.csdn.net/download/mappingsunlight/9489736 "dubbo-admin-2.5.4-SNAPSHOT-jdk8")
|
2016-11-14 13:15:54 +08:00
|
|
|
|
|
|
|
|
|
# 数据模型
|
2016-12-09 09:33:06 +08:00
|
|
|
|
![数据库模型](project-datamodel/zheng.png)
|
2016-12-16 10:43:09 +08:00
|
|
|
|
|
2017-01-02 20:27:11 +08:00
|
|
|
|
# 拓扑图
|
|
|
|
|
![拓扑图](project-bootstrap/distributedSystem.png)
|
|
|
|
|
|
2016-12-16 10:43:09 +08:00
|
|
|
|
# License
|
|
|
|
|
MIT
|