Skip to content

[web-34] 관리자 모집 공고 조회 API 구현#22

Open
Chunwol wants to merge 1 commit into
developfrom
feature/web-34
Open

[web-34] 관리자 모집 공고 조회 API 구현#22
Chunwol wants to merge 1 commit into
developfrom
feature/web-34

Conversation

@Chunwol
Copy link
Copy Markdown
Member

@Chunwol Chunwol commented May 22, 2026

작업 내용

관리자 페이지에서 모집 공고 정보를 조회할 수 있는 API를 구현합니다.

변경 사항

  • GET /api/v1/admin/recruitment 엔드포인트 구현
  • AdminRecruitmentController, AdminRecruitmentService 추가
  • RecruitmentResponseDto 추가
  • RecruitmentRepository 추가 (findRecruitment() - Singleton 엔티티 ID 고정 1)
  • 현재 날짜 기준 isRecruiting 자동 계산

API

모집 공고 조회

GET /api/v1/admin/recruitment

Request: 없음

Response: 200 OK

{
  "success": true,
  "data": {
    "title": "2026년 1기 모집",
    "target": "대학교 1~3학년",
    "recruitmentStart": "2026-03-01",
    "recruitmentEnd": "2026-03-15",
    "interviewStart": "2026-03-20",
    "interviewEnd": "2026-03-22",
    "notificationDate": "2026-03-28",
    "isRecruiting": false
  }
}

테스트

  • GET /api/v1/admin/recruitment → 200 OK ✅
  • 모집 기간 내 요청 시 isRecruiting: true
  • 모집 기간 외 요청 시 isRecruiting: false

@Chunwol Chunwol requested a review from chldPDms May 22, 2026 07:09
@Chunwol Chunwol self-assigned this May 22, 2026
@Chunwol Chunwol added the enhancement New feature or request label May 22, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant