Open ashi509 opened 1 year ago
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;
@SpringBootApplication public class StudentComApplication {
public static void main(String[] args) {
SpringApplication.run(StudentComApplication.class, args);
}
@RestController
public class Hello {
@GetMapping("/")
public String hello(){
return "Hello world";
}
}
}
What is spring Boot?
spring boot is a module of spring framework.and it is configure all the configuration.