Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/gradlew text eol=lf
*.bat text eol=crlf
*.jar binary
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "🐛 Bug Report"
description: 애플리케이션에서 발견한 버그를 신고합니다.
labels: [ "bug" ]
body:
- type: textarea
id: bug-description
attributes:
label: 버그 설명
description: 어떤 버그인지 간략하게 설명해주세요.
placeholder: 예) 로그인 시 오류가 발생합니다.
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: 재현 방법
description: 버그를 재현하는 단계를 상세히 작성해주세요.
placeholder: |
1. 홈페이지로 이동
2. 로그인 버튼 클릭
3. 오류 메시지 확인
validations:
required: true

- type: textarea
id: expected-result
attributes:
label: 예상 결과
description: 어떤 결과를 기대했는지 설명해주세요.
placeholder: 예) 사용자가 정상적으로 로그인되어 대시보드로 이동해야 합니다.
validations:
required: true

- type: textarea
id: actual-result
attributes:
label: 실제 결과
description: 실제로 발생한 결과를 설명해주세요.
placeholder: 예) 로그인 시 "서버 오류" 메시지가 표시됩니다.
validations:
required: true
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "✨ Feature"
description: "새로운 기능 추가"
labels: [ "feature" ]
body:
- type: textarea
attributes:
label: 설명
description: 새로운 기능에 대한 설명을 작성해 주세요.
placeholder: 자세히 적을수록 좋습니다!
validations:
required: true
- type: textarea
attributes:
label: 작업할 내용
description: 할 일을 체크박스 형태로 작성해주세요.
placeholder: 최대한 세분화 해서 적어주세요!
validations:
required: true
- type: textarea
attributes:
label: 참고 자료
description: 참고 자료가 있다면 작성해 주세요.
31 changes: 31 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## 🔍 PR 타입 선택

아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.

- [ ] `feat`: 새로운 기능 추가
- [ ] `fix`: 버그 수정
- [ ] `docs`: 문서 수정
- [ ] `style`: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우
- [ ] `refactor`: 코드 리팩토링
- [ ] `test`: 테스트 코드 추가 또는 수정
- [ ] `chore`: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업


## 📝 변경 사항 요약

변경 사항을 간단히 요약해 주세요.

- 예: 사용자 프로필 페이지 추가
- 예: 로그인 버그 수정


## 🛠 관련 이슈

Resolves: #123
Ref: #456
Related to: #48, #45
close: #번호

### **추가 설명 (선택 사항)**

변경 사항에 대한 추가 설명을 작성해 주세요.
14 changes: 14 additions & 0 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR to Discord

on:
pull_request:
branches: [ "develop" ]
types: [opened, reopened]

jobs:
PR:
runs-on: ubuntu-latest
steps:
- uses: Team-Retrip/PR-to-Discord@main
with:
discord_webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/
63 changes: 63 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.0'
id 'io.spring.dependency-management' version '1.1.7'
}

group = 'com.retrip'
version = '0.0.1-SNAPSHOT'
description = 'deposit'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation "org.springdoc:springdoc-openapi-starter-webmvc-api:2.8.5"
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5"


compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

implementation 'com.querydsl:querydsl-jpa:5.1.0:jakarta'
annotationProcessor 'com.querydsl:querydsl-apt:5.1.0:jakarta'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
}

tasks.named('test') {
useJUnitPlatform()
}

sourceSets {
main.java.srcDirs += 'build/generated/source/apt/main'
}

tasks.withType(JavaCompile).configureEach {
options.annotationProcessorPath = configurations.annotationProcessor
}

tasks.named('clean') {
doLast {
delete fileTree('build/generated')
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading