mirror of
https://github.com/brmlab/wekan-mailer.git
synced 2025-06-07 17:34:12 +02:00
Create basic app
This commit is contained in:
parent
8af92a631f
commit
b695c68698
1 changed files with 22 additions and 0 deletions
22
src/main/java/cz/brmlab/wekan/mailer/Application.java
Normal file
22
src/main/java/cz/brmlab/wekan/mailer/Application.java
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
package cz.brmlab.wekan.mailer;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
@RestController
|
||||||
|
public class Application {
|
||||||
|
|
||||||
|
@RequestMapping("/")
|
||||||
|
public String home() {
|
||||||
|
return "Hello Docker World";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(Application.class, args);
|
||||||
|
System.out.println("Hello Docker World");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue