Skip to content

[1주차] 이예서/[feat] 초기 프로젝트 설정#28

Open
HandoA01 wants to merge 5 commits intoLeets-Official:이예서/mainfrom
HandoA01:이예서/1주차

Hidden character warning

The head ref may contain hidden characters: "\uc774\uc608\uc11c/1\uc8fc\ucc28"
Open

[1주차] 이예서/[feat] 초기 프로젝트 설정#28
HandoA01 wants to merge 5 commits intoLeets-Official:이예서/mainfrom
HandoA01:이예서/1주차

Conversation

@HandoA01
Copy link

1. 과제 요구사항 중 구현한 내용

  • 프로젝트 구조 구성 (Controller/Service 레이어 분리)
  • 헬스체크 API 구현 (GET /health)
  • 문자열 2개 반환 API 구현 (POST /string/repeat)
  • 권장 추가 구현 반영 (선택)

2. 핵심 변경 사항

  • Controller, Service, dto 분리
  • GlobalExceptionHandler 예외처리
  • 문자열 2번 반환 API 구현

3. 실행 및 검증 결과

  • 실행 결과
  • GET /health 응답:
스크린샷 2026-03-24 오전 1 37 54
  • POST /string/repeat 요청/응답:
스크린샷 2026-03-24 오전 1 36 26 스크린샷 2026-03-24 오전 1 34 10

4. 완료 사항

  1. 초기 프로젝트 생성 및 실행 환경 설정
  2. Controller, Service, dto 레이어 분리
  3. health, 문자열 반복 API 구현

5. 추가 사항

제출 체크리스트

  • PR 제목이 규칙에 맞다
  • base가 {이름}/main 브랜치다
  • compare가 {이름}/{숫자}주차 브랜치다
  • 프로젝트가 정상 실행된다
  • 본인을 Assignee로 지정했다
  • 파트 담당 Reviewer를 지정했다
  • 리뷰 피드백을 반영한 뒤 머지/PR close를 진행한다

@HandoA01 HandoA01 requested a review from a team March 23, 2026 16:55
@HandoA01 HandoA01 self-assigned this Mar 23, 2026

public StringRequest() {}

public String getValue() {
Copy link

Choose a reason for hiding this comment

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

💊 현재 DTO에 생성자와 Getter를 직접 작성하셨는데, Lombok 라이브러리의 @Getter@AllArgsConstructor 어노테이션을 활용해 보시는건 어떨까요?

어노테이션을 사용하면 반복되는 코드를 획기적으로 줄일 수 있고, 나중에 필드가 추가되거나 변경될 때 일일이 메서드를 수정하지 않아도 되어 유지보수성이 훨씬 좋아집니다. 코드가 훨씬 간결해져서 가독성도 높아질 것 같아요!

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.

2 participants