blob: 71f31a8e41e647cbf93ef0db5d0286ac78820665 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package dev.submelon.pantry;
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 PantryApplication {
@RequestMapping("/")
public String home() {
return "Check this out: http://localhost:8080/items/";
}
public static void main(String[] args) {
SpringApplication.run(PantryApplication.class, args);
}
}
|