diff --git a/backend/src/main/java/com/sportsmatch/backend/controllers/APIController.java b/backend/src/main/java/com/sportsmatch/backend/controllers/APIController.java new file mode 100644 index 00000000..2238604f --- /dev/null +++ b/backend/src/main/java/com/sportsmatch/backend/controllers/APIController.java @@ -0,0 +1,15 @@ +package com.sportsmatch.backend.controllers; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("api/v1") +public class APIController { + + @GetMapping("/hello") + public String hello() { + return "Hello World"; + } +}