12 Star 41 Fork 29

mxpio / mxpio-boot

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

Mxpio-Boot(孵化中)

GitHub release (latest by date including pre-releases) GitHub GitHub top language OSCS Status

1.简介

MxpIO Boot基于Spring Boot研发的开发框架,目前处于孵化中。MxpIO Boot采用宽泛的MIT开源协议,完全开源。

在线文档:mxpio-boot

前端地址:Mxpio-Boot-Antd-Vue

2.后端技术栈

  • Spring Boot 2.5.14
  • Spring Data Jpa
  • Spring Data Redis
  • Spring Security
  • Spring Cache
  • Alibaba Druid
  • SpringDoc
  • Jwt
  • Poi
  • Flowable
  • Quartz

2.1模块继承关系

MxpIO-Boot采用Spring Boot风格的模块管理。通过mxpio-boot-base-autoconfigure模块管理各个模块的自动装配,具体模块之间的继承关系如下:

mxpio-boot-parent
├─mxpio-boot-base-autoconfigure // 自动装配模块
├─mxpio-boot-base-common // 公共模块
├─mxpio-boot-base-cache // 缓存接口模块
├─mxpio-boot-base-jpa // JPA模块
├─mxpio-boot-base-log // 日志模块
├─mxpio-boot-base-expression // 表达式模块
├─mxpio-boot-base-security // 权鉴模块
├─mxpio-boot-base-system // 系统管理模块
├─mxpio-boot-base-excel // Excel模块
├─mxpio-boot-base-camunda // 工作流模块
├─mxpio-boot-base-quartz // Job管理模块
├─mxpio-boot-base-message // 消息通知模块
├─mxpio-boot-base-multitenant // 多租户
├─mxpio-boot-base-dbconsole // 云数据库
├─mxpio-boot-module-cache-redis // 缓存Redis实现
├─mxpio-boot-module-cache-caffeine // 缓存Caffeine实现(与Redis二选一)
└─mxpio-boot-webapp // 业务项目

3.中间件技术栈

  • 关系型数据库:Mysql/Oracle/Mssql/Postgresql等
  • 缓存中间件:Redis

4.前端技术栈(孵化中)

前端项目基于优秀的Vue开源项目Vue-Antd-Admin开发。

  • Vue
  • Vuex
  • Vue-Cli
  • Vue-Router
  • Vue-i18n
  • Ant-Design-Vue
  • Vxe-Table
  • Axios
  • Viser

5.演示环境

筹备中.

6.快速开始

6.1运行示例项目

示例代码库:https://gitee.com/i_mxpio/mxpio-boot-example

检出代码

git clone https://gitee.com/i_mxpio/mxpio-boot-example.git

修改配置文件resources/application-dev.yml

server:
  # 服务端口号
  port: 9005
  tomcat:
    max-swallow-size: -1
  servlet:
    # 服务跟路径
    context-path: 
spring:
  servlet:
     multipart:
        max-file-size: 10MB
        max-request-size: 10MB
  jpa:
    open-in-view: false
    showSql: true
    hibernate:
      ddl-auto: update
  # 数据库配置
  datasource:
    url: jdbc:mysql://localhost:3306/mboot?characterEncoding=utf-8&useSSL=true
    username: root
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    sql-script-encoding: UTF-8
    continue-on-error: true
    initialization-mode: ALWAYS
  # redis配置
  redis:
    host: 127.0.0.1
    port: 6379
    password:
    timeout:
    pool:
      maxActive: 8
      maxWait: -1
      maxIdle: 8
      minIdle: 0
...

编译打包

cd mxpio-boot-example
mvn clean package spring-boot:repackage

启动项目

java -jar mxpio-boot-example\target\mxpio-boot-example-1.0.12-beta.9.jar

6.2新建Maven项目运行

修改pom.xml文件

<!-- 继承mxpio-boot-parent -->
<parent>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-parent</artifactId>
	<version>1.0.12-beta.9</version>
</parent>
<!-- 添加模块依赖 -->
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-autoconfigure</artifactId>
</dependency>
<!-- <dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-module-cache-redis</artifactId>
</dependency> -->
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-module-cache-caffeine</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-security</artifactId>
</dependency>
<!-- <dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-multitenant</artifactId>
</dependency> -->
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-excel</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-quartz</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-camunda</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-filestorage</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-log</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-expression</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-system</artifactId>
</dependency>
<dependency>
	<groupId>com.mxpio</groupId>
	<artifactId>mxpio-boot-base-dbconsole</artifactId>
