Skip to content

Commit 2cdc556

Browse files
committed
refactor: 최상단에 default 폴더 추가
- 멀티레포에서 모노레포로 변경을 위해 추가
1 parent 963b4c3 commit 2cdc556

File tree

138 files changed

+7476
-0
lines changed

Some content is hidden

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

138 files changed

+7476
-0
lines changed

defalut/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SoundLink
2+
[프로그래머스 백엔드 데브코스] 최종 프로젝트 Team3의 Backend repository
3+
4+
### 브랜치 전략
5+
6+
#### 📋 Commit Message Convention 📋
7+
8+
| Tag | Description |
9+
|------------|-------------------|
10+
| `Feat` | 새로운 기능 추가 |
11+
| `Fix` | 버그 수정 |
12+
| `Docs` | 문서 추가, 수정, 삭제 |
13+
| `Test` | 테스트 코드 추가, 수정, 삭제 |
14+
| `Style` | 코드 형식 변경 |
15+
| `Refactor` | 코드 리팩토링 |
16+
| `Perf` | 성능 개선 |
17+
| `Build` | 빌드 관련 변경사항 |
18+
| `Ci` | CI 관련 설정 수정 |
19+
| `Chore` | 기타 변경사항 |
20+
| `init` | 초기화 |
21+
22+
1. 맨 앞글자도 소문자?
23+
2. 괄호 없이
24+
25+
예) init: git 초기화
26+
27+
---
28+
29+
### 🌳 브랜치 네이밍 규칙
30+
[tag]/[category]/[number] 이렇게 작성해주세요
31+
32+
feat/customer/1
33+
34+
feat/laundry/1
35+
36+
feat/review/1
37+
38+
feat/emotion
39+

defalut/build.gradle.kts

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
plugins {
2+
id("java")
3+
id("org.springframework.boot") version "3.4.2"
4+
id("io.spring.dependency-management") version "1.1.7"
5+
}
6+
7+
group = "org.dfbf"
8+
version = "0.0.1-SNAPSHOT"
9+
10+
java {
11+
toolchain {
12+
languageVersion = JavaLanguageVersion.of(17)
13+
}
14+
}
15+
16+
repositories {
17+
mavenCentral()
18+
}
19+
20+
dependencyManagement {
21+
imports {
22+
mavenBom("org.springframework.cloud:spring-cloud-dependencies:2024.0.0")
23+
}
24+
}
25+
26+
dependencies {
27+
implementation("org.springframework.boot:spring-boot-starter-actuator")
28+
29+
// Default
30+
testImplementation("org.springframework.boot:spring-boot-starter-test")
31+
implementation("org.jetbrains.kotlin:kotlin-reflect")
32+
33+
// Spring Web
34+
implementation("org.springframework.boot:spring-boot-starter-web")
35+
36+
// Spring OAuth2
37+
// implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
38+
implementation("org.springframework.boot:spring-boot-starter-security")
39+
40+
// Valid
41+
// implementation("org.springframework.boot:spring-boot-starter-validation")
42+
43+
// MariaDB & Spring JPA
44+
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
45+
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
46+
47+
// JWT
48+
implementation("io.jsonwebtoken:jjwt-api:0.11.5")
49+
implementation("io.jsonwebtoken:jjwt-impl:0.11.5")
50+
implementation("io.jsonwebtoken:jjwt-jackson:0.11.5")
51+
52+
// Redis
53+
implementation("org.springframework.boot:spring-boot-starter-data-redis")
54+
55+
// Swagger
56+
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0")
57+
58+
// Lombok
59+
compileOnly("org.projectlombok:lombok:1.18.30")
60+
annotationProcessor("org.projectlombok:lombok:1.18.30")
61+
62+
// Test (Junit5)
63+
testImplementation("org.springframework.boot:spring-boot-starter-test")
64+
testImplementation("org.mockito:mockito-core:4.0.0")
65+
testImplementation("org.mockito:mockito-junit-jupiter:4.0.0")
66+
testImplementation("org.mockito:mockito-inline:4.7.0")
67+
testImplementation("org.junit.jupiter:junit-jupiter-api")
68+
testImplementation("org.junit.jupiter:junit-jupiter-engine")
69+
testImplementation("org.springframework.security:spring-security-test")
70+
71+
// Json (Jackson)
72+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
73+
74+
// logger
75+
implementation("org.springframework.boot:spring-boot-starter-logging")
76+
77+
// validation
78+
implementation("org.springframework.boot:spring-boot-starter-validation")
79+
80+
// Feign -> NETFLIX API 통신 라이브러리
81+
implementation("org.springframework.cloud:spring-cloud-starter-openfeign")
82+
83+
// Mail
84+
implementation("org.springframework.boot:spring-boot-starter-mail")
85+
86+
// Kafka
87+
implementation ("org.springframework.kafka:spring-kafka") // Spring Boot에서 Kafka를 편하게 사용하도록 도와주는 라이브러리
88+
implementation ("org.apache.kafka:kafka-streams") // Kafka의 스트림 API를 사용할 때 필요
89+
implementation ("org.apache.kafka:kafka-clients") // Kafka 브로커와 직접 통신하는 기본 클라이언트 라이브러리
90+
91+
//QueryDSL 추가
92+
implementation ("com.querydsl:querydsl-apt:5.0.0")
93+
implementation ("com.querydsl:querydsl-jpa:5.0.0:jakarta")
94+
implementation ("com.querydsl:querydsl-core:5.0.0")
95+
annotationProcessor ("com.querydsl:querydsl-apt:5.0.0:jakarta")
96+
annotationProcessor ("jakarta.annotation:jakarta.annotation-api")
97+
annotationProcessor ("jakarta.persistence:jakarta.persistence-api")
98+
99+
}
100+
101+
tasks.withType<Test> {
102+
useJUnitPlatform()
103+
}
104+
105+
// Querydsl 빌드 옵션 설정
106+
val generatedDir = "src/main/generated"
107+
108+
// querydsl QClass 파일 생성 위치를 지정
109+
tasks.withType<JavaCompile> {
110+
options.generatedSourceOutputDirectory.set(file(generatedDir))
111+
}
112+
113+
// java source set에 querydsl QClass 위치 추가
114+
sourceSets {
115+
getByName("main") {
116+
java {
117+
srcDir(generatedDir)
118+
}
119+
}
120+
}
121+
122+
// gradle clean 시에 QClass 디렉토리 삭제
123+
tasks.named<Delete>("clean") {
124+
delete(file(generatedDir))
125+
}
42.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)