Skip to content

Commit

Permalink
프로젝트 초기 세팅 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi authored Nov 30, 2024
2 parents 8bbf4ca + ce7cf89 commit c049707
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cufit-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ dependencies {
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

// JPA
implementation("org.springframework.boot:spring-boot-starter-data-jpa")

// swagger
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
}

kotlin {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.official.cufitapi.domain.api

import org.springframework.stereotype.Component
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@Component
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@RestController
@RequestMapping("/api")
annotation class ApiController()
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.official.cufitapi.domain.api

import org.springframework.web.bind.annotation.GetMapping

@ApiController
class MemberApiController {

// 유저 정보 조회


}
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.official.cufitapi.domain.domain.member

import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.Id

@Entity
class Member(
@Id @GeneratedValue
val id: Long? = null
) {
}
Empty file.
Empty file.

This file was deleted.

0 comments on commit c049707

Please sign in to comment.