Skip to content

Commit 85977cc

Browse files
committed
Spring Boot Application is ready to launch
1 parent ac24f4c commit 85977cc

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.example.springbootapirest.controller;
2+
3+
import org.springframework.web.bind.annotation.RequestMapping;
4+
import org.springframework.web.bind.annotation.RequestMethod;
5+
import org.springframework.web.bind.annotation.RestController;
6+
7+
@RestController
8+
public class HelloController {
9+
10+
@RequestMapping(value = "/",method = RequestMethod.GET)
11+
public String helloWorld(){
12+
return "Bienvenido a mi SpringBootApiRestApplication";
13+
}
14+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
server.port=8082

0 commit comments

Comments
 (0)