Back to Developer Portfolio
Multi-Tenant E-Commerce Platform · 2026 – PresentE-Commerce Layer

Cohryn

Custom e-commerce storefronts backed by a dedicated merchant operations platform.

Project Overview

Cohryn is a multi-tenant e-commerce platform built for South African retail brands. Instead of locking merchants into standard templates or taking a cut of every order, Cohryn pairs custom Next.js storefronts with a merchant operations dashboard on flat monthly plans.

It connects each storefront to centralised order processing, inventory tracking, customer records, and local payments.

Hooked by Mel is Cohryn's first paying merchant and runs live on the platform.

Problem & Context

Small brands outgrowing Instagram DM orders often get stuck between generic templates and disconnected tools that don't handle local South African payments or real-time stock well.

Role & Ownership

Founder & Lead Developer · Cohryn

Engineering Contributions

  • Designed a multi-tenant application structure for independent merchant storefronts and operations.
  • Developed the database architecture and tenant-level data access boundaries.
  • Connected storefronts to centralised product, inventory and order management services.
  • Integrated Yoco Hosted Checkout and payment webhook processing.
  • Implemented direct merchant payment settlement rather than routing customer funds through Cohryn.
  • Used Cloudflare infrastructure for application delivery and media storage.

System Implementation

Workspace Structure

Organised with pnpm workspaces across separate surfaces (public storefront API, marketing site, merchant dashboard, admin portal, and payment webhook worker) that share typed interface and database client packages.

Cloudflare Compute & Media

Deployed on Cloudflare Workers via OpenNext with Cloudflare R2 buckets storing product photography and brand logos.

Database Separation & Tenant Isolation

Separated commerce operations data (products, orders, customers, inventory, discounts, shipping) from platform administration data (merchants, plans, subscriptions, audit logs), protected by Row-Level Security and database functions.

Signed Webhook & API Auth

Webhook handlers verify gateway signatures and exact totals before confirming orders. External storefronts authenticate with scoped API keys tied strictly to their merchant account.

Project Screens

Cohryn landing page desktop screenshot
Cohryn Landing: Live public landing page at cohryn.co.za
Cohryn merchant operations platform screenshot
Operations Platform: Merchant operations platform overview at cohryn.co.za/platform
Cohryn custom storefronts page screenshot
Custom Storefronts: Custom storefront showcase at cohryn.co.za/storefronts

Challenges & Lessons

  • Keeping tenant isolation strict across external storefronts meant resolving the merchant from API credentials rather than trusting client-supplied IDs.
  • Working with payment webhooks reinforced checking signatures and exact amounts before updating order status or stock levels.

Outcome

Running in production and powering Hooked by Mel (hookedbymel.co.za) with live catalogue browsing, Yoco checkout, Cloudflare R2 media and order management.

Linked Storefront

Hooked by Mel

Live custom Next.js 15 storefront powered by Cohryn's e-commerce layer for product catalogue, inventory, orders and Yoco checkout.

Next Project

Custom E-Commerce Storefront

Hooked by Mel