Lovebug Wiki

Lovebug is a hybrid adult social and service platform built as a production-grade monorepo. This wiki contains every specification, architecture decision, and operational procedure needed to rebuild the system from scratch.

Version: 0.1.0 Last updated: 2026-03-22


Table of Contents

Business & Product

  • Executive Summary -- company overview, problem, solution, revenue model overview
  • Market Analysis -- industry overview, target market, geographic analysis, market sizing
  • Revenue Model -- credit system economics, platform fees, subscriptions, pricing
  • Growth Strategy -- acquisition channels, creator recruitment, retention, go-to-market
  • Competitive Landscape -- competitor analysis, positioning, defensibility
  • Financial Projections -- revenue projections, cost structure, unit economics
  • Master Plan -- complete 10-section strategic plan: vision, features, user flows, architecture, monetization, safety, UX, growth, risks, roadmap

Architecture

  • System Overview -- monorepo structure, service topology, and request flow
  • Tech Stack -- every technology choice and the rationale behind it
  • Infrastructure -- Docker Compose services, ports, volumes, health checks
  • Data Flow -- step-by-step flows for registration, uploads, swipe/match, chat, live streaming, payments, and gifts
  • Security -- JWT auth, RBAC, rate limiting, content moderation, verification, and privacy controls

Database

API Reference

Real-Time Systems

Mobile App

  • App Architecture -- Expo Router, directory structure, API layer, Socket.IO, LiveKit, secure storage
  • Navigation -- root stack, tab navigator, auth modals, deep linking
  • State Management -- Zustand stores, persistence, hydration
  • Screens -- login, register, discover, feed, live, chat, profile

Payments & Credits

Operations

Design System

  • Design System -- color palette, typography, spacing, border radius, component patterns
  • Brand Guidelines -- brand identity, logo usage, color rules, tone of voice
  • UX Flows -- registration, swipe, match, chat, live streaming, credits, gifts, verification

Testing

  • Testing Strategy -- unit, integration, e2e approach, financial flow testing
  • API Tests -- how to run, test structure, auth helpers, credit test scenarios
  • E2E Tests -- Detox setup, critical user journeys, test scenarios per screen

Changelog

  • Changelog -- all releases and notable changes