aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/terminaldweller
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-02-24 21:03:35 +0000
committerterminaldweller <thabogre@gmail.com>2022-02-24 21:03:35 +0000
commit0d4fcd1f7066cf8dca5333c39179659e65915e78 (patch)
treebcf701ad8222e99206c4756e88a5d526457ac700 /src/main/java/com/terminaldweller
parentupdates (diff)
downloadmdrtl-0d4fcd1f7066cf8dca5333c39179659e65915e78.tar.gz
mdrtl-0d4fcd1f7066cf8dca5333c39179659e65915e78.zip
updates
Diffstat (limited to 'src/main/java/com/terminaldweller')
-rw-r--r--src/main/java/com/terminaldweller/main/MainApplication.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/com/terminaldweller/main/MainApplication.java b/src/main/java/com/terminaldweller/main/MainApplication.java
new file mode 100644
index 0000000..3738769
--- /dev/null
+++ b/src/main/java/com/terminaldweller/main/MainApplication.java
@@ -0,0 +1,25 @@
+package com.terminaldweller.main;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/** The main class. */
+@SpringBootApplication
+@RestController
+public class MainApplication {
+ @RequestMapping("/")
+ public String home() {
+ return "Hello Docker World";
+ }
+
+ /**
+ * just a dummy main.
+ *
+ * @param args just the argv
+ */
+ public static void main(String[] args) {
+ SpringApplication.run(MainApplication.class, args);
+ }
+}