Clarity CRM Architecture
Built on transactional PostgreSQL, HTTP-only JWT sessions, and a dedicated WebSocket sync layer.

Capture leads manually or via webhooks, detect duplicates, send versioned proposals, and convert won deals into skill-matched projects atomically.

Role-gated workspaces combining 4-column task boards, subtasks, project timelines, time logs, file uploads, and bug tracking.

Create line-item invoices with printable PDF previews, reconcile partial/full payments, log expenses, and dispatch employee payslips.

Standalone WebSocket channels with read receipts and media uploads, HR/IT support tickets, and encrypted IMAP/SMTP webmail.
