diff --git a/.gitignore b/.gitignore index 8b7dead..a99912a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,40 @@ +# maven target +target + +HELP.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/ + # Compiled class file *.class diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..1e75409 --- /dev/null +++ b/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.2 + + + edu.cmipt + gcs + 0.0.1-SNAPSHOT + gcs + The back end of git center server + + + + + + + + + + + + + + + 17 + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.apache.logging.log4j + log4j-core + 2.17.1 + + + junit + junit + 4.12 + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/src/main/java/edu/cmipt/gcs/GcsApplication.java b/src/main/java/edu/cmipt/gcs/GcsApplication.java new file mode 100644 index 0000000..d2c8096 --- /dev/null +++ b/src/main/java/edu/cmipt/gcs/GcsApplication.java @@ -0,0 +1,12 @@ +package edu.cmipt.gcs; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GcsApplication { + + public static void main(String[] args) { + SpringApplication.run(GcsApplication.class, args); + } +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..32f747e --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=gcs diff --git a/src/main/resources/static/.gitkeep b/src/main/resources/static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/templates/.gitkeep b/src/main/resources/templates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/test/java/edu/cmipt/gcs/GcsApplicationTests.java b/src/test/java/edu/cmipt/gcs/GcsApplicationTests.java new file mode 100644 index 0000000..59361e3 --- /dev/null +++ b/src/test/java/edu/cmipt/gcs/GcsApplicationTests.java @@ -0,0 +1,11 @@ +package edu.cmipt.gcs; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GcsApplicationTests { + + @Test + void contextLoads() {} +}