We want to implement a system where users are awarded specific badges based on their actions within the platform. The system should automatically add the appropriate badge when a user meets certain criteria.
Criteria for Badge Assignment:
-
Helper Badge
- Action: User submits their first answer in the Q&A section.
- Description: Award the "Helper" badge when the user provides an answer to a question for the first time.
-
Curious Badge
- Action: User asks 5 questions.
- Description: Award the "Curious" badge after the user has posted five unique questions.
-
Learner Badge
- Action: User views or participates in 10 quizzes.
- Description: Award the "Learner" badge when the user has either answered or viewed questions from ten quizzes.
-
Expert Badge
- Action: User receives 10 upvotes on any single answer.
- Description: Award the "Expert" badge when a single answer from the user receives 10 or more upvotes.
-
Innovator Badge
- Action: User creates a new blog post with at least 100 views.
- Description: Award the "Innovator" badge when a blog post created by the user reaches 100 views.
-
Mentor Badge
- Action: User provides 10 accepted answers to questions.
- Description: Award the "Mentor" badge when 10 of the user's answers are marked as the accepted solution.
We want to implement a system where users are awarded specific badges based on their actions within the platform. The system should automatically add the appropriate badge when a user meets certain criteria.
Criteria for Badge Assignment:
Helper Badge
Curious Badge
Learner Badge
Expert Badge
Innovator Badge
Mentor Badge