Skip to content

Commit

Permalink
feat: API 모듈을 추가합니다 (#20)
Browse files Browse the repository at this point in the history
* feat: api 모듈 추가

* feat: api 모듈 spring starter 추가
  • Loading branch information
belljun3395 authored Jun 8, 2024
1 parent a9eba9b commit f9aa4bd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dependencies {
/** spring starter */
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-actuator")
}
11 changes: 11 additions & 0 deletions api/src/main/kotlin/com/few/ApiMain.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.few

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication

@SpringBootApplication
class ApiMain

fun main(args: Array<String>) {
runApplication<ApiMain>(*args)
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ subprojects {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")

/** test **/
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.mockk:mockk:${DependencyVersion.MOCKK}")
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
rootProject.name = "few"

include("api")

0 comments on commit f9aa4bd

Please sign in to comment.