Skip to content

ELIJAH-Ombogo/Affiliate-system-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Affiliate Trivia App

A simple backend app where users earn 20 bob per trivia question and refer friends for commissions.

  • Users pay 100 bob activation fee (goes to admin balance).
  • Referrers earn 50 bob per new activated user (referral balance).
  • Trivia earnings go to account balance.
  • Withdrawals allowed only from referral balance.

How to Run

  1. Clone repo
  2. Run npm install
  3. Start server with npm start (once API is ready)

Features

  • User activation with admin balance tracking
  • Referral commission payout
  • Trivia question earnings
  • Withdrawals from referral balance

Releases

No releases published

Packages

No packages published