← projects

case study

PaintCRM

Dealers need sub-minute wall previews and lead capture on unreliable shop-floor networks.

problem

Paint dealers need a fast in-store demo: visualize real catalog colors on a customer's wall and capture the lead — often with unreliable shop-floor internet.

solution

PaintCRM combines browser-side wall masking and recolor, offline-first lead capture, and a multi-tenant Express API for quotes, orders, inventory, and an append-only credit ledger.

Vite offline-first frontend with Canvas engine and tested ES modules. Express API with 12 route modules, PostgreSQL multi-tenant store, optional Redis rate limiting. Docker + GitHub Actions CI, deployed on Render/Fly.io.

security

JWT with rotating refresh tokens; multi-tenant API; financial totals computed server-side.

testing

Automated Vitest/Jest suite and Playwright E2E documented in repository; exact counts live in PaintCRM CI — verify before citing a number on external profiles.

what i built

  • Visualization. Canvas segmentation and 63-shade catalog preview
  • CRM. Quotes, orders, inventory, receivables
  • Deploy. Docker + live demo at paintcrm.brohammad.tech

key decisions

  • Offline-first UX. Shop-floor demos cannot depend on continuous connectivity.
  • Server-side financial totals. Ledger and quote totals never trust client-computed amounts.

verified results

  • Live demo at paintcrm.brohammad.tech
  • Playwright E2E in CI
  • 63 catalog shades