Skip to Content
ReferenceRepository Map
Codebase guide

Start in the file that owns the behavior.

This repository is a Node product server, page-oriented web frontend, Expo mobile client, Supabase migration history, Cloudflare worker set, operations toolkit, and Nextra handbook in one deployable workspace.

Top-level map

PathOwns
server.jsExpress app, middleware, REST API, web routes, meeting WebSocket server, startup and shutdown
worker.jsIndependent background worker loop and lifecycle
lib/Product services, provider adapters, policy, validation, logging, metrics, data and media helpers
Root *.htmlPublic, account, Record, Meet, workspace, sharing, editing, domain, and Superadmin web screens
assets/Shared browser CSS/JS, brand images, generated video-effect runtime, speech and durability helpers
assets-src/Source modules used to build browser video-effect assets
apps/mobile/Expo/React Native mobile client and meeting flows
support-docs/Next/Nextra product handbook and support knowledgebase source
migrations/supabase/Canonical numbered Postgres schema and RLS migrations
supabase/Supabase CLI project metadata and selected linked migrations
workers/Cloudflare playback gateway and media-origin workers
scripts/Migrations, backups, support-index generation, lint, security and operational checks
deploy/Caddy, Docker Compose, systemd, observability, STT, TURN, and VPS deployment assets
test/Node test suite, product contracts, security, mobile, media, meeting, provider, and operations regression checks
docs/Long-form product plans, engineering handoffs, operations, compliance, user guides, and launch evidence

Find by product area

Record

Async video

  • record.html
  • video-editor.html
  • library.html
  • lib/media-processing.js
  • lib/r2.js
  • assets/recording-durability.js
Meet

Live rooms

  • meet.html
  • server.js WebSocket section
  • lib/meeting-access.js
  • lib/turn-credentials.js
  • lib/meeting-summary-*.js
Workspace

Tenancy and commerce

  • dashboard.html
  • lib/tenant-service.js
  • lib/workspace-policy.js
  • lib/entitlements.js
  • lib/billing-service.js
Share

Public delivery

  • share.html
  • embed.html
  • lib/playback-token.js
  • workers/playback-gateway
  • lib/domain-service.js
Support

Knowledge and staff tools

  • support-docs/app
  • lib/support-knowledgebase.js
  • superadmin.html
  • lib/superadmin-*.js
Foundation

Runtime and operations

  • lib/env.js
  • lib/db.js
  • lib/logger.js
  • lib/metrics.js
  • scripts/ops
  • deploy

High-value service files

FileResponsibility
lib/env.jsParses and validates every runtime setting; defines meet-only fallbacks and production requirements
lib/db.jsPostgres pool creation and connectivity
lib/supabase.jsSupabase Auth clients and session helpers
lib/tenant-service.jsWorkspace creation, membership, active tenant resolution
lib/entitlements.jsGuest/free/pro capability matrix
lib/validation.jsZod request schemas and normalization
lib/r2.jsObject keys, upload/delete, signed media URLs
lib/media-processing.jsProcessing manifests, artifacts, exports, and media job helpers
lib/background-jobs.jsWorker jobs, retries, cleanup, dispatch and heartbeat helpers
lib/meeting-summary-jobs.jsSummary claims, block progress, retries, leases and recovery
lib/domain-service.jsDomain normalization, DNS ownership/routing checks, tenant host resolution
lib/superadmin-service.jsPlatform metrics, users, tenants, billing, support and audit queries
lib/rate-limiter.jsIn-memory or Redis-backed distributed limiter abstraction
lib/logger.js, lib/metrics.jsStructured logs and Prometheus instrumentation

Documentation ownership

  • README.md: setup, production target, core API surface, deployment overview.
  • docs/PRODUCT_ARCHITECTURE.md: broad product, feature, data, and route map.
  • support-docs/app/product: self-guided product narrative and screenshots.
  • support-docs/app/frontend: screen and client implementation guides.
  • support-docs/app/backend: API, data, media, security, and operations guides.
  • docs/user: longer customer guidance not yet duplicated into the Nextra handbook.
  • docs/internal: implementation logs and sensitive engineering detail.
  • docs/operations: service-specific deployment, acceptance, recovery, and troubleshooting runbooks.
  • docs/launch-readiness and docs/product-enhancements: planning and evidence, not evergreen customer promises.

Change checklist

  1. Find the user-facing screen and backend route.
  2. Find the policy/capability service instead of copying a plan or role rule.
  3. Find the table migration and RLS policy for durable data.
  4. Update the closest evergreen handbook page.
  5. Add or update the test that owns the contract.
  6. Run the smallest relevant verification, then the broader CI check in proportion to risk.