mirror of
https://github.com/0xShay/halflink.git
synced 2026-01-11 21:23:23 +00:00
22 lines
529 B
Java
22 lines
529 B
Java
package services.shay;
|
|
|
|
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;
|
|
|
|
@RestController
|
|
@SpringBootApplication
|
|
public class Halflink {
|
|
|
|
@GetMapping("/")
|
|
String home() {
|
|
return "Halflink API says hello!";
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(Halflink.class, args);
|
|
}
|
|
|
|
}
|