Skip to content

Commit e495729

Browse files
committed
Initial commit
0 parents  commit e495729

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+918
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/gradlew text eol=lf
2+
*.bat text eol=crlf
3+
*.jar binary

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "🐛 Bug"
2+
description: "버그 이슈"
3+
labels: ["bug"]
4+
title: "[BE/fix] 이슈 제목"
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: 버그 내용
9+
description: 어떤 문제가 발생했는지 설명해주세요.
10+
placeholder: 예) 장바구니 총액이 잘못 계산됨
11+
validations:
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: 해결법
16+
description: 버그 해결 방법을 적어주세요.
17+
validations:
18+
required: false

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "✨ Feature"
2+
description: "새로운 기능 추가"
3+
labels: ["feat"]
4+
title: "[BE/feat] 이슈 제목"
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: 이슈 배경
9+
description: 어떤 기능을 추가하고 싶은지 작성해주세요.
10+
placeholder: 예) 상품 검색 기능 추가
11+
validations:
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: 이슈 내용
16+
description: 구체적으로 어떻게 동작해야 하는지 작성해주세요.
17+
placeholder: |
18+
- 상품명으로 검색 가능
19+
- 카테고리별 필터링
20+
validations:
21+
required: false
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "🛠 Refactor"
2+
description: "코드 품질 개선, 구조 변경, 중복 제거 등 리팩터링 작업 이슈"
3+
labels: ["refactor"]
4+
title: "[BE/refactor] 이슈 제목"
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: 리팩터링 대상
9+
description: 어떤 코드/모듈/구조를 리팩터링하려는지 작성해주세요.
10+
placeholder: 예) ItemService 클래스의 중복 로직 제거
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: 리팩터링 필요성
17+
description: 왜 이 리팩터링이 필요한지, 어떤 문제가 있는지 작성해주세요.
18+
placeholder: 예) 중복된 로직이 많아 유지보수성이 떨어집니다.
19+
validations:
20+
required: true
21+
22+
23+
24+

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!--
2+
PR 네이밍 규칙:
3+
[FE/feat] PR 내용
4+
-->
5+
6+
## 관련 이슈
7+
8+
- close #번호
9+
10+
## PR / 과제 설명

.gitignore

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
.sts4-cache
16+
bin/
17+
!**/src/main/**/bin/
18+
!**/src/test/**/bin/
19+
20+
### IntelliJ IDEA ###
21+
.idea
22+
*.iws
23+
*.iml
24+
*.ipr
25+
out/
26+
!**/src/main/**/out/
27+
!**/src/test/**/out/
28+
29+
### NetBeans ###
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
### VS Code ###
37+
.vscode/
38+
39+
# --- OS junk ---
40+
.DS_Store
41+
Thumbs.db
42+
43+
# --- Logs ---
44+
logs/
45+
*.log
46+
*.gz
47+
hs_err_pid*
48+
replay_pid*
49+
50+
# --- H2 local database files ---
51+
*.mv.db
52+
*.h2.db
53+
*.trace.db
54+
*.lock.db
55+
56+
# --- Env files (local secrets) ---
57+
.env
58+
.env.*

build.gradle.kts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
plugins {
2+
java
3+
id("org.springframework.boot") version "3.5.8"
4+
id("io.spring.dependency-management") version "1.1.7"
5+
}
6+
7+
group = "com.back"
8+
version = "0.0.1-SNAPSHOT"
9+
description = "matchduo"
10+
11+
java {
12+
toolchain {
13+
languageVersion = JavaLanguageVersion.of(21)
14+
}
15+
}
16+
17+
configurations {
18+
compileOnly {
19+
extendsFrom(configurations.annotationProcessor.get())
20+
}
21+
}
22+
23+
repositories {
24+
mavenCentral()
25+
}
26+
27+
dependencies {
28+
// Spring Core
29+
implementation("org.springframework.boot:spring-boot-starter-web")
30+
implementation("org.springframework.boot:spring-boot-starter-validation")
31+
32+
// JPA + MySQL
33+
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
34+
runtimeOnly("com.mysql:mysql-connector-j")
35+
36+
// Security + JWT
37+
implementation("org.springframework.boot:spring-boot-starter-security")
38+
implementation("io.jsonwebtoken:jjwt-api:0.12.3")
39+
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.3")
40+
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.3")
41+
42+
// Swagger
43+
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
44+
45+
// Lombok
46+
compileOnly("org.projectlombok:lombok")
47+
annotationProcessor("org.projectlombok:lombok")
48+
49+
// Test
50+
testImplementation("org.springframework.boot:spring-boot-starter-test")
51+
testImplementation("org.springframework.security:spring-security-test")
52+
testImplementation("com.h2database:h2")
53+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
54+
}
55+
56+
tasks.withType<Test> {
57+
useJUnitPlatform()
58+
}

gradle/wrapper/gradle-wrapper.jar

44.6 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)