Skip to content
Point of sale · SaaS

Multi-tenant POS SaaS

A point-of-sale platform built as a multi-tenant SaaS: organisations, branches and users on one schema, a till that keeps up with a USB scanner, and a versioned public API with scoped keys.

DevelopmentEcomLabs ProductProducts & SaaS
Overview

This is a full-stack system rather than a till with a database behind it. Tenancy runs organisation, branch, user and membership; prices live in lists rather than a single field so wholesale and retail can differ per branch; and every price change, cost change, sale and cancellation writes to an append-only audit log. Payments go through Mercado Pago with webhook reconciliation, background work runs on a Redis-backed queue, and the floor screens stay in sync over websockets.

What EcomLabs did

  • Designed the multi-tenant data model — organisation, branch, user, membership — in Prisma and PostgreSQL.
  • Built the point-of-sale screen around a permanently focused USB barcode scanner.
  • Implemented inventory with a printable kardex per branch, price lists and cash-drawer reconciliation.
  • Added a versioned public API with scoped API keys, and an append-only audit log behind it.

Capabilities

  • Multi-tenant organisations, branches, users and memberships.
  • Retail and wholesale price lists, per branch.
  • Inventory with a printable kardex and a price-check kiosk.
  • Mercado Pago checkout with webhook reconciliation.
  • Six permission levels over an append-only audit log.
  • Excel and CSV import and export, and cash-drawer close.

Stack

  • Next.js
  • TypeScript
  • Prisma
  • PostgreSQL
  • Redis
  • BullMQ
  • Socket.io
  • Mercado Pago
  • Zod
  • Railway
Related work

Related work

Let's build

Have a project in mind?

Tell us your goals and current setup — we'll come back with a clear, honest plan.