Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badges #5

Open
gabrnunes opened this issue Oct 12, 2024 · 0 comments
Open

Badges #5

gabrnunes opened this issue Oct 12, 2024 · 0 comments

Comments

@gabrnunes
Copy link
Contributor

A ideia é criar um sistema de badges onde o usuário pode ganhar de acordo com metas alcançadas (que eu sugiro chamar de hooks). Dai podemos sempre adicionar no meio do código um atingimento de um hook que automaticamente dá uma badge para um usuário.

Mostrar as badges conquistadas por usuário e também as que ele ainda pode conquistar.

Tabela badges

id
created_at
updated_at
deleted_at
name
image
hook_id

Tabela hooks

id
created_at
updated_at
deleted_at
name

Tabela attendees_badges

id
created_at
updated_at
deleted_at
attendee_id
badge_id
count
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

No branches or pull requests

1 participant