We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 774e664 + b2bc362 commit 5cea699Copy full SHA for 5cea699
1 file changed
src/main/java/FortuneMonBackEnd/fortuneMon/controller/HealthCheckController.java
@@ -0,0 +1,15 @@
1
+package FortuneMonBackEnd.fortuneMon.controller;
2
+
3
+import org.springframework.web.bind.annotation.GetMapping;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.springframework.web.bind.annotation.RestController;
6
7
+@RestController
8
+@RequestMapping("/healthCheck")
9
+public class HealthCheckController {
10
11
+ @GetMapping
12
+ public String healthCheck() {
13
+ return "Server is running!";
14
15
+}
0 commit comments