https://github.com/shockerli/grover
A best practice for Spring Boot Web.
https://github.com/shockerli/grover
Last synced: over 1 year ago
JSON representation
A best practice for Spring Boot Web.
- Host: GitHub
- URL: https://github.com/shockerli/grover
- Owner: shockerli
- Created: 2021-12-18T12:32:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T15:30:09.000Z (about 2 years ago)
- Last Synced: 2025-01-20T11:09:57.599Z (over 1 year ago)
- Language: Java
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grover
A best practice for Spring Boot Web.
## 技术栈及依赖
- SpringBoot
- [MyBatis-Plus](https://github.com/baomidou/mybatis-plus): MyBatis增强工具包
- [dynamic-datasource-spring-boot-starter](https://github.com/baomidou/dynamic-datasource): 基于 SpringBoot 的多数据源组件
- Lombok: 简化Java代码
- Maven: 依赖管理
- JUnit
- Jackson: JSON序列化
- [Guava](https://github.com/google/guava): 工具库(集合、缓存、位图、原语等等)
- [Hutool](https://github.com/dromara/hutool): 工具库(日期、加密、反射、文件、正则等等)
- Javassist: 动态编辑Java字节码
- [OkHttp](https://github.com/square/okhttp): HTTP客户端
## 环境
- MySQL 5.7+
- Redis 5.0+
## 配置
### Spring Boot Banner Print
ASCII 图案在线生成工具:
- https://www.bootschool.net/ascii
- http://www.network-science.de/ascii/
代码实现及可用配置: `org.springframework.boot.SpringApplicationBannerPrinter`
## Maven
- 打包:`mvn package`
- 打包(跳过测试):`mvn package -Dmaven.test.skip=true`
- 运行 `jar` 文件
```shell
java -jar xxx.jar
```
## MyBatis-Plus
- 注解:简单查询
- XML:共用配置段、复杂查询等,并提供给注解使用