# micro-fast **Repository Path**: nibilly/micro-fast ## Basic Information - **Project Name**: micro-fast - **Description**: 使用springboot、mybatis、springcould、redis、rabbitmq、flume、mysql、jwt、docker、vue搭建一套微服务解决方案 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/kklt1996/micro-fast - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 245 - **Created**: 2018-02-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 欢迎查看ms项目说明 ## 项目简介 `micro-fast`使用mybatis,spring系列框架作为基础,致力于打造一套中小企业系统解决方案.项目中对常用技术进行封装便于复用以及提高 开发效率,还提供了一个借助springcloud实现的一个分布式项目. ## 项目概览 - `mybatis-generator-extend-maven-plugin`模块是便于快速根据条件生成mybatis-generator-plugin配置文件的maven扩展插件,降低开 发中重复性耗时工作,此插件可在其他项目中单独使用。 - 合理的拆分,拥有众多的可复用模块,开箱即用 - 高可用注册中心 - 高可用配置配置管理中心,通过`rabbitmq`支持配置刷新 - 服务网关 - 监控中心 - 基于oauth2,jwt的认证中心 - 用户中心 - 权限管理中心 - 拥有配套的后台管理界面[ms-admin-ui](https://gitee.com/kklt1996/ms-admin-ui) - 支持docker容器部署 - 使用flume收集系统日志,便于日志分析 - 热点数据使用redis缓存 - 完善的项目使用文档 - 用心的开发者 ## 整体技术选型 技术名称 | 版本 | 技术使用 | 地址 ------- | ------- |------- |------- jdk | 1.8.0_144 | java开发环境 | [官网](http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html) mysql | 5.7 | 关系型数据库 | [官网](https://www.mysql.com/downloads/) redis | 3.0.6 | 缓存数据库 | [官网](https://redis.io/download),[中文站](http://www.redis.cn/) maven | 3.3.9 | 项目管理工具 | [官网](http://maven.apache.org/) docker | 1.12.6 | 容器技术 | [官网](https://www.docker.com/) flume|1.8.0| 系统日志收集|[官网](http://flume.apache.org) rabbitmq|3.7.2| 消息总线|[官网](http://www.rabbitmq.com/) elasticsearch|6.1.2|日志分析引擎|[官网](https://www.elastic.co/products/elasticsearch) fastdfs| 5.11 |分布式文件存储|[官网](https://github.com/happyfish100/fastdfs) springBoot | 1.5.9.RELEASE | 微服务入门框架 | [官网](https://projects.spring.io/spring-boot/) springCloud | Edgware.RELEASE | 微服务框架 | [官网](http://projects.spring.io/spring-cloud/),[中文文档](https://springcloud.cc/) mybatis | 3.4.4 | 数据持久化框架 | [官网](http://www.mybatis.org/mybatis-3/zh/index.html) mybatis-generator | 1.3.5 | mybatis代码生成 | [github地址](https://github.com/mybatis/generator) mybatis-pagehelper | 4.1.0 | mybatis分页插件 | [github地址](https://github.com/pagehelper/Mybatis-PageHelper) nodejs |v8.4.0 | web项目开发,静态资源http服务器 | [官网](https://nodejs.org/en/) npm | 3.10.7 | nodejs模块管理工具 | [官网](https://www.npmjs.com/) vuejs | 2.5.2 | 前端视图框架| [官网](https://cn.vuejs.org/v2/guide/installation.html) vue-router | 3.0.1 | 前端路由 | [官网](https://router.vuejs.org/zh-cn/) vuex| 3.0.1 | 单向数据流 | [官网](https://vuex.vuejs.org/zh-cn/) axios| 0.17.1 | ajax请求框架 | [github地址](https://github.com/axios/axios) elemnet-ui | 2.0.8 | 前端视图库 | [官网](http://element-cn.eleme.io/#/zh-CN/component/installation) swagger | 2.6.1 | 文档生成 | [官网](https://swagger.io/) lombok | 1.16.6.1|代码工具|[官网](https://projectlombok.org/features/all) ## 开发界面 ![](./all/ms/idea.png) ## 模块介绍 ``` lua micro-fast ├── boot-starter -- 借助spring boot自建快速启动项目 | ├── boot-starter-common -- ms系统的通用模块 | ├── boot-starter-elasticsearch -- elasticsearch快速启用 | ├── boot-starter-fastdfs-client -- fastdfs客户端 | ├── boot-starter-maven-plugin -- maven的一系列插件 | | └── mybatis-generator-extend-maven-plugin -- 用于简化mybatis-generator生成代码的流程 | ├── boot-starter-security-oauth -- 权限认证  | ├── boot-starter-ssm -- ssm公共配置 | └── boot-starter-util -- 常用工具 ├── ms -- 分布式系统 | ├── config-server -- 配置管理中心 | ├── gateway -- 服务网关 | ├── monitor-center -- 监控中心 | ├── oauth -- 认证中心 | ├── register-center1 -- 高可用注册中心 | ├── register-center2 -- 高可用注册中心 | ├── ucenter -- 用户中心 | └── upms -- 权限管理系统 ├── ms-web -- 业务系统界面搭建示例 └── all-in-one -- ms系统的集中式实现 ``` ## ms分布式系统架构图 ![](./all/ms/架构图.png) ## swagger系统文档聚合 ![](./all/ms/swagger.png) ## 监控中心 ![](./all/ms/monitor.png) ## 各模块的详细介绍 - `boot-starter`项目介绍[README.md](boot-starter/README.md) - `ms`项目介绍[README.md](ms/README.md) - `ms-web`项目介绍[README.md](ms-web/README.md) - `all-in-one`项目介绍[README.md](all-in-one/README.md)