Multi-tenant SaaS for online stores, 2026 to present
Commerce SaaS Platform
A product in active development that helps merchants set up, customize, and run their own online stores.

- Role
- Full-stack product engineer
- Period
- 2026 to present
- Stack
- Next.js, TanStack Query, NestJS, PostgreSQL, Redis, MinIO, Docker, Traefik, MyFatoorah
- 4connected product areas
- EN/ARbilingual store builder
- Activeproduct development
Context
The platform gives businesses one connected flow for setting up a branded online store: choose a template and plan, manage billing, customize the storefront, and get ready to launch. I work across the admin platform, merchant experience, billing, and store builder.
The problem
One codebase serves three very different users at once: platform admins, merchants building stores, and shoppers on the storefronts. Billing, permissions, and provisioning must stay in sync. If a merchant's renewal fails, they should reach a clear, recoverable state, not a broken store.
What I built
- Role-based access control with access groups and permission-aware UI across every admin flow.
- The full billing lifecycle: plans, saved cards, payment attempts, renewal invoices, failed-payment recovery, and store-level suspend/resume, integrated with MyFatoorah.
- A multi-step onboarding wizard that saves drafts and streams provisioning progress live over Server-Sent Events.
- The merchant store builder: editable sections, rich text, EN/AR drafts, product pickers, live preview, and theme publishing to the storefront.
- Platform infrastructure: Docker, Traefik routing, Redis, MinIO object storage, shared database configuration.
Decisions
Entitlement follows the store; payment methods follow the tenant
A tenant can own several stores with different plans and renewal dates. Subscriptions live on the store so each one can renew, fail, or suspend on its own, while saved cards belong to the tenant and are reused across its stores.
Invoices record what is owed; payments record each attempt
A failed charge leaves the invoice valid. A retry creates a new payment attempt against the same invoice, so failures stay in the history and a service period is never billed twice.
Retries are safe by design
A local payment ID is the gateway idempotency key, and database constraints back up the application checks against duplicate invoices, competing open attempts, and repeated webhook events. An ambiguous webhook is rejected for manual reconciliation instead of being applied to the newest open payment.
Outcome
- The current product connects template selection, billing, store setup, and storefront editing in one flow.
- Billing edge cases (failed renewals, expired cards, and suspensions) have defined, recoverable product states.
- Storefront content can be edited in English and Arabic from a single builder workflow.
Screens



Hiring a full-stack engineer?
yusufketata5@gmail.comI'm happy to walk you through this project and the code behind it.
Bosnia and Herzegovina, CET/CEST. Remote, or open to relocating.