β¨ Feature Description
Allow users to post comments on any coding quest. Each quest can have many comments from many users, and each user can post multiple comments on the same quest.
π§© Problem Statement
Users currently have no way to discuss or leave feedback on quests. A comments system encourages community engagement and helps other users understand quests better.
π‘ Proposed Solution
π Alternatives Considered
π Acceptance Criteria
π Related Issues / Links
π Additional Context
β¨ Feature Description
Allow users to post comments on any coding quest. Each quest can have many comments from many users, and each user can post multiple comments on the same quest.
π§© Problem Statement
Users currently have no way to discuss or leave feedback on quests. A comments system encourages community engagement and helps other users understand quests better.
π‘ Proposed Solution
π Alternatives Considered
π Acceptance Criteria
quest_idis a foreign key tocoding_questsand is not uniquecomment_authoris a foreign key tousersPOST /api/quests/<quest_id>/commentscreates a comment for the authenticated user404 Not Foundcommentfield returns400 Bad Request401 Unauthorizedquest_idexists in the migration forquest_commentsπ Related Issues / Links
π Additional Context