← All workProject 02 of 05

LooksLab

A full-stack, white-label e-commerce platform built entirely on Cloudflare's edge, with invoice-based checkout, a loyalty and referral engine, staff fulfillment tools, and fully configurable branding.

Role

Sole Developer

Year

2026

Type

White-label commerce on the edge

LooksLab home page

Overview

LooksLab is a full-stack, white-label e-commerce platform for research-grade compounds, built entirely on Cloudflare's edge. A React/Vite SPA is served through a custom Worker, and a separate backend Worker talks to a D1 SQLite database. It grew from a storefront into a full business-operations platform: loyalty and referrals, customer accounts, staff fulfillment tools, live status reporting, and a revenue-and-audit layer for the owner.

Challenge

There's no traditional payment processor, so checkout, the order lifecycle, and customer communication had to be built from scratch across five manual payment rails. Loyalty and a fraud-resistant referral system both had to settle correctly against manually verified payments, every admin action needed to be auditable, and since the platform is meant to be resold, nothing could be hardcoded to a single brand.

Outcome

A complete, production-ready platform with no traditional infrastructure. Checkout, loyalty, referrals, tracking, fulfillment tools, and a full operations console work as one system. There's also an isolated demo environment with its own Worker and database that spins up in minutes.

Key features.

  1. 01Fully white-label: every logo, image, and line of copy is editable from the admin, with no hardcoded branding
  2. 02Invoice checkout across five payment rails with a Discord-driven payment flow
  3. 03Protocol Points loyalty program with earn rates, bonus events, and redemption tiers at checkout
  4. 04Referral engine with vanity codes, tiered payouts, and a fraud review queue
  5. 05Live-accurate Site Content editor rendering the real storefront in an iframe as you type
  6. 06Role-based admin console with a full audit log of every staff action

Edge-first, white-label architecture

Frontend and backend run as separate Workers on Cloudflare's edge with D1 underneath. Every brand asset (logos, hero imagery, copy, SEO metadata, even artwork in product photos and outgoing email) reads from admin settings, so the same codebase redeploys as a fully isolated instance for a new brand in minutes.

Checkout, loyalty & referrals

Five manual payment rails: Zelle, Cash App, Venmo, PayPal and Apple Pay, each with its own instructions, QR code, or link. Protocol Points earns on every purchase and redeems in tiers alongside store credit, while referrals route anything suspicious (shared IPs, overlapping addresses) into a fraud queue before rewards are approved.

Orders & customer accounts

Full order lifecycle with automatic carrier tracking emails, one-click copy chips for fulfillment, and a step-by-step total breakdown showing exactly how discounts, rewards, and credit added up. Customers get accounts with order history plus a public tracking page.

Operations console

Revenue dashboard with gross, expenses, and net; stock alerts and support inbox at a glance; an audit log of every admin action; and a public /status page with component-level uptime and incident banners.

Stack

ReactViteCloudflare WorkersCloudflare D1ResendReact RouterDiscord API

Next project

Crtzax

The studio I built, then chose not to launch

View project →