# spring-flex **Repository Path**: lzx0604/spring-flex ## Basic Information - **Project Name**: spring-flex - **Description**: 简化从0到1 避免重复造轮子 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-01-29 - **Last Updated**: 2025-12-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #

spring-flex

xxl-jobmybatis-flexspring-bootkkFileViewhutool magic-apiflywayflowablefork

本项目是整合常见模块,简化从0到1的过程

# 项目说明 项目特性:flyway自动初始化表,maven插件一键开启/禁用模块,打包后文件统一位置 目前支持的模块有 xxl-job(定时任务) sa-token(权限管理) magic-api(浏览器界面开发) kkfileview(文件预览) mybatis-flex(mybatis增强)

# 依赖环境说明 - jdk 17 - mysql 8 # 开始 1.数据库新建库 - ``` flex_work ``` - ``` flex_xxl_job ``` 2.修改 - spring-flex-work/src/main/resources/application-dev.yml - spring-flex-xxl-job/xxl-job-admin/src/main/resources/application.properties mysql数据源ip加端口 (库名尽量不要改 改库名要同步修改/resources/db/migration/*.sql里面的建库语句) 3.启动 # 工作流 由于本项目没有集成flowableui,所以要先通过https://demo.bpmn.io/new创建个流程图(bpmn2.0) 再导入到项目进行开发 或者访问https://github.com/flowable/flowable-engine/releases下载发行版 解压后有flowable-ui.war 访问http://localhost:8080/flowable-ui 账号admin 密码test 创建流程图 教程可以访问 https://blog.csdn.net/gwd1154978352/article/details/138953364 https://tkjohn.github.io/flowable-userguide/#%20introduction(推荐) # 相关文档 sa-token(权限管理):[点我直达](https://sa-token.cc/doc.html#/use/login-auth) kkfileview(文件预览):[点我直达](https://kkfileview.keking.cn/zh-cn/docs/home.html) xxl-job(定时任务):[点我直达](https://www.xuxueli.com/xxl-job/#%E3%80%8A%E5%88%86%E5%B8%83%E5%BC%8F%E4%BB%BB%E5%8A%A1%E8%B0%83%E5%BA%A6%E5%B9%B3%E5%8F%B0XXL-JOB%E3%80%8B) magic-api(浏览器界面开发):[点我直达](https://www.ssssssss.org/magic-api/pages/quick/intro/) mybatis-flex(mybatis增强):[点我直达](https://mybatis-flex.com/zh/intro/getting-started.html) flowable集成springboot:[点我直达](https://tkjohn.github.io/flowable-userguide/#springSpringBoot) # 联系作者 微信