Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

spring-boot-demo

> 前端框架
Open source

Spring Boot & Spring Cloud & Spring Security Demo Case(Spring学习示例实战项目)

689 stars0 likes3 views
WebsiteGitHub

About

Spring Boot & Spring Cloud & Spring Security Demo Case(Spring学习示例实战项目)

Spring-Boot-Demo

SpringBoot + SpringCloud + SpringSecurity学习过程中的源码汇总,沉淀记录下学习历程

说明:Spring系列教程现已根据专栏方式进行收集整理,更便于系统学习,详情查看: 一灰灰的Spring系列专栏

欢迎关注公众号 一灰灰blog 更多干货持续分享

0. 项目说明

如果想在本机使用这个项目的demo,下面有一些注意事项

环境要求

bash
java: jdk1.8
maven: 3.2+
spring boot: 2.2.1.RELEASE
ide: IDEA/Eclipse/NetBeans随意

## 不同项目的环境依赖,请以项目对应的博文要求为准
db: mongodb + mysql + redis + solr + elasticsearch
中间件: promotheus + grafana + kibana + rabbitmq

IDEA插件

bash
# 必须
lombok

# 推荐
maven helper: 查看依赖树的好工具(排除依赖冲突非常棒)
Free MyBatis plugin: mybatis的mapper与xml跳转比较方便
Mybatis log Plugin:日志
CodeGlance: 类似sublimetext 右边的快速预览框
Rainbow Brackets: 不同层级的括号颜色不一样

1. 知识点图谱

所有博文集中发布在个人博客网站 : 一灰灰Blog-Spring

大致规划的内容包括以下章节,希望能用半年到一年(严重超期)的时间完成....

I. 基础篇

  • 配置相关
  • Bean相关
  • 日志相关
  • AOP相关
  • SPEL
  • 事件通知机制

II. 高级篇

  • [x] db读写
    • [x] 基本配置,数据源,多数据源
    • [x] jdbcTemplate
    • jpa
      • 项目工程: spring-boot/102-jpa
    • mybatis

      项目工程: spring-boot/103-mybatis-xml , spring-boot/104-mybatis-noxml
    • mybatis plus
      • 项目工程: spring-boot/105-mybatis-plus
    • Jooq

      项目工程: spring-boot/108-jooq-curd, spring-boot/108-jooq-mysql
  • [ ] influxdb 时序数据库

    项目工程: spring-boot/130-influxdb , spring-boot/131-influxdb-java
  • Mongo
    • 项目工程
      • 基础环境 spring-boot/110-mongo-basic
      • mongoTemplate使用姿势 spring-boot/111-mongo-template
    • [x] 系列博文:分类: MongoDB | 一灰灰Blog
  • Redis读写
    • 项目工程:
      • 基本环境构建 spring-boot/120-redis-config
      • jedis环境构建 spring-boot/121-redis-jedis-config
      • redisTemplate使用姿势 spring-boot/122-redis-template
      • lettuce环境构建 spring-boot/123-redis-lettuce-config
      • redis集群实例工程 spring-boot/124-redis-cluster
      • 排行榜应用实例工程 spring-case/120-redis-ranklist
      • 站点统计应用实例工程 spring-case/124-redis-sitecount
    • [x] 系列博文: 分类: Redis | 一灰灰Blog
  • MemCache
  • [] 内存缓存
    • Caffiene

      项目工程: spring-boot/500-cache-caffeine , spring-boot/501-cache-caffeine-special

      关联博文: 分类: Caffiene | 一灰灰Blog
    • Guava
  • InfluxDb
    • 项目工程:spring-boot/130-influxdb
    • InfluxDB系列博文
  • SpringCache
    • 项目工程:spring-boot/125-cache-ano
  • 定时器
  • 搜索 ES
    • 项目工程: spring-boot/142-search-es
    • ES系列博文
  • 搜索 Solr
    • 项目工程:spring-boot/140-search-solr
    • 基本环境搭建
    • 新增与修改使用说明

III. MVC篇

  • [x] 过滤器
    • 项目工程:
      • 基本使用姿势:spring-boot/210-web-filter
      • filter优先级: spring-boot/210-web-filter-order
  • 拦截器
    • 项目工程:spring-boot/213-web-interceptor
    • 基本使用姿势: 拦截器
  • Get/Post/Put/Delete等http方法支持
  • 参数绑定(get/post参数解析,自定义参数解析器)
    • 项目工程: spring-boot/202-web-params
    • 请求参数解析姿势大全
  • 返回相关
    • 数据返回
      • 项目:spring-boot/207-web-response
      • 返回数据姿势大全
    • 视图绑定,

      项目: spring-boot/204-web-freemaker | spring-boot/204-web-thymeleaf spring-boot/204-web-beetl
      • spring & 模板引擎构建web项目
    • 返回头
  • 异常处理
  • 安全相关(SQL/XSS等注入)
  • 跨域处理
  • WebSocket
    • websocket基础
  • reactive
    • webflux

IV. SpringCloud篇

  • 注册中心
  • 配置中心
  • 网关路由
  • 负载均衡
  • 熔断器
  • 链路监控
  • 安全模块
  • oauth
  • admin

V. 源码篇

  • 扩展点
    • 项目
    • Spring扩展点专栏

VI. 项目说明

项目说明

项目 说明 知识点
SpringBoot SpringBoot项目 -
000-properties 【配置】使用姿势 @PropertySource 指定配置文件,
@ConfigurationProperties 指定配置前缀,
@value 配置绑定
001-properties 【配置】环境选择 配置spring.profiles.active指定环境
002-properties 【配置】刷新示例 SpringCloud生态配置刷新
@RefreshScope,EnvironmentChangeEvent配置变更事件
002-properties-bind 【配置】刷新绑定的各种知识点 @ConfigurationProperties
002-dynamic-envronment 【配置】自定义配置源 MapPropertySource
002-properties-value 【配置】@Value扩展知识点 @Value
003-log 【日志】集成logback logback日志集成与配置
003-log4j2 【日志】集成log4j2 log4j2日志集成与配置
004-bean 【bean】使用姿势 bean三种定义姿势
bean三种注入方式
005-autoconfig 【bean】自动加载 @Configuration自动加载配置类
005-config-selector 【bean】选择注入 ImportSelector 选择在接口的多个实现中,具体实例化哪个
006-dynamicbean 【bean】动态注册bean BeanDefinitionRegistryPostProcessor 扩展实现bean动态注册
007-conditionbean 【bean】条件注入 @Coinditional 使用姿势
008-beanorder
008-beanorder-addition
008-beanorder-addition2 【bean】加载顺序 bean加载顺序的反面示例与正确写法
009-schedule 【定时器】定时任务/计划任务 @Scheduled 基本语法与自定义线程池

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaaopbeaninfluxdbjdbctemplate

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架