Achievements are currently calculated during build using the github GraphQL queries in [achievements/github.ts](https://github.com/playfulprogramming/playfulprogramming/blob/main/src/utils/achievements/github.ts) We need to migrate this to the backend - [ ] Modify the profiles table (or create a profile_achievements table?) to track which achievement IDs are obtained by each profile - [ ] Create a task that is given a profile_slug, and re-validates / grants any new achievements - [ ] Trigger that task whenever an author's post or collection is synced - [ ] Expose the set of achievements as part of the author profile endpoint
Achievements are currently calculated during build using the github GraphQL queries in achievements/github.ts
We need to migrate this to the backend