Skip to content

[Hyeonu] Week4 미션#18

Open
cha-hyunwoo wants to merge 6 commits intoHyeonufrom
Hyeonu-week4
Open

[Hyeonu] Week4 미션#18
cha-hyunwoo wants to merge 6 commits intoHyeonufrom
Hyeonu-week4

Conversation

@cha-hyunwoo
Copy link
Copy Markdown

@cha-hyunwoo cha-hyunwoo commented Apr 6, 2026

🔗 연관 이슈

[Feat] 4주차-Chapter 4. 프로젝트 세팅하기 - 아키텍처 구조, Swagger

🛠 작업 내용

  • 도메인형 아키텍처에 맞는 프로젝트 설계
  • Swagger 설정

🖼 스크린샷 (선택)

👀 리뷰 요구사항 (선택)

🤖 AI 활용

  • AI 사용 안 함
  • 코드 작성 아이디어 참고
  • 테스트/리팩토링 보조
  • 문서/주석 작성 보조
  • 기타 (아래에 간단히 작성)

💬 나의 프롬프트

내 브랜치의 폴더 구조를 사진 속 폴더 구조처럼 어떻게 만들어?

🧠 AI 응답

중복 파일 정리: pull 받아올 때 깃허브 서버에 있던 구조와 내 로컬 구조가 충돌하면서 생긴 중복 파일들을 제거하는 게 맞습니다. (아까 .idea나 build 폴더 지운 게 바로 이 과정이에요!)

폴더 위치 선정: .gitignore나 README.md가 있는 **최상위 루트(Root)**에 Hyeonu 폴더를 두는 게 핵심입니다. 그 안에 src랑 build.gradle이 들어가야 하죠.

커밋의 조건: 폴더가 엉뚱한 곳(예: 다른 사람 폴더 안이나 .idea 안)에 들어가 있으면 깃이 인식을 못 하거나 설정이 꼬여서 커밋이 제대로 안 됩니다.

✅ 내가 최종 선택한 방법 (이유)

중복 파일 정리: pull 받아올 때 깃허브 서버에 있던 구조와 내 로컬 구조가 충돌하면서 생긴 중복 파일들을 제거하는 게 맞습니다. (아까 .idea나 build 폴더 지운 게 바로 이 과정이에요!)
-> 내가 물어본 건 중복된 파일 때문에 프로젝트가 지저분해졌기 때문임

💡 나만의 Tip (선택)

@cha-hyunwoo cha-hyunwoo self-assigned this Apr 6, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f62179db3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,251 @@
#!/bin/sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Gradle wrapper에 실행 권한을 부여하세요

gradlew가 실행 비트 없이 커밋되어(Linux 기준 100644) ./gradlew test 실행 시 즉시 Permission denied가 발생합니다. 이렇게 되면 과제에서 가장 기본인 빌드/테스트 루프 자체가 막혀 Spring 학습 피드백을 받을 수 없으니, chmod +x gradlew 후 실행 권한(100755)까지 함께 커밋해 주세요. 다음으로는 Gradle Wrapper와 Unix 실행 권한(파일 모드) 개념을 같이 정리해 두면 좋습니다.

Useful? React with 👍 / 👎.

@@ -0,0 +1 @@
spring.application.name=umc10th
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 데이터소스 설정 또는 테스트 프로필을 분리하세요

현재 설정 파일에 애플리케이션 이름만 있고(application.properties), 빌드에는 JPA/MySQL 의존성이 포함되어 있어 컨텍스트 로딩 시 DataSource 자동구성이 실패할 가능성이 큽니다(@SpringBootTest 기본 진입이 깨짐). 학습 관점에서도 서비스/리포지토리 실습 전에 부트스트랩이 막히므로, spring.datasource.*를 명시하거나 test 프로필에서 H2 같은 임베디드 DB를 사용하도록 분리해 주세요. 다음 학습 주제로는 Spring Boot DataSource 자동구성과 Profile 기반 설정 분리를 추천합니다.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant