-
Notifications
You must be signed in to change notification settings - Fork 20
[1주차] 강지훈/[feat] 초기 프로젝트 설정 #9
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
Merged
theSnackOverflow
merged 13 commits into
Leets-Official:강지훈/main
from
theSnackOverflow:강지훈/1주차
Mar 26, 2026
The head ref may contain hidden characters: "\uAC15\uC9C0\uD6C8/1\uC8FC\uCC28"
Merged
Changes from 9 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
272b403
Update README.md
theSnackOverflow 562079b
🎉 init: Spring Boot 블로그 프로젝트 초기 설정
theSnackOverflow 75087de
✨ feat: 헬스체크 API 추가
theSnackOverflow 7b76e3b
✨ feat: 요청/응답 DTO 추가
theSnackOverflow 18e28b9
✨ feat: 문자열 반복 API 구현
theSnackOverflow 0930641
➕ add-dep: Swagger UI 의존성 추가
theSnackOverflow 1ad691b
🔐 validation: 잘못된 요청에 대한 예외 처리 추가
theSnackOverflow 16a81fb
✨ feat: 공통 API 응답 포맷 적용
theSnackOverflow 4a11770
🚚 move: API 경로를 /api/v1 버전 구조로 변경
theSnackOverflow c74ed00
🔥 remove: 완료된 빌드 실패 수정 플랜 파일 삭제
theSnackOverflow 535a024
🚚 move: blog 디렉토리를 jihoonkang으로 이름 변경
theSnackOverflow e871ba6
🙈 gitignore: .claude/ 제외 규칙을 .git/info/exclude로 이동
theSnackOverflow aabf9de
🩹 minor-fix: BlogApplication.java 파일 끝 개행 추가
theSnackOverflow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Spring Boot 빌드 실패 수정 계획 | ||
|
|
||
| ## Context | ||
| Spring Boot 애플리케이션 실행 시 `Port 8080 was already in use` 에러로 인해 빌드가 실패합니다. 다른 프로세스가 이미 8080 포트를 점유하고 있는 상태입니다. | ||
|
|
||
| ## 해결 단계 | ||
|
|
||
| 1. `lsof -i :8080`으로 8080 포트를 점유 중인 프로세스 확인 | ||
| 2. 해당 프로세스 종료 (`kill` 명령) | ||
| 3. `./gradlew bootRun`으로 정상 기동 확인 | ||
|
|
||
| ## 수정 파일 | ||
| - 없음 (코드 변경 불필요, 프로세스 종료만 필요) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| /gradlew text eol=lf | ||
| *.bat text eol=crlf | ||
| *.jar binary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| plugins { | ||
| id 'java' | ||
| id 'org.springframework.boot' version '3.5.12' | ||
| id 'io.spring.dependency-management' version '1.1.7' | ||
| } | ||
|
|
||
| group = 'com.example' | ||
| version = '0.0.1-SNAPSHOT' | ||
|
|
||
| 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-web' | ||
| implementation 'org.springframework.boot:spring-boot-starter-validation' | ||
| compileOnly 'org.projectlombok:lombok' | ||
| runtimeOnly 'com.mysql:mysql-connector-j' | ||
| runtimeOnly 'com.h2database:h2' | ||
| annotationProcessor 'org.projectlombok:lombok' | ||
| implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0' | ||
| testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
| testRuntimeOnly 'org.junit.platform:junit-platform-launcher' | ||
| } | ||
|
|
||
| tasks.named('test') { | ||
| useJUnitPlatform() | ||
| } |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.14.4-bin.zip | ||
| networkTimeout=10000 | ||
| validateDistributionUrl=true | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우선 cluade와 같은 LLM을 사용하여 진행하고 익숙해지는 것은 너무 좋습니다.
다만, claude의 문서 중에서 어떤걸 공유하고, 어떤걸 공유하지 말지에 대한 걸 고민해보는 걸 추천드립니다! 아래의 저의 생각을 간단하게 공유 드릴테니, 보시기전에 "문서를 어떻게 분류할까"라는 생각을 해보시면 좋을 것 같아요.
개인적인 생각
제가 생각할 때에 문서는 다음과 같은 두 종류를 가집니다.
단기 기억이란 특정 문제를 해결하기 위한 문서(흔히 티켓 혹은 테스크)들을 이야기 하며 해당 작업이 끝나면 소비되어 사라져도 무방한 문서들을 이야기 합니다.
장기 기억이란 README 문서나, 아키텍쳐 문서 등 프로젝트 진행에 전반에 걸쳐서 지속적으로 관리되어야 할 문서를 이야기합니다.
즉, 작업 중에는 단기 기억이 생성되어 진행되고
작업이 끝나면 장기 기억을 업데이트 하여 공유하는
그런 방식으로 팀 문서가 관리되어야 한다고 생각하고 있어요.
그래서 위 같은 생각으로 이번 실습 프로젝트에서
.claude/ignore 처리해주시면 어떨까 싶어요.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 반영헀습니다!
VSC만 쓰다 IntelliJ 오랜만에 사용해보는데 아직 손에 안 익어서 어렵네요..