Skip to content
Open
Show file tree
Hide file tree
Changes from 18 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
37 changes: 30 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,36 @@
## 요구사항

### 기본
- [x] 기본 항목 1
- [ ] 기본 항목 2
- [O] Spring Initializr를 통해 zip 파일을 다운로드하세요.
- [O] 빌드 시스템은 Gradle - Groovy를 사용합니다.
- [O] 언어는 Java 17를 사용합니다.
- [O] Spring Boot의 버전은 3.4.0입니다.
- [O] GroupId는 com.sprint.mission입니다.
- [O] ArtifactId와 Name은 discodeit입니다.
- [O] packaging 형식은 Jar입니다
- [O] Dependency를 추가합니다.
- [O] Lombok
- [O] Spring Web
- [O] zip 파일을 압축해제하고 원래 진행 중이던 프로젝트에 붙여넣기하세요. 일부 파일은 덮어쓰기할 수 있습니다.
- [O] application.properties 파일을 yaml 형식으로 변경하세요.
- [O] DiscodeitApplication의 main 메서드를 실행하고 로그를 확인해보세요.
- [O] File*Repository 구현체를 Repository 인터페이스의 Bean으로 등록하세요.
- [O] Basic*Service 구현체를 Service 인터페이스의 Bean으로 등록하세요.
- [O] JavaApplication에서 테스트했던 코드를 DiscodeitApplication에서 테스트해보세요.
- [O] JavaApplication 의 main 메소드를 제외한 모든 메소드를 DiscodeitApplication클래스로 복사하세요.
- [O] JavaApplication의 main 메소드에서 Service를 초기화하는 코드를 Spring Context를 활용하여 대체하세요.
- [O] JavaApplication의 main 메소드의 셋업, 테스트 부분의 코드를 DiscodeitApplication클래스로 복사하세요.
- [ ] JavaApplication과 DiscodeitApplication에서 Service를 초기화하는 방식의 차이에 대해 다음의 키워드를 중심으로 정리해보세요.
- [O] 도메인 모델의 getter 메소드를 @Getter로 대체해보세요.
- [O] Basic*Service의 생성자를 @RequiredArgsConstructor로 대체해보세요.
- [ ] 추가 기능 사항 : 시간 타입변경 [O] , 새로운 도메인 추가 [O] , DTO 고도화 [ ]

### 심화
- [ ] 심화 항목 1
- [ ] 심화 항목 2

- [ ] Repository 구현체 중에 어떤 구현체를 Bean으로 등록할지 Java 코드의 변경 없이 application.yaml 설정 값을 통해 제어해보세요.
- [ ] discodeit.repository.type 설정값에 따라 Repository 구현체가 정해집니다.
- [ ] 값이 jcf 이거나 없으면 JCF*Repository 구현체가 Bean으로 등록되어야 합니다.
- [ ] 값이 file 이면 File*Repository 구현체가 Bean으로 등록되어야 합니다.
- [ ] File*Repository 구현체의 파일을 저장할 디렉토리 경로를 application.yaml 설정 값을 통해 제어해보세요.
## 주요 변경사항
-
-
Expand All @@ -17,5 +40,5 @@
![image](이미지url)

## 멘토에게
- 셀프 코드 리뷰를 통해 질문 이어가겠습니다.
-
- 모르는게 너무 많아 무엇을 질문해야할지 모르겠습니다.
- AI에 의존하고 싶지 않아서 혼자 고민을 많이 해보았습니다만 시간이 모자랐습니다.
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
.kotlin
.idea

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

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

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

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
37 changes: 37 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.10'
id 'io.spring.dependency-management' version '1.1.7'
}

group = 'com.sprint.mission'
version = '0.0.1-SNAPSHOT'
description = 'Demo project for Spring Boot'

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

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}

tasks.named('test') {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Tue Jan 27 22:48:50 KST 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading