Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo1999 committed May 11, 2024
1 parent f8f0be0 commit 46dcc8b
Show file tree
Hide file tree
Showing 15 changed files with 595 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "\U0001F331 백엔드 Feature"
about: "\U0001F331 백엔드 Feature"
title: "[✨ feat] "
labels: "\U0001F331 backend, ✨ feat"
assignees: ''

---

## ✨작성할 기능에 대한 설명을 적어주세요
```
```

<br><br>

## ✅ 해야 할 작업들을 작성해주세요
- [ ]

<br><br>

## 🦋 연관된 이슈
-
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## ✨ 요약
```
```

<br><br>

## 😎 해결한 이슈
- close

<br><br>
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
HELP.md
.gradle
.DS_Store
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/
1 change: 0 additions & 1 deletion README.md

This file was deleted.

102 changes: 102 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
buildscript {
ext {
// queryDsl
queryDslVersion = "5.0.0"
}
}

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.4'
id 'io.spring.dependency-management' version '1.1.4'
id 'jacoco'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'

java {
sourceCompatibility = '17'
}

test {
finalizedBy jacocoTestReport
useJUnitPlatform()

//timezone 설정
systemProperty "user.timezone", "UTC"
}

jacoco {
toolVersion = "0.8.8"
}


jacocoTestReport {
dependsOn test

reports {
xml.required = true
html.required = true
csv.required = false
}
def Qdomains = []

for (qPattern in '**/QA'..'**/QZ') { // qPattern = '**/QA', '**/QB', ... '*.QZ'
Qdomains.add(qPattern + '*')
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: ["com/example/rewalk/dto/**",
"com/example/rewalk/exception/**",
"com/example/rewalk/filter/**",
"com/example/rewalk/config/**",
"com/example/rewalk/handler/**"] + Qdomains)
})
)
}

finalizedBy 'jacocoTestCoverageVerification'
}


repositories {
mavenCentral()
}

dependencies {
runtimeOnly 'com.h2database:h2'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-tomcat'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'com.auth0:java-jwt:4.4.0'

developmentOnly 'org.springframework.boot:spring-boot-devtools'
/* Swagger */
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
// QueryDSL 설정
implementation "com.querydsl:querydsl-jpa:5.0.0:jakarta"
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// -- QueryDSL ---
implementation 'org.projectlombok:lombok:1.18.22'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}

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

// Querydsl 설정부
def generatedDir = 'src/main/generated'

clean {
delete file (generatedDir)
}
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-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 46dcc8b

Please sign in to comment.