feat: add referral rewards#282
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive referral system, including database migrations, a new ReferralService, and a ReferralRepository. It integrates referral tracking into the authentication flows (OAuth, email, NEAR) and the subscription lifecycle to grant credit rewards based on configurable triggers like registration or first active subscription. Additionally, it adds administrative configuration for referrals and a new API endpoint for user referral dashboards. I have no feedback to provide as no review comments were present.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa50bef56e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary:
Validation: