springcamp
mcp
Gecti
Health Gecti
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 24 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
https://springcamp.cn
README.md
SpringCamp 🏕️
30+ 个可独立运行的 Spring Boot 实战示例,每个模块配套中文技术博客 springcamp.cn。
不是文档堆,是能直接跑起来抄的作业。
这是什么
SpringCamp 把 Spring 生态里那些"看文档半天、搜博客一堆、真上手还是不会"的场景,做成最小可运行示例:clone 下来、跑起来、改两行就懂。
覆盖 Spring AI、Spring Security / OAuth2、Spring Cloud、Data、消息、缓存、并发等方向。
为什么用
- 能跑:每个模块都是独立 Spring Boot 工程,不是代码片段。
- 有文:每个示例都对应一篇 springcamp.cn 实战文章,代码+原理一起看。
- 够新:紧跟 Spring Boot 新特性(HTTP Interface、RestClient、Spring AI、MCP 等)。
怎么跑
git clone https://github.com/qihaiyan/springcamp.git
cd springcamp/<模块目录>
./gradlew bootRun # 按模块 README 的说明运行
模块索引
| 模块 | 功能 | 配套博客 |
|---|---|---|
| spring-ai-deepseek | Spring AI 集成 DeepSeek(对话/流式/推理/Function Calling) | 文章 |
| spring-mcp | Spring MCP(模型上下文协议)集成示例 | — |
| spring-advanced-security | Spring Security 高级用法(自定义登录/鉴权) | 文章 |
| spring-cloud-gateway | Spring Cloud Gateway 网关示例 | — |
| spring-kafka | Spring Kafka 消息示例 | — |
| spring-cache | Spring Cache 缓存抽象 | — |
| spring-aop | Spring AOP 切面编程 | — |
| spring-data-flex-query | Spring Data 灵活查询(防 SQL 注入) | 文章 |
| spring-data-jpa-multisource | Spring Data JPA 多数据源 | — |
| spring-dynamic-datasource | 动态数据源切换 | — |
| spring-dynamic-scheduler | 动态定时任务管控 | 文章 |
| spring-http-interface | Spring Boot 3.2 HTTP Interface 声明式调用 | 文章 |
| spring-rest-client | Spring Boot 3.2 RestClient | 文章 |
| spring-rest-template-log | RestTemplate 调用与 DNS 超时配置 | 文章 |
| spring-rest-log-request-response | REST 请求/响应日志 | — |
| spring-modify-request-body | 统一修改 RequestBody | 文章 |
| spring-sse | Server-Sent Events 服务端推送 | — |
| spring-native | Spring Native 原生镜像 | — |
| spring-data-envers-conditional | 条件化审计日志 | — |
| spring-data-jdbc-client | Spring Data JDBC Client | — |
| spring-easy-rule | Easy Rules 规则引擎 | — |
| spring-groovy | 集成 Groovy 动态脚本 | — |
| spring-redis-resolver | 基于 Redis 的解析器 | — |
| spring-localdatetime-epoch | LocalDateTime 与 Epoch 互转 | — |
| spring-taskexecutor-block | TaskExecutor 阻塞行为 | — |
| spring-unit-test | Spring 单元测试 | — |
| elasticsearch-javaclient | Elasticsearch Java 客户端 | — |
| java-concurrency | Java 并发编程 | — |
| utils | 通用工具类 | — |
完整文章列表见 springcamp.cn。
Supported by
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi