1 Star 0 Fork 3.1K

黄德勇 / springboot-bucket

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

SpringBoot 全家桶

GitHub issues License Github downloads GitHub release

Spring Boot 现在已经成为Java 开发领域的一颗璀璨明珠,它本身是包容万象的,可以跟各种技术集成。

本项目对目前Web开发中常用的各个技术,通过和SpringBoot的集成,并且对各种技术通过“一篇博客 + 一个可运行项目”的形式来详细说明。

每个子项目都会使用最小依赖,大家拿来即可使用,自己可以根据业务需求自由组合搭配不同的技术构建项目。

加粗提醒:

  1. master分支基于最新Spring Boot 2构建!
  2. spring1.5分支基于Spring Boot 1.5.10构建!

项目简介

子项目列表

每个子项目会配有一篇博客文章的详细讲解 :point_right:

项目名称 文章地址
springboot-thymeleaf 集成Thymeleaf构建Web应用
springboot-mybatis 集成MyBatis
springboot-hibernate 集成Hibernate
springboot-mongodb 集成MongoDB
springboot-restful 实现RESTful接口
springboot-resttemplate 使用RestTemplate
springboot-shiro 集成Shiro权限管理
springboot-swagger2 集成Swagger2自动生成API文档
springboot-jwt 集成JWT实现接口权限认证
springboot-multisource 多数据源配置
springboot-schedule 定时任务
springboot-cxf cxf实现WebService
springboot-websocket 使用WebScoket实时通信
springboot-socketio 集成SocketIO实时通信
springboot-async 异步线程池
springboot-starter 教你自己写starter
springboot-aop 使用AOP
springboot-transaction 声明式事务
springboot-cache 使用缓存
springboot-redis Redis数据库
springboot-batch 批处理
springboot-rabbitmq 使用消息队列RabbitMQ
springboot-echarts 集成Echarts导出图片

环境

  • JDK 1.8
  • Maven latest
  • Spring Boot 2.0.4
  • Intellij IDEA
  • mysql 5.7
  • mongodb
  • git 版本管理
  • nginx 反向代理
  • redis 缓存
  • rabbitmq 消息队列

运行

每个子项目都可以单独运行,都是打包成jar包后,通过使用内置jetty容器执行,有3种方式运行。:point_right:

  1. 在IDEA里面直接运行Application.java的main函数。
  2. 另一种方式是执行mvn clean package命令后传到linux服务器上面,通过命令java -Xms64m -Xmx1024m -jar xxx.jar方式运行
  3. 在linux服务器上面,配置好jdk、maven、git命令后,通过git clone sb-xxx拉取工程后,执行./run.sh start test命令来执行

注:每个子项目有自己的README.md文件,告诉你该怎么初始化环境,比如准备好数据库SQL文件等。

另外,如果你需要打包成war包放到tomcat容器中运行,可修改pom.xml文件,将打包类型从jar改成war,打包后再放到容器中运行:

<modelVersion>4.0.0</modelVersion>
<artifactId>springboot-cache</artifactId>
<packaging>war</packaging>

后续计划

  1. 集成OAuth2认证
  2. 集成GitHub、微信等第三方登录
  3. 集成网络爬虫框架

问题反馈

  1. 欢迎提issue一起完善这个项目
  2. Email: yidao620@gmail.com
  3. 个人主站: https://www.xncoding.com/

许可证

license

Copyright (c) 2018 Xiong Neng

基于 MIT 协议发布: http://www.opensource.org/licenses/MIT

The MIT License (MIT) Copyright (c) 2018 Xiong Neng 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.

简介

SpringBoot 全家桶 —— 本项目对目前Web开发中常用的各个技术,通过和SpringBoot的集成,并且对各种技术通过“一篇博客 + 一个可运行项目”的形式来详细说明。 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/HuangDeYongGit/springboot-bucket.git
git@gitee.com:HuangDeYongGit/springboot-bucket.git
HuangDeYongGit
springboot-bucket
springboot-bucket
master

搜索帮助

14c37bed 8189591 565d56ea 8189591