Skip to content

feat: task 통계 및 마감일 알림 엔드포인트 추가#3

Open
Wade-Gabia wants to merge 1 commit into
developfrom
feat/task-due-date-reminder
Open

feat: task 통계 및 마감일 알림 엔드포인트 추가#3
Wade-Gabia wants to merge 1 commit into
developfrom
feat/task-due-date-reminder

Conversation

@Wade-Gabia

Copy link
Copy Markdown
Collaborator

Summary

  • GET /tasks/stats: 태스크 현황 통계 집계 (todo / in_progress / done / overdue 카운트)
  • GET /tasks/overdue: 마감일 초과된 태스크 목록 조회
  • GET /tasks/due-soon?days=N: N일 이내 마감 예정 태스크 조회 (기본값 3일)

Changes

  • src/tasks/dto/task-stats.dto.ts 추가
  • TasksService.getStats(), getOverdueTasks(), getDueSoonTasks() 메서드 추가
  • TasksController/stats, /overdue, /due-soon 엔드포인트 추가

Test plan

  • GET /tasks/stats 정상 응답 확인
  • GET /tasks/overdue 마감일 초과 태스크 반환 확인
  • GET /tasks/due-soon?days=7 7일 이내 태스크 반환 확인
  • days 파라미터 미전달 시 기본값(3일) 적용 확인

🤖 Generated with Claude Code

- GET /tasks/stats: 태스크 현황 통계 (todo/in_progress/done/overdue 카운트)
- GET /tasks/overdue: 마감일 초과 태스크 목록 조회
- GET /tasks/due-soon?days=N: N일 이내 마감 예정 태스크 목록 조회

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Wade-Gabia

Copy link
Copy Markdown
Collaborator Author

@claude review

1 similar comment
@Wade-Gabia

Copy link
Copy Markdown
Collaborator Author

@claude review

@Wade-Gabia

Copy link
Copy Markdown
Collaborator Author

@claude review once

1 similar comment
@Wade-Gabia

Copy link
Copy Markdown
Collaborator Author

@claude review once

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