diff options
Diffstat (limited to 'src')
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() { } +} |