feat(news): 복합 퀴즈 시스템 구현 (#471)#488
Merged
Merged
Conversation
- 퀴즈 조회 API (GET /news/{articleId}/quiz)
- 퀴즈 제출 API (POST /news/{articleId}/quiz)
- 퀴즈 기록 조회 API (GET /news/quiz/history)
- NewsQuizResult 모델 추가
- QuizAnswerResult 모델 추가
- NewsQuizRepository 추가
- NewsQuizService 추가
|
Jira: MESP-262 |
7 tasks
hye-inA
pushed a commit
that referenced
this pull request
Jan 23, 2026
…-quiz-system feat(news): 복합 퀴즈 시스템 구현 (#471)
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
Request/Response Examples
퀴즈 조회 (GET /news/{articleId}/quiz)
{ "articleId": "abc123", "articleTitle": "Tech Innovation in 2026", "level": "INTERMEDIATE", "questions": [ { "questionId": "q1", "type": "COMPREHENSION", "question": "What is the main topic?", "options": ["A", "B", "C", "D"], "points": 20 } ], "totalPoints": 100, "submitted": false }퀴즈 제출 (POST /news/{articleId}/quiz)
Request:
{ "answers": [ {"questionId": "q1", "answer": "A"}, {"questionId": "q2", "answer": "B"} ], "timeTaken": 120 }Response:
{ "score": 80, "earnedPoints": 80, "totalPoints": 100, "results": [ {"questionId": "q1", "correct": true, "points": 20} ], "feedback": "Great job!" }Changes
NewsQuizResult: 퀴즈 결과 모델QuizAnswerResult: 개별 답변 결과 모델NewsQuizRepository: 퀴즈 결과 저장소NewsQuizService: 퀴즈 비즈니스 로직NewsHandler: 퀴즈 API 엔드포인트 추가template.yaml: API Gateway 이벤트 추가Related Issue
Test Plan