{"id":13506649,"url":"https://github.com/Exrick/xboot","last_synced_at":"2025-03-30T05:31:15.177Z","repository":{"id":39949502,"uuid":"130711968","full_name":"Exrick/xboot","owner":"Exrick","description":"基于Spring Boot 2.x的一站式前后端分离快速开发平台XBoot 微信小程序+Uniapp 前端：Vue+iView Admin 后端：Spring Boot 2.x/Spring Security/JWT/JPA+Mybatis-Plus/Redis/Elasticsearch/Activiti 分布式限流/同步锁/验证码/SnowFlake雪花算法ID 动态权限 数据权限 工作流 代码生成 定时任务 社交账号 短信登录 单点登录 OAuth2开放平台 客服机器人 数据大屏 暗黑模式","archived":false,"fork":false,"pushed_at":"2023-06-14T22:44:01.000Z","size":5309,"stargazers_count":3836,"open_issues_count":11,"forks_count":1303,"subscribers_count":169,"default_branch":"master","last_synced_at":"2024-10-29T15:20:05.890Z","etag":null,"topics":["activiti","admin","dark-mode","dashboard","elasticsearch","iview","jpa","jwt","mybatis-plus","mysql","oauth2","quartz","redis","spring-boot","spring-security","uniapp","vue","wechat-app","xboot"],"latest_commit_sha":null,"homepage":"http://xboot.exrick.cn","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-04-23T14:44:18.000Z","updated_at":"2024-10-29T15:18:45.000Z","dependencies_parsed_at":"2022-08-09T15:36:44.062Z","dependency_job_id":"d40b95a2-2c85-4d8d-979c-fe9bcede564b","html_url":"https://github.com/Exrick/xboot","commit_stats":null,"previous_names":["exrick/x-boot"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exrick%2Fxboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exrick%2Fxboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exrick%2Fxboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exrick%2Fxboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exrick","download_url":"https://codeload.github.com/Exrick/xboot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281099,"owners_count":20752203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activiti","admin","dark-mode","dashboard","elasticsearch","iview","jpa","jwt","mybatis-plus","mysql","oauth2","quartz","redis","spring-boot","spring-security","uniapp","vue","wechat-app","xboot"],"created_at":"2024-08-01T01:00:55.014Z","updated_at":"2025-03-30T05:31:14.540Z","avatar_url":"https://github.com/Exrick.png","language":"Java","readme":"# XBoot\n[![AUR](https://img.shields.io/badge/GPL-v3-red)](https://github.com/Exrick/xmall/blob/master/License)\n[![](https://img.shields.io/badge/Author-Exrick-orange.svg)](http://blog.exrick.cn)\n[![](https://img.shields.io/badge/version-3.3.4-brightgreen.svg)](https://github.com/Exrick/x-boot)\n[![GitHub stars](https://img.shields.io/github/stars/Exrick/x-boot.svg?style=social\u0026label=Stars)](https://github.com/Exrick/x-boot)\n[![GitHub forks](https://img.shields.io/github/forks/Exrick/x-boot.svg?style=social\u0026label=Fork)](https://github.com/Exrick/x-boot)\n\n### 宣传视频\n- [作者亲自制作XBoot文字快闪宣传视频](http://www.bilibili.com/av30284667)\n- [作者亲自制作其他项目宣传视频](https://www.bilibili.com/video/av23121122/)\n### 宣传官网\n- 官网地址：http://xb.exrick.cn\n- 官网源码：https://github.com/Exrick/xboot-show\n### 在线Demo\n- 在线Demo：http://xboot.exrick.cn\n- 单点登录测试页：http://sso.exrick.cn\n- 统一认证平台访问地址：http://xboot.exrick.cn/authorize\n### 最新最全面在线文档\nhttps://www.kancloud.cn/exrick/xboot/content\n### 前台基于Vue+iView项目地址： [xboot-front](https://github.com/Exrick/xboot-front)\n### 版本说明\n- xboot-fast：单应用版本\n- xboot-module：多模块版本\n### 项目简介 \n- [x] 代码拥有详细注释 无复杂逻辑 核心使用 SpringBoot 2.4.8\n- [x] JWT / 基于Redis可配置单设备登录Token交互 任意切换 提供开放平台、OAuth2认证中心 支持点单登录\n- [x] JPA + Mybatis-Plus 任意切换\n- [x] 操作日志记录方式任意切换Mysql或Elasticseach记录\n- [x] Java、Vue、SQL代码生成效率翻四倍\n- [x] 动态权限管理、多维度轻松控制权限按钮显示、数据权限管理\n- [x] 支持社交账号、短信等多方式登录 不干涉原用户数据 实现第三方账号管理\n- [x] 基于Websocket消息推送管理、基于Quartz定时任务管理、数据字典管理\n- [x] 后台提供分布式限流、同步锁、验证码等工具类 前端提供丰富Vue模版\n- [x] 可动态配置短信、邮件、Vaptcha验证码等\n- [x] 为什么要前后端分离\n    - 都什么时代了还在用JQuery？ \n\n![](https://ooo.0o0.ooo/2019/04/29/5cc70cac4b7a4.png)\n\n### 截图预览\n\n- PC\n\n![QQ截图20180826163917.png](https://ooo.0o0.ooo/2021/07/01/t6RXqn8LeaY5Nu1.png)\n\n![QQ截图20180826164058.png](https://ooo.0o0.ooo/2021/07/01/TQZqrxog4ufX2SR.png)\n\n![QQ截图20180826164144.png](https://ooo.0o0.ooo/2021/07/01/t7RdWhkbzZCawce.png)\n\n- iPad Mini 5\n\n\u003cimg src=https://ooo.0o0.ooo/2021/07/01/gXl5OKkJHEIwf3N.png width=600/\u003e\n\n- iPhone X\n\n\u003cimg src=https://ooo.0o0.ooo/2021/07/01/LdNPiKMlOESvfW8.png width=300/\u003e\n\n\n### [完整版截图细节展示](https://github.com/Exrick/x-boot/wiki/%E5%AE%8C%E6%95%B4%E7%89%88%E6%88%AA%E5%9B%BE%E7%BB%86%E8%8A%82%E5%B1%95%E7%A4%BA)\n\n### 系统架构\n\n\u003cimg src=\"https://ooo.0o0.ooo/2019/05/01/5cc87695f109d.png\" width=\"600px\"/\u003e\n\n### 前端所用技术\n- Vue 2.6.x、Vue Cli 4.x、iView、iview-admin、iview-area、Vuex、Vue Router、ES6、webpack、axios、echarts、cookie等\n- 前台为基于Vue+iView的独立项目请跳转至 [xboot-front](https://github.com/Exrick/xboot-front) 项目仓库查看\n### 后端所用技术\n\n\u003cimg src=https://ooo.0o0.ooo/2019/11/25/gUiynavBAHd6hY8.jpg width=1000/\u003e\n\n##### 各框架依赖版本皆使用目前最新版本\n- Spring Boot\n- SpringMVC\n- Spring Security\n- [Spring Data JPA](https://docs.spring.io/spring-data/jpa/docs/2.2.2.RELEASE/reference/html/)\n- [MyBatis-Plus](http://mp.baomidou.com)：已更新至3.x版本\n- [Redis](https://github.com/Exrick/xmall/blob/master/study/Redis.md)\n- [Elasticsearch](https://github.com/Exrick/xmall/blob/master/study/Elasticsearch.md)：基于Lucene分布式搜索引擎\n- [Druid](http://druid.io/)：阿里高性能数据库连接池（偏监控 注重性能可使用默认HikariCP） [Druid配置官方中文文档](https://github.com/alibaba/druid/tree/master/druid-spring-boot-starter)\n- [Json Web Token(JWT)](https://jwt.io/)\n- [Quartz](http://www.quartz-scheduler.org)：定时任务\n- [Beetl](http://ibeetl.com/guide/#beetl)：模版引擎 代码生成使用\n- [Thymeleaf](https://www.thymeleaf.org/)：发送模版邮件使用\n- [Hutool](http://hutool.mydoc.io/)：Java工具包\n- [Jasypt](https://github.com/ulisesbocchio/jasypt-spring-boot)：配置文件加密(thymeleaf作者开发)\n- [Swagger2](https://github.com/Exrick/xmall/blob/master/study/Swagger2.md)：Api文档生成\n- MySQL\n- [Nginx](https://github.com/Exrick/xmall/blob/master/study/Nginx.md)\n- [Maven](https://github.com/Exrick/xmall/blob/master/study/Maven.md)\n- 第三方SDK或服务\n    - [七牛云文件存储服务](https://developer.qiniu.com/kodo/sdk/1239/java)\n    - [腾讯位置服务](https://lbs.qq.com/webservice_v1/guide-ip.html)：需申请填入key后免费使用\n    - 完整版\n        - [Vaptcha人机验证码](https://www.vaptcha.com/)\n        - [阿里云短信服务](https://dysms.console.aliyun.com)\n- 其它开发工具\n    - [Lombok](https://projectlombok.org/)\n    - [JRebel](https://github.com/Exrick/xmall/blob/master/study/JRebel.md)：开发秒级热部署\n    - [阿里JAVA开发规约插件](https://github.com/alibaba/p3c)\n\n### 最新最全面在线文档\n\n\u003e 第一时间更新，文档永不收费\n\nhttps://www.kancloud.cn/exrick/xboot/content\n\n### 本地运行部署\n- 安装依赖并启动：[Redis](https://github.com/Exrick/xmall/blob/master/study/Redis.md)、[Elasticsearch](https://github.com/Exrick/xmall/blob/master/study/Elasticsearch.md)(当配置使用ES记录日志时需要)\n- [Maven安装和在IDEA中配置](https://github.com/Exrick/xmall/blob/master/study/Maven.md)\n- 建议使用IDEA([破解/免费注册](http://idea.lanyus.com/)) 安装 `Lombok` 插件后导入该Maven项目 若未自动下载依赖请在根目录下执行 `mvn install` 命令\n- MySQL数据库新建 `xboot` 数据库，配置文件已开启ddl自动生成表结构但无初始数据，请记得运行导入xboot.sql文件(当报错找不到Quartz相关表时请设置数据库忽略大小写或额外重新导入quartz.sql)\n- 修改配置文件 `application.yml` 相应配置，其中有详细注释，所有配置只需在这里修改\n- 编译器中启动运行 `XbootApplication.java` 或根目录下执行命令 `mvn spring-boot:run` 默认端口8888 访问接口文档 `http://localhost:8888/doc.html` 说明启动成功 管理员账密admin|123456\n- 前台页面请启动基于Vue的 [xboot-front](https://github.com/Exrick/xboot-front) 项目，并修改其接口代理配置\n\u003e 温馨提示：若更新代码后报错，请记得更新sql并清空Redis缓存\n### 开发指南及相关技术栈文档\n- [项目基本配置和使用相关技术栈文档【必读】](https://github.com/Exrick/x-boot/wiki/%E9%A1%B9%E7%9B%AE%E5%9F%BA%E6%9C%AC%E9%85%8D%E7%BD%AE%E5%92%8C%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%85%B3%E6%8A%80%E6%9C%AF%E6%A0%88%E6%96%87%E6%A1%A3%E3%80%90%E5%BF%85%E8%AF%BB%E3%80%91)\n- [如何使用XBoot后端在30秒内开发出增删改接口](https://github.com/Exrick/x-boot/wiki/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8XBoot%E5%90%8E%E7%AB%AF%E5%9C%A830%E7%A7%92%E5%86%85%E5%BC%80%E5%8F%91%E5%87%BA%E5%A2%9E%E5%88%A0%E6%94%B9%E6%8E%A5%E5%8F%A3)\n- [具体XBoot增删改文档示例](https://github.com/Exrick/x-boot/wiki/CRUD)\n- 完整版\n    - [第三方社交账号登录配置](https://github.com/Exrick/x-boot/wiki/%E7%AC%AC%E4%B8%89%E6%96%B9%E7%A4%BE%E4%BA%A4%E8%B4%A6%E5%8F%B7%E7%99%BB%E5%BD%95%E9%85%8D%E7%BD%AE)\n    - [短信登录配置](https://github.com/Exrick/x-boot/wiki/%E7%9F%AD%E4%BF%A1%E7%99%BB%E5%BD%95%E9%85%8D%E7%BD%AE)\n    - [Vaptcha人机验证码配置使用](https://github.com/Exrick/x-boot/wiki/vaptcha%E4%BA%BA%E6%9C%BA%E9%AA%8C%E8%AF%81%E7%A0%81%E9%85%8D%E7%BD%AE%E4%BD%BF%E7%94%A8)\n    - [Activiti工作流开发说明](https://github.com/Exrick/x-boot/wiki/Activiti%E5%B7%A5%E4%BD%9C%E6%B5%81%E5%BC%80%E5%8F%91%E8%AF%B4%E6%98%8E)\n\n### [分布式扩展](https://github.com/alibaba/dubbo-spring-boot-starter/blob/master/README_zh.md)\n\n### XBoot后端学习分享（更新中）\n1. [Spring Boot 2.x 区别总结](https://github.com/Exrick/x-boot/wiki/SpringBoot2.x%E5%8C%BA%E5%88%AB%E6%80%BB%E7%BB%93)\n\n2. [Spring Security整合JWT](https://github.com/Exrick/x-boot/wiki/SpringSecurity%E6%95%B4%E5%90%88JWT)\n\n3. [Spring Security实现动态数据库权限管理](https://github.com/Exrick/x-boot/wiki/SpringSecurity%E5%8A%A8%E6%80%81%E6%9D%83%E9%99%90%E7%AE%A1%E7%90%86)\n\n4. [Spring Boot 2.x整合Quartz](https://github.com/Exrick/x-boot/wiki/Spring-Boot-2.x%E6%95%B4%E5%90%88Quartz)\n\n5. [基于Websocket实现发送消息后右上角消息图标红点实时显示](https://github.com/Exrick/x-boot/wiki/%E5%9F%BA%E4%BA%8EWebsocket%E5%AE%9E%E7%8E%B0%E5%8F%91%E9%80%81%E6%B6%88%E6%81%AF%E5%90%8E%E5%8F%B3%E4%B8%8A%E8%A7%92%E6%B6%88%E6%81%AF%E5%9B%BE%E6%A0%87%E7%BA%A2%E7%82%B9%E5%AE%9E%E6%97%B6%E6%98%BE%E7%A4%BA)\n\n6. [Spring Boot 2.x整合Activiti工作流以及模型设计器](https://github.com/Exrick/x-boot/wiki/Spring-Boot-2.x%E6%95%B4%E5%90%88Activiti%E5%B7%A5%E4%BD%9C%E6%B5%81%E4%BB%A5%E5%8F%8A%E6%A8%A1%E5%9E%8B%E8%AE%BE%E8%AE%A1%E5%99%A8)\n### Docker下后端集群部署(更新中)\n\n\u003e 前端集群部署请跳转至[xboot-front](https://github.com/Exrick/xboot-front)项目查看\n\n1.[Docker的安装与常用命令](https://github.com/Exrick/x-boot/wiki/Docker%E7%9A%84%E5%AE%89%E8%A3%85%E4%B8%8E%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4)\n\n2.基于PXC架构Mysql数据库集群搭建\n\n3.Redis集群搭建\n\n4.Elasticsearch集群搭建\n\n5.XBoot后端集群部署\n\n### 商用授权\n- 个人学习使用遵循GPL开源协议\n- 商用需联系作者授权\n\n### 作者其他项目推荐\n- [XMall微信小程序APP前端 现已开源！](https://github.com/Exrick/xmall-weapp)\n    \n    [![WX20190924-234416@2x.png](https://s2.ax1x.com/2019/10/06/ucEsBD.md.png)](https://www.bilibili.com/video/av70226175)\n\n- [XMall：基于SOA架构的分布式电商购物商城](https://github.com/Exrick/xmall)\n\n    ![](https://ooo.0o0.ooo/2018/07/22/5b54615b95788.jpg)\n    \n- [XPay个人免签收款支付系统](https://github.com/Exrick/xpay)\n\n- 机器学习笔记\n    - [Machine-Learning](https://github.com/Exrick/Machine-Learning)\n    \n### 技术疑问交流\n- QQ交流群 `475743731(付费)`，可获取各项目详细图文文档、疑问解答 [![](http://pub.idqqimg.com/wpa/images/group.png)](http://shang.qq.com/wpa/qunwpa?idkey=7b60cec12ba93ebed7568b0a63f22e6e034c0d1df33125ac43ed753342ec6ce7)\n- 免费交流群 `562962309` [![](http://pub.idqqimg.com/wpa/images/group.png)](http://shang.qq.com/wpa/qunwpa?idkey=52f6003e230b26addeed0ba6cf343fcf3ba5d97829d17f5b8fa5b151dba7e842)\n- 作者博客：[http://blog.exrick.cn](http://blog.exrick.cn)\n### [捐赠](http://xpay.exrick.cn/pay)","funding_links":[],"categories":["Related Projects","快速开发","Java"],"sub_categories":["SpringBoot"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExrick%2Fxboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FExrick%2Fxboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExrick%2Fxboot/lists"}