19 Star 56 Fork 36

liuweijw / fw-cloud-framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Build Status Coverage Status Downloads License


fw-cloud-framework

基于springcloud全家桶开发分布式框架(支持oauth2认证授权、统一下单、公众号服务、Shardingdbc分库分表、常见服务监控、链路监控、异步日志、redis缓存等功能),实现基于Vue全家桶等前后端分离项目工程。其它说明

项目特点

  • 框架方面独立、模块相互之间非常独立(feign api 独立工程,方便调用),第三方工程服务能够轻松接入
  • 服务通过网关统一接入,鉴权(网关和业务模块权限独立分开)、监控、日志、缓存等统计分析更加清晰
  • 采用分布式模式,部署方便,易于扩展
  • 统一下单服务接入(目前只支持微信、后续扩展支付宝等渠道)
  • 微信公众号服务接入(服务提供多公众号配置、多子项目调用、公众号相关接口等)
  • 采用分布式模式,docker部署方便,易于扩展
  • 前端可以基于element ui 、Vue全家桶、React 等主流,实现前后端分离

技术模块相关说明

1、 fw-cloud-system 模块

  • fw-cloud-system-eureka [端口1001] 服务注册中心在线访问
  • fw-cloud-system-config [端口1002] 服务配置和发现远程配置 guide
  • fw-cloud-system-gateway [端口1003] zuul服务网关(外部接口接入入口)
  • fw-cloud-system-auth [端口1004] 权限接入服务(支持oauth2、单点登录) 查看详情 guide

2、fw-cloud-core 基础公共模块

  • cloud-commons 抽离底层基础部分依赖 guide
  • fw-cloud-core-beans 常用全局bean
  • fw-cloud-core-commons 常量、切面等
  • fw-cloud-core-configuration 基础配置
  • fw-cloud-core-exception Exception定义
  • fw-cloud-core-utils 常用工具类

3、fw-cloud-business 业务模块服务模块

  • fw-cloud-business-commons business各业务公共组件等
  • fw-cloud-business-admin [端口2002] 权限管理等接口服务
  • fw-cloud-business-sso [端口3001] 单点登录模块接入demo
  • fw-cloud-business-pay [端口2003] 微信等支付统一下单模块服务
  • fw-cloud-business-pay-demo [端口待定] 微信、支付宝等支付相关demo待开发
  • fw-cloud-business-wechat [端口2004] 微信公众号模块服务
  • fw-cloud-business-wechat-demo [端口待定] 微信公众号相关demo待开发

4、fw-cloud-api 抽离feign api供其它工程调用

  • fw-cloud-system-api admin工程相关的feign api

5、系统监控模块

  • fw-cloud-monitor-monitor [端口1010] 服务状态监控服务在线访问
  • fw-cloud-monitor-zipkin-db [端口1011] 数据库db监控服务在线访问
  • fw-cloud-monitor-zipkin-elk [端口待定] elk监控
  • fw-cloud-system-xxx [端口待定] 缓存监控
  • fw-cloud-system-xxx [端口待定] 日志等监控

6、前端模块 Vue2-Admin

  • 基于element ui 的Vue全家桶
  • Webpack3
  • Axios
  • Nodejs
  • 初始学习Vue项目,请移步参考 Vue2-All

开发部署环境

  • Redis
  • MySQL
  • RabbitMQ
  • Java8
  • Lombok
  • Feign
  • docker
  • nginx
  • git

项目说明

  • 从github 获取代码 guide
  • 从gitee 获取代码获取 guide
  • xxx 待开发和完善的模块
  • 登录账户密码 superAdmin\test1234 | admin\test1234 | test\test1234
  • 项目部分技术配置说明guide
  • 项目配置文件加密说明guide
  • 服务启动说明guide
  • Auth模块启动说明guide
  • SSO单点登录模块说明guide
  • pay统一下单模块扩展依赖guide

学习交流

image

常见问题

  • 找不到带Q开头的类
  • lombok 安装
  • 项目导入工程遇到 maven 插件问题
  • 上述问题解决guide

服务相关图片

image

image

image image image image image

image image

MIT License Copyright (c) 2018 liuweijw Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于springcloud全家桶开发分布式框架(支持oauth2认证授权、SSO登录、统一下单、微信公众号服务、Shardingdbc分库分表、常见服务监控、链路监控、异步日志、redis缓存等功能),实现基于Vue全家桶等前后端分离项目工程 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/liuweijw/fw-cloud-framework.git
git@gitee.com:liuweijw/fw-cloud-framework.git
liuweijw
fw-cloud-framework
fw-cloud-framework
master

搜索帮助