The largest coffee savings & discovery network in the world

Acquisition Ready

Data Architecture Overview

Clean, scalable data model designed for enterprise integration. Built for POS, payment processors, and coffee tech acquirers.

Core Data Models

Users & Accounts

5 tables

User
~500K

+15% monthly

UserPreferences
~500K

Synced

UserSubscription
~125K

+20% monthly

HSStudentVerification
~50K

+30% monthly

University
~3K

Stable

Relationships:

  • β€’One-to-one with preferences
  • β€’One-to-many with subscriptions
  • β€’Many-to-many with deals via redemptions

Deals & Redemptions

5 tables

MerchantDeal
~10K

+5% monthly

Campaign
~2K

+25% monthly

RedemptionHistory
~1M

+40% monthly

SavedDeal
~200K

+18% monthly

ClaimedDeal
~800K

+35% monthly

Relationships:

  • β€’Deals linked to merchants
  • β€’Redemptions track user activity
  • β€’Campaigns span multiple states

Merchants & Partners

5 tables

Merchant
~5K

+8% monthly

MerchantApplication
~1.2K

+10% monthly

Supplier
~300

+5% monthly

MCOProfile
~12

Stable

Influencer
~800

+12% monthly

Relationships:

  • β€’Merchants create deals
  • β€’Suppliers submit warehouse inventory
  • β€’MCOs operate country markets

Analytics & Intelligence

4 tables

DealPerformanceMetrics
~10K

Daily refresh

CampaignEvent
~500K

+50% monthly

MCOPerformanceMetrics
~150

Monthly refresh

ApprovedMetrics
~5K

Weekly refresh

Relationships:

  • β€’Aggregated from redemptions
  • β€’Real-time event tracking
  • β€’Segment-level rollups

Operations

5 tables

Notification
~2M

+45% monthly

Order
~100K

+30% monthly

VaultOrder
~15K

+22% monthly

WarehouseInventory
~5K

Variable

AdminAccessLog
~50K

Continuous

Relationships:

  • β€’Orders tied to users and deals
  • β€’Notifications triggered by events
  • β€’Admin logs for compliance

Data Flow Patterns

1

User Registration

β†’ User Entity β†’ Preferences β†’ Subscription

βœ“ Onboarding funnel tracked end-to-end

2

Deal Creation

β†’ MerchantDeal/Campaign β†’ Approval β†’ Distribution β†’ Notifications

βœ“ Deal lifecycle fully auditable

3

Redemption

β†’ ClaimedDeal β†’ RedemptionHistory β†’ Merchant Analytics β†’ User Points

βœ“ Real-time transaction tracking

4

Analytics

β†’ Raw Events β†’ Aggregation β†’ Metrics Tables β†’ Intelligence Index

βœ“ Multi-layer analytics architecture

Acquisition Readiness

Clean Data Model

  • βœ“Normalized schema with clear relationships
  • βœ“Consistent naming conventions
  • βœ“Indexed for performance at scale
  • βœ“Foreign keys enforced

API-First Architecture

  • βœ“RESTful endpoints for all core entities
  • βœ“Webhook support for real-time integrations
  • βœ“Rate limiting and authentication built-in
  • βœ“Versioned API (v2.0)

Security & Compliance

  • βœ“COPPA-compliant student verification
  • βœ“PII handling with parental consent
  • βœ“Admin access logs for audits
  • βœ“Secure payment processing (Stripe)

Technology Stack

Backend

Database:PostgreSQL
API:RESTful + Webhooks
Auth:JWT + OAuth
Payments:Stripe Connect

Integrations

CRM:HubSpot
SMS:Twilio
Analytics:Custom Intelligence Index
AI/LLM:GPT-4 (via integrations)