Skip to content

Developer Guide

Engineering documentation for extending SaleOS. New business capability ships as modules that mirror Leads and Tasks.

Core standards

DocumentDescription
Documentation GovernanceSame-PR docs rule — code + tests + docs
Module DevelopmentModule Development Standard + Definition of Done
Module Development GuideEnd-to-end engineer checklist
Module ArchitectureSelf-contained modules and ownership boundaries
Module DependenciesRequired vs optional; free vs billable dependencies
Module LicensingIndependent licensing convention
EntitlementsModule licensing vs Spatie authorization
DatabaseERD / table dictionary
Object StorageWasabi / S3 uploads
Frontend Build ArtifactsCI/CD → build-artifacts branch
PlaywrightE2E suites (Central + Tenant)
Tenant ProvisioningWorkspace create → default modules
Notification Architecture ContractFrozen notification payload, batching, Reverb, registry

Auth, RBAC & settings

DocumentDescription
AuthenticationAuth architecture, guards, reset flow
Tenant RBACImplementing workspace RBAC
Central SettingsSettings resolution & APIs
Multi-Provider EmailEmailManager, drivers, logs, queues, body capture, resend
Email WebhooksPostmark/Mailgun delivery webhooks
Tenant SettingsTenant configuration hierarchy

UI

DocumentDescription
Shared UIDesign system and reuse strategy
Shared LayoutShell, nav, and page structure

Billing

DocumentDescription
Billing EngineGateway-agnostic invoicing
Payment Gateways OverviewArchitecture & driver map
Payment GatewaysImplementing gateway drivers
WebhooksWebhook reference
Stripe / CashierCashier driver notes
CreemCreem checkout and ops

Modules

DocumentDescription
LeadsLeads reference implementation
TasksTasks module engineering guide
Communication TemplatesTemplates, placeholders, WhatsApp render

Lead ingest & integrations

DocumentDescription
Lead Source Driver ArchitectureShared pipeline for all lead ingestion drivers
Custom Lead WebhookPer-tenant webhook ingress
Meta App SetupCreate Meta Developer App + wire EloSync / SaleOS (operator guide)
Meta Lead AdsShipped — MetaLeadAdsDriver, OAuth, webhooks
WhatsApp Cloud IntegrationPlanned — Cloud API messaging beyond wa.me

Official documentation for the SaleOS SaaS Platform.