Skip to content

feat: implement comprehensive badge system with categories (#574)#727

Open
karanjakevin39-collab wants to merge 1 commit into
rinafcode:mainfrom
karanjakevin39-collab:feat/issue-574-badge-system
Open

feat: implement comprehensive badge system with categories (#574)#727
karanjakevin39-collab wants to merge 1 commit into
rinafcode:mainfrom
karanjakevin39-collab:feat/issue-574-badge-system

Conversation

@karanjakevin39-collab
Copy link
Copy Markdown

Implement comprehensive badge system with categories

close #574

…#574)

- Add BadgeCategory enum (LEARNING, SOCIAL, ACHIEVEMENT, ASSESSMENT, CONTRIBUTION)
- Add BadgeCriteriaType enum with 9 criteria types
- Extend Badge entity with category, isActive, points fields
- Extend UserBadge entity with userId/badgeId columns and unique index
- Add BadgesService with automatic badge awarding via @onevent listeners
- Add LeaderboardService with points and badge leaderboards
- Add PointsService that emits events for automatic badge triggering
- Add BadgesController with 14 REST endpoints
- Add 11 seeded default badges across all categories
- Register GamificationModule in AppModule

Closes rinafcode#574
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@karanjakevin39-collab Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Kindly resolve conflict and fix workflow.

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.

Implement comprehensive badge system with categories

2 participants