</dependency>

修改配置文件resources/application-dev.yml的数据库信息和服务端口等信息

server:
  # 服务端口号
  port: 9005
  tomcat:
    max-swallow-size: -1
  servlet:
    # 服务跟路径
    context-path: 
spring:
  servlet:
     multipart:
        max-file-size: 10MB
        max-request-size: 10MB
  jpa:
    open-in-view: false
    showSql: true
    hibernate:
      ddl-auto: update
  # 数据库配置
  datasource:
    url: jdbc:mysql://localhost:3306/mboot?characterEncoding=utf-8&useSSL=true
    username: root
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    sql-script-encoding: UTF-8
    continue-on-error: true
    initialization-mode: ALWAYS
  # redis配置
  redis:
    host: 127.0.0.1
    port: 6379
    password:
    timeout:
    pool:
      maxActive: 8
      maxWait: -1
      maxIdle: 8
      minIdle: 0
...

编译打包

cd mxpio-boot-example
mvn clean package spring-boot:repackage

启动项目

java -jar target\mxpio-boot-example-1.0.12-beta.9.jar

6.3源码运行

检出代码

git clone https://gitee.com/i_mxpio/mxpio-boot.git

修改配置文件mxpio-boot-webapp/resources/application-dev.yml的数据库信息和服务端口等信息

server:
  # 服务端口号
  port: 9005
  tomcat:
    max-swallow-size: -1
  servlet:
    # 服务跟路径
    context-path: 
spring:
  servlet:
     multipart:
        max-file-size: 10MB
        max-request-size: 10MB
  jpa:
    open-in-view: false
    showSql: true
    hibernate:
      ddl-auto: update
  # 数据库配置
  datasource:
    url: jdbc:mysql://localhost:3306/mboot?characterEncoding=utf-8&useSSL=true
    username: root
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    sql-script-encoding: UTF-8
    continue-on-error: true
    initialization-mode: ALWAYS
  # redis配置
  redis:
    host: 127.0.0.1
    port: 6379
    password:
    timeout:
    pool:
      maxActive: 8
      maxWait: -1
      maxIdle: 8
      minIdle: 0
...

编译打包

cd mxpio-boot
mvn clean package spring-boot:repackage

启动项目

java -jar mxpio-boot-webapp\target\mxpio-boot-webapp-1.0.12-beta.9.jar

7.开发计划

模块 功能 后端 前端 文档
权限管理 用户权限 已完成 已完成 暂无
角色管理 已完成 已完成 mxpio-boot-base-security
菜单管理 已完成 已完成 暂无
部门管理 已完成 已完成 暂无
数据权限 已完成 已完成 暂无
组件权限 已完成 已完成 暂无
字段权限 未开始 未开始 暂无
表达式模块 已完成 不涉及 mxpio-boot-base-expression
系统监控 性能监控 已完成 已完成 暂无
日志监控 进行中 未开始 暂无
字典配置 字典管理 已完成 已完成 暂无
字典翻译 已完成 已完成 暂无
字典缓存 未开始 不涉及 暂无
JPA工具 JPA工具 已完成 不涉及 mxpio-boot-base-jpa
Excel 导入管理 已完成 已完成 暂无
导出管理 已完成 已完成 暂无
工作流 进行中 进行中 暂无
任务调度 已完成 已完成 暂无
报表模块 未开始 未开始 暂无
图表模块 未开始 未开始 暂无
多租户 进行中 未开始 暂无
代码生成 进行中 未开始 暂无

8.截图

加载失败

加载失败

加载失败

加载失败

加载失败

加载失败

加载失败

加载失败

9.相关开源项目

MIT License Copyright (c) 2019 mxpio-boot 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.

简介

MxpIO-Boot基于spring-boot研发的开发框架 展开 收起
Java 等 2 种语言
MIT
取消

发行版 (22)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/i_mxpio/mxpio-boot.git
git@gitee.com:i_mxpio/mxpio-boot.git
i_mxpio
mxpio-boot
mxpio-boot
master

搜索帮助