Skip to content

Developer Guide

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

Core standards

DocumentDescription
Module DevelopmentModule Development Standard + Definition of Done
Module Development GuideEnd-to-end engineer checklist
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

Auth, RBAC & settings

DocumentDescription
AuthenticationAuth architecture, guards, reset flow
Tenant RBACImplementing workspace RBAC
Central SettingsSettings resolution & APIs
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

Official documentation for the SaleOS SaaS Platform.