Changed folder structure
This commit is contained in:
@@ -9,5 +9,4 @@ public class ExpenseTrackerFafApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ExpenseTrackerFafApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.faf223.expensetrackerfaf.controllers;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
class GetHelloWorld {
|
||||
|
||||
@GetMapping("/")
|
||||
public String helloWorld() {
|
||||
return "Hello, World!";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user