summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-01-29 13:18:57 -0800
committerFuwn <[email protected]>2021-01-29 13:18:57 -0800
commit46043f592581d6ca133d266e8b61ca80cbedadf7 (patch)
treee1e158785723eb8be0c9482bf9eebe3aa01e44ae /src
downloadheroku-java-test-deploy-46043f592581d6ca133d266e8b61ca80cbedadf7.tar.xz
heroku-java-test-deploy-46043f592581d6ca133d266e8b61ca80cbedadf7.zip
:star:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplication.java22
-rw-r--r--src/main/resources/application.properties1
-rw-r--r--src/test/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplicationTests.java10
3 files changed, 33 insertions, 0 deletions
diff --git a/src/main/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplication.java b/src/main/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplication.java
new file mode 100644
index 0000000..07d37b3
--- /dev/null
+++ b/src/main/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplication.java
@@ -0,0 +1,22 @@
+package me.fuwn.herokujavatestdeploy;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * https://spring.io/quickstart
+ */
+@SpringBootApplication
+@RestController
+public class HerokujavatestdeployApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(HerokujavatestdeployApplication.class, args);
+ }
+
+ @GetMapping("/")
+ public String index() {
+ return "The deploy seemed to have worked...";
+ }
+}
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/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplicationTests.java b/src/test/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplicationTests.java
new file mode 100644
index 0000000..c8bc3ae
--- /dev/null
+++ b/src/test/java/me/fuwn/herokujavatestdeploy/HerokujavatestdeployApplicationTests.java
@@ -0,0 +1,10 @@
+package me.fuwn.herokujavatestdeploy;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class HerokujavatestdeployApplicationTests {
+ @Test
+ void contextLoads() { }
+}