package com.example.demo;

public class HomeController {

}

@@ -24,37 +24,230 @@
 o;%0A%0A
-public class HomeController %7B%0A
+import org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0A%0A@Controller%0Apublic class HomeController %7B%0A%09%0A%09@RequestMapping(%22/%22)%0A%09public String home() %7B%0A%09%09return %22home%22;%0A%09%7D
 %0A%7D%0A

set up home controller and mapping