fuce1314 / Springboot_v2
Licence: apache-2.0
SpringBoot_v2项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。
Stars: ✭ 1,093
Programming Languages
javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Springboot v2
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (-90.21%)
Mutual labels: bootstrap, admin, responsive
Django Admin Bootstrap
Responsive Theme for Django Admin With Sidebar Menu
Stars: ✭ 787 (-28%)
Mutual labels: bootstrap, admin, responsive
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+8.6%)
Mutual labels: bootstrap, admin, responsive
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (-89.94%)
Mutual labels: bootstrap, admin, responsive
Pro Sidebar Template
Responsive sidebar template based on bootstrap
Stars: ✭ 623 (-43%)
Mutual labels: bootstrap, responsive
Ruoyi Vue
(RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统
Stars: ✭ 596 (-45.47%)
Mutual labels: springboot, admin
Bootstrap Dark
The Definitive Guide to Dark Mode and Bootstrap 4 - A proof of concept
Stars: ✭ 54 (-95.06%)
Mutual labels: bootstrap, responsive
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (-35.59%)
Mutual labels: bootstrap, admin
Sleek Dashboard
Sleek Dashboard - Free Bootstrap 4 Admin Template and UI Kit
Stars: ✭ 690 (-36.87%)
Mutual labels: bootstrap, admin
Bootstrap 5 Templates
A collection of free Bootstrap 5 templates designed with Material Design 2.0. Admin dashboard, e-commerce, landing pages & much more.
Stars: ✭ 722 (-33.94%)
Mutual labels: bootstrap, admin
Rest Admin
Restful Admin Dashboard Based on Vue and Boostrap 4
Stars: ✭ 565 (-48.31%)
Mutual labels: bootstrap, admin
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+2030.47%)
Mutual labels: admin, responsive
Responsiveframework
Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/
Stars: ✭ 476 (-56.45%)
Mutual labels: bootstrap, responsive
Fs Blog
个人博客,Spring Boot 开山之作,采用 Spring Boot + MyBatis,前端 Bootstrap + LayUI,支持程序员非常青睐的轻量化的 Markdown 编辑器 Editor.md,支持标签分类检索
Stars: ✭ 700 (-35.96%)
Mutual labels: springboot, bootstrap
Bootstrap Email
Bootstrap 4 (and soon 5) stylesheet, compiler, and inliner for responsive and consistent emails with the Bootstrap syntax you know and love.
Stars: ✭ 781 (-28.55%)
Mutual labels: bootstrap, responsive
Jet Bridge
Jet Bridge – Admin Panel Framework for your application
Stars: ✭ 904 (-17.29%)
Mutual labels: admin, responsive
Adminx
AdminX – a free and open source admin control panel based on Bootstrap 4.x
Stars: ✭ 36 (-96.71%)
Mutual labels: bootstrap, admin
Spring Boot Angular2
spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
Stars: ✭ 396 (-63.77%)
Mutual labels: springboot, bootstrap
前言
- SpringBoot_v2项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。
- 服务器演示:http://47.99.218.99:8080/springboot_v2/ 账号:admin 密码:admin
项目介绍
基于springboot的一款纯净脚手架。努力打造一款免费开源、注释全、文档全适合新手学习、方便快速二次开发的框架。
1. 没有基础版、没有vip版本、没有付费群、没有收费二维码
2. 遵循开源真谛,一切免费才是真开源
3. 不求回报,你使用快乐就是这个项目最大的快乐!
组织架构
Springboot
├─doc 项目SQL语句以及文档
│
├─common 公共模块
│ ├─base Base继承通用类
│ ├─conf springBoot所有配置
│ ├─domain 前台返回包
│ ├─druid druid连接池
│ ├─exception 异常处理包
│ ├─file 文件上传
│ ├─interceptor 拦截器
│ ├─log 日志记录AOP
│ ├─domain 前台返回包
│ ├─quartz Spring定时器
│ └─support 工具包
│
├─controller 请求访问模块
│ ├─admin 模版后台请求包
│ ├─websocket websoket消息请求
│ └─HomeController.java 首页访问类
│
├─Mapper Dao模块
│ ├─auto mybatis-generator.xml自动生成Dao
│ └─custom 自定义Dao
│
├─Model 实体类模块
│ ├─auto mybatis-generator.xml自动生成实体包
│ └─custom 自定义实体
│
├─Service 服务层模块[没写抽象模块,因为我觉得没什么用,可能我能力不足]
│
├─shiro 权限模块
│ ├─config shiro配置
│ ├─service shiro服务层
│ └─util shiro通用方法
│
├─util 工具模块
│
├─SpringbootSwagger2Application 启动类
│
├─SpringbootWebInitializer tomcat启动类
│
├─test 测试类
│
├─resources 配置文件夹
│ ├─ehcache shiro权限缓存配置
│ ├─generator 自动生成模板以及配置目录
│ │ ├─MyBatisGenerator mybates半自动生成工具
│ │ │ ├─1.bat 执行批处理
│ │ │ ├─generator.xml generator配置文件
│ │ │ ├─mybatis-generator-core-1.3.2.jar generator1.3.2版本
│ │ │ ├─mybatis-generator-core-1.3.7.jar generator1.3.7版本【默认】
│ │ │ └─mysqldriver.jar mysql驱动【该驱动为8.0一下的版本不支持8.0自行替换】
│ │ │
│ │ ├─template 模板文件假
│ │ │ ├─controller anction模板
│ │ │ ├─html html页面模板
│ │ │ ├─mapper dao模板
│ │ │ ├─mapperxml daoxml模板
│ │ │ ├─model 实体模板
│ │ │ ├─service service模板
│ │ │ └─sql sql模板
│ │ │
│ │ └─generator.properties 自动生成配置文件
│ │
│ ├─mybatis mybatis Mapper.xml生成文件夹
│ │ ├─auto自动生成的Mapper.xml文件夹
│ │ └─custom 手写Mapper.xml文件夹
│ │
│ ├─static 静态文件存放文件夹[后台模版就放在此文件夹下面。所有的模版页面都在下面]
│ │ ├─admin 后台目录存放
│ │ │ ├─assets js、css存放路径
│ │ │ ├─assets js、css存放路径
│ │ │ └─bootstarp 后台模板存放路径
│ │ ├─js js存放
│ │ └─login 登录页面js、css、image
│ │
│ ├─templates 前台HTML存放文件夹
│ │ ├─admin 动态后台html模板
│ │ ├─error 错误页面html模板
│ │ └─login.html 登录html页面
│ │
│ ├─application-dev.yml 开发环境配置
│ ├─application-prod.yml 生产环境配置
│ ├─application.yml springboot配置
│ ├─banner1.txt springboot 启动动画
│ ├─logback.xml log4j配置文件
│ └─mybatis-generator.xml mybates自动生成 xml、dao、model
│
└─pom.xml maven.xml
技术选项
技术 | 名称 | 官网 | 备注 |
---|---|---|---|
springboot | springboot框架 | ||
Apache Shiro | 权限框架 | ||
MyBatis Generator | 代码生成 | ||
PageHelper | MyBatis物理分页插件 | ||
hikari | 数据库连接池 | ||
Thymeleaf | 模板引擎 | ||
Log4J | 日志组件 | ||
Swagger2 | 接口测试框架 | ||
Maven | 项目构建管理 | ||
Websocket | websocket消息通知 | ||
velocity | 模板引擎 | ||
kaptcha | google验证码 | ||
devtools | 热部署 | ||
GSON | 谷歌json | ||
druid | 阿里连接池 | ||
quartz | 定时框架 |
前端技术
技术 | 名称 | 官网 | 备注 |
---|---|---|---|
jQuery | 函式库 | ||
bootstrap | 前端页面框架 | ||
Font-awesome | 字体图标 | ||
jquery.validate | jquery验证插件 | ||
vue | 渐进式框架 | ||
ladda.min.js | 按钮加载js | ||
bootstrap-table | 表格组件 | ||
layer.js | 弹窗组件 | ||
jquery.blockUI.js | 遮蔽层组件 | ||
bootstrap-table-export.js | 前台导出组件 | ||
bootstrap-treeview | 树结构组件 | ||
bootstrap-colorpicker | 颜色组件 | ||
dropzone | 文件上传 | ||
bootstrap-wysihtml5 | 富文本 | ||
bootstrap-switch | 开关按钮 | ||
UEditor | 百度富文本 |
jar版本
名称 | 版本 | 备注 |
---|---|---|
springBoot | 2.0.0.RELEASE | |
mybatis-spring 1.3.2 | 1.3.2 | |
swagger2 | 2.7.0 | |
swagger-ui | 2.7.0 | |
gson | 2.8.2 | |
pagehelper | 4.1.4 | |
mysql | 5.1.40 OR 8.0.11 | |
shiro | 1.4.0 | |
thymeleaf-extras-shiro | 2.0.0 | |
thymeleaf | 2.0.0.RELEASE | |
commons-lang3 | 3.7 | |
commons-lang | 2.4 | |
commons-io | 2.5 | |
commons-fileupload | 1.3.3 | |
spring-boot-devtools | 2.0.0.RELEASE | |
hutool | 4.1.10 | |
druid | 1.1.10 | |
kaptcha | 2.3.2 | |
velocity | 1.7 |
开发环境
- JDK8.0
- mysql5.7以上
- eclipse
资源下载
- JDK8 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Maven http://maven.apache.org/download.cgi
部署流程
- 导入doc文件夹里面的springbootv2.sql到数据库
- 确认自己的mysql版本 进行修改jar 在pom.xml 73-84行
- 修改application-dev.yml 里面自己数据库版本对应的jdbc链接
- 正常启动run SpringbootSwagger2Application.java
打包发布编译流程
- maven编译安装pom.xml文件即可打包成war
登陆地址
- 服务器:http://47.99.218.99:8080/springboot_v2/ 该数据库只有查询权限跟新增权限,所以修改以及删除会报错
- 本地 http://localhost:8080 默认帐号密码: admin/admin
- swagger http://localhost:8080/swagger-ui.html
启动类
- SpringbootStart 启动类
数据库模型
界面风格
![]() |
![]() |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
后台代码注释风格
![]() |
![]() |
---|---|
![]() |
![]() |
前端代码注释风格
代码自动生成功能
全局配置想生成到什么地方就生成到什么地方,自动执行权限sql
后期功能
功能 | 描述 |
---|---|
字典表 | 完成 |
部署文档 | 完成 |
文件上传 | 完成 |
再次优化 | 完成 |
add跟eidt页面js写出js文件 | 完成 |
500页面 | 完成 |
404页面 | 完成 |
权限错误页面 | 完成 |
情况说明
- 如果您喜欢Springboot_v2,可以clone下来使用,您的star将是本人前进的动力,如果您有技术疑问,可以加群交流。
- 如果Springboot_v2对您有一点帮助,您可以点个star,就是对作者最大的支持了。
- Springboot_v2脚手架会一直更新下去。
- 需要进项目一起开发的请进群私聊我,让我们一起维护这个开发项目
- 很多人反应说404,那是因为其他页面根本没做,因为权限脚手架只在系统设置里面。我留着其他链接,是方便你们根据需求自行添加页面
开发者联系
有任何问题可以提出
注意事项
- 所有的model字段解释都在mysql的字段注释里面,请具体查看mysql的字段注解
Github
- 所有的github代码 以码云更新为准
- https://github.com/fuce1314/Springboot_v2
wiki
项目视频列表
更新日志
参与开源作者
名字 | 联系方式 | 贡献功能 | 其他 |
---|---|---|---|
霜花似雪 | QQ2510736432 | bug修改 | |
modelc | QQ1219171582 | 框架结构整理 | |
ok 克里斯汀 | 增加 druid 连接池 | ||
JanHezz | QQ975532442 | 引入了 quartz 框架 | 个人博客推荐:http://www.luckyhe.com |
一休 | QQ438081243 | 添加字典表模块 | 个人码云地址:https://gitee.com/notutu |
愿得一人心 | QQ1065001748 | 修改 try 流 bug | 个人博客推荐:https://www.songyaxu.com |
Aini-H | QQ1057718016 | 七牛云上传 |
借鉴项目列表
- https://gitee.com/renrenio/renren-generator 人人得代码自动生成,改成自动录入数据库
- https://gitee.com/y_project/RuoYi-fast 借鉴ry.js
AgileBPM GVP项目
专注于解决企业工作流实施难的问题 https://gitee.com/agile-bpm
Java公众号推荐:
精品开源项目推荐
使用v2做得系统
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].