feat(news): 뉴스 학습 부가 기능 구현 (#389)#487
Merged
Merged
Conversation
- 읽기 완료 기록 API (POST /news/{articleId}/read)
- 북마크 토글 API (POST /news/{articleId}/bookmark)
- 북마크 목록 조회 API (GET /news/bookmarks)
- 학습 통계 조회 API (GET /news/stats)
- TTS 오디오 URL 조회 API (GET /news/{articleId}/audio)
- UserNewsRecord 모델 추가
- UserNewsRepository 추가
- NewsLearningService 추가
|
Jira: MESP-261 |
6 tasks
hye-inA
pushed a commit
that referenced
this pull request
Jan 23, 2026
…-learning-extras feat(news): 뉴스 학습 부가 기능 구현 (#389)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
API Endpoints
Query Parameters
limit: 1~50 (default: 10) - 북마크 목록voice: TTS 음성 (default: Joanna)Response Examples
학습 통계 (GET /news/stats)
```json
{
"totalRead": 25,
"thisWeekRead": 5,
"totalBookmarks": 10,
"byLevel": {"BEGINNER": 10, "INTERMEDIATE": 15},
"byCategory": {"TECH": 8, "BUSINESS": 12}
}
```
Changes
UserNewsRecord: 사용자 뉴스 활동 기록 모델UserNewsRepository: 읽기/북마크 저장소NewsLearningService: 학습 부가 기능 서비스NewsHandler: 새 API 엔드포인트 추가NewsErrorCode: UNAUTHORIZED 에러 코드 추가template.yaml: API Gateway 이벤트 및 Polly 권한 추가Related Issue
Test Plan