# spring-boot-example **Repository Path**: luckSnow/spring-boot-example ## Basic Information - **Project Name**: spring-boot-example - **Description**: SpringBoot 全栈代码案例库🔥 千余 SpringBoot 实战案例,解锁企业级开发全场景 🔥 这里珍藏着 1000K+ 高质量 SpringBoot 代码案例,每一行代码都是经验的结晶!从基础模块搭建到复杂分布式系统设计,从微服务架构优化到高并发场景解决方案,完整覆盖企业级开发全生命周期。无论是新手入门进阶,还是资深工程师寻找灵感,这里都是你的第一选择!🌟 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 2 - **Created**: 2020-09-04 - **Last Updated**: 2025-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot-example ## 介绍 spring boot 各类方案案例。作为自己平时代码的案例库。 ## 软件架构 lab_00_module 是依赖于maven,可以自定义批量创建maven模块。本项目的模块全部都是由此创建出来的。 module.list 是全部module的列表,用来生成module ![输入图片说明](https://images.gitee.com/uploads/images/2020/0906/212339_98f7cf91_635176.png "屏幕截图.png") ## 代码统计[2021年] 1.提交次数:106次 ```shell $ git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since="2021-01-01" --until="2021-12-31" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l; done ``` 2. 增加代码:373,275行 ```shell $ git log --format='%aN' --since="2021-01-01" --until="2021-12-31" | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done 1039791136 added lines: 202302, removed lines: 15018, total lines: 187284 xuezzzhang added lines: 687, removed lines: 326, total lines: 361 zhangxue added lines: 193719, removed lines: 8374, total lines: 185345 zhangxue01 added lines: 286, removed lines: 1, total lines: 285 ``` 3. 项目代码量 ```shell D:\workspace-2021\spring-boot-example\cloc-1.64.exe D:\workspace-2021\spring-boot-example 2985 text files. 2270 unique files. 5177 files ignored. http://cloc.sourceforge.net v 1.64 T=13.23 s (129.5 files/s, 14284.2 lines/s) ---------------------------------------------------------------------------------------- Language files blank comment code ---------------------------------------------------------------------------------------- Javascript 224 12256 15936 65899 Java 925 9306 9309 36909 HTML 95 1173 1040 8460 XML 257 351 675 5708 Maven 90 339 169 5615 CSS 17 440 405 2433 ColdFusion CFScript 2 208 30 1359 SQL 7 147 75 1328 ColdFusion 12 300 384 1211 Python 16 266 394 987 Perl 8 200 410 969 PHP 9 231 346 817 ASP 8 188 296 702 YAML 22 55 296 437 Velocity Template Language 6 64 67 351 ASP.Net 3 13 4 145 JSP 8 13 0 139 JSON 2 0 0 100 Lua 1 3 22 10 RobotFramework 2 0 0 6 ---------------------------------------------------------------------------------------- SUM: 1714 25553 29858 133585 ---------------------------------------------------------------------------------------- ``` ## 代码统计[2022年] 1.提交次数:89次 ```shell $ git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since="2022-01-01" --until="2022-12-31" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l; done ``` 2. 增加代码:223,509行 ```shell $ git log --format='%aN' --since="2022-01-01" --until="2022-12-31" | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done 1039791136@qq.com added lines: 260991, removed lines: 38990, total lines: 222001 xuezzzhang added lines: 2031, removed lines: 523, total lines: 1508 ``` 3. 项目代码量 ```shell D:\workspace\spring-boot-example\lab_0_common\src\main\resources\exe\cloc-1.64.exe D:\workspace\spring-boot-example 4049 text files. 3095 unique files. 4843 files ignored. http://cloc.sourceforge.net v 1.64 T=19.33 s (134.4 files/s, 35871.9 lines/s) ---------------------------------------------------------------------------------------- Language files blank comment code ---------------------------------------------------------------------------------------- Javascript 452 37468 69064 406526 Java 1127 11504 11899 49253 TypeScript 72 2555 36888 13825 HTML 143 1377 1051 10380 XML 411 373 699 8348 Maven 103 405 208 6405 JSON 69 62 0 3405 CSS 20 461 408 2651 Python 25 541 693 2435 SQL 28 316 141 2285 ColdFusion CFScript 2 208 30 1359 ColdFusion 12 300 384 1211 YAML 41 131 432 1042 Perl 8 200 410 969 PHP 9 231 346 817 Bourne Shell 27 165 144 777 ASP 8 188 296 702 Velocity Template Language 6 64 67 351 DOS Batch 11 81 29 176 JSP 10 13 0 164 ASP.Net 3 13 4 145 PowerShell 6 6 30 132 Ant 1 8 2 30 Lua 1 3 22 10 RobotFramework 2 0 0 6 CoffeeScript 1 1 0 0 ---------------------------------------------------------------------------------------- SUM: 2598 56674 123247 513404 ---------------------------------------------------------------------------------------- ``` ## 代码统计[2023年] 1.提交次数:78次 ```shell git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since="2023-01-01" --until="2023-12-31" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l; done ``` 2. 增加代码:27W ```shell $ git log --format='%aN' --since="2022-01-01" --until="2022-12-31" | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done 1039791136 added lines: 319251, removed lines: 46086, total lines: 273165 lucksnow added lines: 202, removed lines: 72, total lines: 130 zhangxue07 added lines: 1014, removed lines: 243, total lines: 771 ``` 3. 项目代码量 ```shell D:\workspace\spring-boot-example\lab_0_common\src\main\resources\exe\cloc-1.64.exe D:\workspace\spring-boot-example 5567 text files. 4296 unique files. 7402 files ignored. http://cloc.sourceforge.net v 1.64 T=33.73 s (104.3 files/s, 25345.1 lines/s) ---------------------------------------------------------------------------------------- Language files blank comment code ---------------------------------------------------------------------------------------- Javascript 456 38408 70290 409342 HTML 802 1509 26171 108788 Java 1427 14380 16310 63588 TypeScript 72 2555 36888 13825 CSS 24 642 472 10441 XML 328 435 911 8866 Maven 123 597 365 7742 JSON 80 62 0 4028 Python 25 541 693 2435 SQL 28 316 141 2285 ColdFusion CFScript 2 208 30 1359 ColdFusion 12 300 384 1211 YAML 40 130 464 1071 Perl 8 200 410 969 Bourne Shell 33 179 172 852 PHP 9 231 346 817 ASP 8 188 296 702 Velocity Template Language 6 64 67 351 DOS Batch 12 81 29 177 JSP 10 13 0 164 ASP.Net 3 13 4 145 PowerShell 6 6 30 132 Ant 1 8 2 30 Lua 1 3 22 10 RobotFramework 2 0 0 6 CoffeeScript 1 1 0 0 ---------------------------------------------------------------------------------------- SUM: 3519 61070 154497 639336 ---------------------------------------------------------------------------------------- ``` ## 代码统计[2024年] 1.提交次数:50次 ```shell git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since="2024-01-01" --until="2024-12-31" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l; done ``` 2. 增加代码:37W ```shell $ git log --format='%aN' --since="2024-01-01" --until="2024-12-31" | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done 1039791136 added lines: 377586, removed lines: 92288, total lines: 285298 ``` 3. 项目代码量 ```shell D:\workspace\spring-boot-example\lab_0_common\src\main\resources\exe\cloc-1.64.exe D:\workspace\spring-boot-example 3424 text files. 2975 unique files. 4650 files ignored. http://cloc.sourceforge.net v 1.64 T=28.63 s (90.3 files/s, 9478.1 lines/s) ---------------------------------------------------------------------------------------- Language files blank comment code ---------------------------------------------------------------------------------------- Java 1658 16232 18859 71511 Javascript 235 13211 17203 68875 HTML 170 1493 1071 13014 CSS 23 632 441 9908 Maven 146 769 520 9423 XML 132 434 920 7399 Python 25 541 693 2435 SQL 28 316 141 2285 ColdFusion CFScript 2 208 30 1359 JSON 22 0 0 1241 ColdFusion 12 300 384 1211 YAML 44 138 504 1011 Bourne Shell 33 183 224 977 Perl 8 200 410 969 PHP 9 231 346 817 ASP 8 188 296 702 Velocity Template Language 6 64 67 351 JSP 10 13 0 164 ASP.Net 4 13 4 146 DOS Batch 6 69 29 90 Ant 1 8 2 30 Lua 1 3 22 10 RobotFramework 2 0 0 6 ---------------------------------------------------------------------------------------- SUM: 2585 35246 42166 193934 ---------------------------------------------------------------------------------------- ```