Skip to main content

Introduction

Welcome to the Spinanda internal documentation hub.

What's Here

  • Database Schema — Complete documentation of all database tables, relationships, triggers, and business rules
SectionDescription
Database OverviewER diagram, trigger architecture, and data flow examples
PlayersCore player/user account table
TransactionsFinancial ledger with 16 triggers
VIP LevelsVIP tier definitions with cashback and perks
Coin PackagesPurchasable coin packages for sweepstakes

Platform Overview

Spinanda is a sweepstakes/social casino platform consisting of:

  • Backend — Node.js monorepo with 25+ microservices
  • Frontend — Next.js application
  • Backoffice — React Router + Cloudflare Workers admin panel
  • Mobile — Flutter application
  • Database — PostgreSQL with an extensive trigger system

Currency Model

For sweepstakes brands:

  • GC (Gold Coins) — Purchased for entertainment, cannot be redeemed
  • SC (Sweepstakes Coins) — Given free with GC purchases, can be redeemed after wagering

This dual-currency model enables legal sweepstakes operations across most US states.