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

Implemented Referral System, code formatted and fixed some typos #62

Merged
merged 5 commits into from
Aug 26, 2020

Conversation

fabcodingzest
Copy link
Collaborator

@fabcodingzest fabcodingzest commented Aug 25, 2020

Fixes #issuenumber

What type of PR is this?

  • 🚀 Added Feature
  • 🐛 Fixed Bug
  • 📝 Docs Update
  • 🚩 Other

Check everything

  • I have added the issue number for which this pull request is created.
  • I have selected the TradeByte Project in Projects

Description

  • Implemented a Referral system that uses cookies.
  • The link is generated using the AddThis widget in which the current user id is passed for the later use to update the balance of the user who shared the link.
  • When a user signs up using the shared link he gets 50$.
  • The user who shared the link gets 100$ after any person sign's up from that particular link.
  • The cookie expires after 60 days from the time it was created (when the link was used).
  • The link is for one-time use only by a single user who signs up using it (it can be shared to multiple users but one user can use it for once only)
  • If the user already exists but the cookie exists from using the link earlier than it is not applicable hence destroyed.

@fabcodingzest fabcodingzest added enhancement New feature or request add feature Want a new feature database Database Task backend Backend Task labels Aug 25, 2020
@fabcodingzest fabcodingzest added this to the Week 4 milestone Aug 25, 2020
@fabcodingzest fabcodingzest self-assigned this Aug 25, 2020
@iampavangandhi iampavangandhi linked an issue Aug 26, 2020 that may be closed by this pull request
@iampavangandhi iampavangandhi merged commit eef4729 into iampavangandhi:master Aug 26, 2020
@fabcodingzest fabcodingzest deleted the fix/#60 branch August 26, 2020 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add feature Want a new feature backend Backend Task database Database Task enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TradeByte Referral System
2 participants