springboot-template
- Kotlin/Java1.8/GraphQl
- Gradle 7.0+
- spring boot、 jpa、mysql、redis
- junit
- nacos
- 领域驱动设计 (DDD)
- 测试驱动开发 (TDD)
- 参考目录
src/main/resources
中提供的application-env.template.yml
文件,创建本地配置文件application-local.yml
。 - 修改
application-local.yml
文件中的配置参数。
- IDEA 2021.1+
在项目根目录下执行以下命令
cp pre-commit .git/hooks/
docker build -t spring-template . docker images docker run -d -p 8080:8080 26ea2577a965
https://blog.csdn.net/jinzhengquanqq/article/details/118194813
mutation{ addStudent(name: "test", createdBy: "admin") { id name createdAt } }
{ findByName(name:"test", page:0, size:10){ id name createdAt } }