commit 5b47c1884fbb10ad241aad116f3c02ce4b7e47f4 Author: Naccl Date: Tue Mar 16 17:13:25 2021 +0800 :tada: Initial commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +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/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..f7c8cc2 --- /dev/null +++ b/pom.xml @@ -0,0 +1,74 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.3 + + + top.naccl + dwz + 0.0.1 + dwz + Short URL generator + + 1.8 + + + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + mysql + mysql-connector-java + 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/top/naccl/dwz/DwzApplication.java b/src/main/java/top/naccl/dwz/DwzApplication.java new file mode 100644 index 0000000..9f581db --- /dev/null +++ b/src/main/java/top/naccl/dwz/DwzApplication.java @@ -0,0 +1,13 @@ +package top.naccl.dwz; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class DwzApplication { + + public static void main(String[] args) { + SpringApplication.run(DwzApplication.class, args); + } + +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/src/test/java/top/naccl/dwz/DwzApplicationTests.java b/src/test/java/top/naccl/dwz/DwzApplicationTests.java new file mode 100644 index 0000000..ca03f99 --- /dev/null +++ b/src/test/java/top/naccl/dwz/DwzApplicationTests.java @@ -0,0 +1,13 @@ +package top.naccl.dwz; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class DwzApplicationTests { + + @Test + void contextLoads() { + } + +}