Skip to main content

Dependencies

Workspace Packages​

  • @salesarc/auth - Supabase server-side auth helpers
  • @salesarc/db - Drizzle schema and database client
  • @salesarc/observability - logger and Sentry bootstrap
  • @salesarc/rbac - permission matrix and RBAC helpers
  • @salesarc/reward-engine - pure reward calculations
  • @salesarc/tenant - tenant resolution helpers
  • @salesarc/types - shared schemas and enums

Key External Dependencies​

API​

  • Hono
  • Drizzle ORM
  • Zod
  • Supabase JS
  • Pino
  • Sentry
  • Resend
  • marked and sanitize-html for campaign rendering

Web​

  • React
  • React Router
  • Zustand
  • TanStack Query
  • Supabase JS
  • marked and sanitize-html for campaign composition and preview

Database​

  • Postgres via pg
  • Drizzle Kit for migrations

Current Hosting Tools​

  • Render for API hosting
  • Cloudflare Pages for the web app
  • Supabase for auth and storage

Notes​

The current repo still contains some legacy config files, but the docs should follow the active workflows and package manifests rather than old deploy assumptions.

Written byDhruv Doshi