Skip to content

. Add POST /api/v1/quizzes/:id/feedback endpoint #331

Description

@DeFiVC

What: Add an endpoint that allows users to submit feedback on quiz questions (e.g., "this question is unclear", "wrong answer marked as correct").

Why: Quiz quality depends on user feedback. Without a feedback mechanism, bad questions persist and harm the learning experience.

Scope: Create quiz_feedback table with quiz_id, question_id, user_id, type (unclear/wrong/other), comment, created_at. Add endpoint that accepts feedback and stores it. Admin can review feedback to improve questions.

Acceptance criteria:

  • Users can submit feedback on specific questions
  • Feedback includes type and optional comment
  • Duplicate feedback from same user is prevented
  • Admin can view feedback summary per question

Technical context: src/modules/quizzes/quiz.service.ts — quiz operations. src/database/schema.ts — schema definitions.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions