commit 3657814b6034e53da9d0c9c3e5a6ee9ba9e7eba4 Author: tanyp <742354529@qq.com> Date: Mon Mar 20 14:52:30 2023 +0800 初始化 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b56f1dd --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +README.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..9f377a3 --- /dev/null +++ b/pom.xml @@ -0,0 +1,59 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.9 + + + com.tansci + tansci-boot + 0.0.1-SNAPSHOT + tansci-boot + Demo project for Spring Boot + + 1.8 + + + + org.springframework.boot + spring-boot-starter-web + + + + com.mysql + mysql-connector-j + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/src/main/java/com/tansci/TansciBootApplication.java b/src/main/java/com/tansci/TansciBootApplication.java new file mode 100644 index 0000000..41f45c3 --- /dev/null +++ b/src/main/java/com/tansci/TansciBootApplication.java @@ -0,0 +1,13 @@ +package com.tansci; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class TansciBootApplication { + + public static void main(String[] args) { + SpringApplication.run(TansciBootApplication.class, args); + } + +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1 @@ + diff --git a/src/test/java/com/tansci/TansciBootApplicationTests.java b/src/test/java/com/tansci/TansciBootApplicationTests.java new file mode 100644 index 0000000..511b51b --- /dev/null +++ b/src/test/java/com/tansci/TansciBootApplicationTests.java @@ -0,0 +1,13 @@ +package com.tansci; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class TansciBootApplicationTests { + + @Test + void contextLoads() { + } + +}