Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed Oct 6, 2023
1 parent f596046 commit b6e40f0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'

// lombok
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/groupD/server/controller/SampleController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.groupD.server.controller;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequiredArgsConstructor
@RequestMapping("/api/sample")
@RestController
public class SampleController {
}
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
server:
port: 8080

spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
Expand Down

0 comments on commit b6e40f0

Please sign in to comment.