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

feature: direct referral system #33

Draft
wants to merge 15 commits into
base: develop
Choose a base branch
from
Draft

Conversation

AvilaAndre
Copy link
Contributor

@AvilaAndre AvilaAndre commented Jan 7, 2025

  • Implement HashId to encode and decode referrals
  • Store referral code in the cookies on website visit
  • Create ReferralController for giving points
    • Have a way to differentiate different user types
    • Create points field in the database
  • Implement functionality to give points to the users

Referrals are only applied after the user buys a ticket.

@AvilaAndre AvilaAndre changed the title feat: create referral middleware feature: direct referral system Jan 11, 2025
@AvilaAndre AvilaAndre linked an issue Jan 13, 2025 that may be closed by this pull request
@limwa
Copy link
Member

limwa commented Jan 19, 2025

Preview available at: https://enei-pr33.limwa.pt/
Deploy previews are kept up-to-date with the latest commits.

@tomaspalma tomaspalma changed the base branch from main to develop February 7, 2025 16:38
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

Successfully merging this pull request may close these issues.

Implement Direct Referral System
3 participants