blob: f63fd045e7bdae04d1abcfff33b01403fc96dc99 (
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/item/all";
}
public static void main(String[] args) {
SpringApplication.run(PantryApplication.class, args);
}
}
|