Referral

To create a referral system, we use a tree-like structure where each user has a parent ID that indicates their referer and they act as referees for their parent users. We also add a referral code for each user in the UserSetting table.

Last updated

Was this helpful?