Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize main Branch #11

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
751cab9
chore :: configure pr template
apptie Jul 26, 2024
46788af
chore :: initialize application
apptie Jul 26, 2024
d8a7edc
chore :: configure gradle
apptie Jul 26, 2024
24d714e
chore :: configure log
apptie Jul 26, 2024
e99005d
chore :: configure custom exception
apptie Jul 26, 2024
bc4d82c
chore :: configure RestControllerAdvice
apptie Jul 26, 2024
35ca6de
chore :: configure jackson
apptie Jul 26, 2024
9dc6983
chore :: configure swagger
apptie Jul 26, 2024
fedf432
chore :: configure cors
apptie Jul 26, 2024
a41d584
chore :: add gitignore target
apptie Jul 26, 2024
5191f35
Merge pull request #2 from dnd-side-project/chore/#1
apptie Jul 27, 2024
a8e3a04
feature :: add account domain
apptie Jul 28, 2024
7d92d39
feature :: add account repository
apptie Jul 28, 2024
9243635
fix :: fix configuration typo
apptie Jul 28, 2024
2ec5451
feature :: add token domain
apptie Jul 28, 2024
c7fdb7c
feature :: add jwt function
apptie Jul 28, 2024
fc98164
feature :: add oauth2 attribute
apptie Jul 28, 2024
37ee186
feature :: add oauth2 core function
apptie Jul 28, 2024
c1dc386
feature :: add oauth2 filter
apptie Jul 28, 2024
37982cb
feature :: add oauth2 handler
apptie Jul 28, 2024
a67e22f
chore :: configure oauth2 authentication
apptie Jul 29, 2024
bfcc438
feature :: add account profile function
apptie Jul 29, 2024
8b8d89f
feature :: add account withdrawal function
apptie Jul 29, 2024
d012a25
feature :: add auth service
apptie Jul 29, 2024
c835199
feature :: add authenticate account info initializing function
apptie Jul 29, 2024
0d6f1d4
feature :: add authenticate api
apptie Jul 29, 2024
1d78467
refactor :: change custom exception hierarchy
apptie Jul 29, 2024
4c8569f
feat :: add account exception handling function
apptie Jul 29, 2024
8ed1a3d
refactor :: change mapper method name
apptie Jul 30, 2024
d1f8940
refactor :: change withdrawal account email const
apptie Jul 31, 2024
dff800c
refactor :: move auth resolver package
apptie Jul 31, 2024
8efb8cd
fix :: remove unused configuration
apptie Jul 31, 2024
e91f694
refactor :: change AuthenticationToken method signature
apptie Aug 1, 2024
116a033
Merge pull request #7 from dnd-side-project/feature/#6
apptie Aug 2, 2024
b66575a
ci :: synchronize branch
apptie Aug 2, 2024
636eba8
Merge pull request #9 from dnd-side-project/ci/#8
apptie Aug 3, 2024
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
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## πŸ“Ž κ΄€λ ¨ Issue 번호
<!-- (ν•„μˆ˜) ν•΄λ‹Ή PRκ³Ό κ΄€λ ¨ μžˆλŠ” issue 번호λ₯Ό μž…λ ₯ν•΄μ£Όμ„Έμš”. -->

## πŸ“„ μž‘μ—… λ‚΄μš© μš”μ•½
<!-- (ν•„μˆ˜) μž‘μ—…ν•œ λ‚΄μš©μ„ κ°„λ‹¨νžˆ μš”μ•½ν•΄μ£Όμ„Έμš”. -->

## πŸ™‹πŸ» 주의 깊게 확인해야 ν•˜λŠ” μ½”λ“œ
<!-- (선택) 리뷰어λ₯Ό μœ„ν•΄ λ³΅μž‘ν•˜κ±°λ‚˜ μ€‘μš”ν•œ μ½”λ“œλ₯Ό λͺ…μ‹œν•΄μ£Όμ„Έμš”. -->

## πŸ“„ κ°œμ„  사항 OR μ°Έκ³  사항
<!-- (선택) ν•΄λ‹Ή PRμ—μ„œ κ°œμ„ ν–ˆκ±°λ‚˜, μ°Έκ³  사항이 μžˆλ‹€λ©΄ μ„€λͺ…ν•΄μ£Όμ„Έμš”. -->
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# Spring Boot
HELP.md

# Config
application-dev*
application-prod*

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
Expand Down
37 changes: 37 additions & 0 deletions spaced/.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/
82 changes: 82 additions & 0 deletions spaced/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.8'
id 'io.spring.dependency-management' version '1.1.6'
}

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

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

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
// web
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.2'

// db
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"

// log
implementation 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
implementation 'net.logstash.logback:logstash-logback-encoder:6.1'

// docs
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// utils
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}

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

tasks.withType(JavaCompile) {
options.generatedSourceOutputDirectory = file("$projectDir/build/generated")
}

sourceSets {
main {
java {
srcDirs += "$projectDir/build/generated"
}
}
}

tasks.named('test') {
useJUnitPlatform()
}
Binary file added spaced/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions spaced/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.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading