← All work

Thor Lighting

Thor — a public storefront and a locked-down enterprise portal

A B2C lighting store plus a branded enterprise portal where each corporate account sees its own contracted pricing — and can reorder the exact models it has installed.

Lighting / CommerceCommerce + Client Portal
Thor Lighting — Thor — a public storefront and a locked-down enterprise portal

0

cross-account price leaks

1-click

installed-model reorder

2 surfaces

one secured catalog

The challenge

Thor sells to the public at list price and to enterprise clients at negotiated rates. Those rates are confidential — one account must never see another's pricing. Doing that in the UI alone is a data breach waiting to happen.

The blueprint

Two surfaces, one catalog. Internal product tables hold cost and are never exposed; the public store and portals read from public views. Contracted prices live per account and are enforced in the security layer, so a wrong URL returns a 404, not someone else's price.

What we built

  1. Price isolation enforced in RLS and the service layer — cross-account access 404s instead of leaking.
  2. Enterprise reorder flow keyed to each account's installed models, so replacements are one click.
  3. Public storefront and admin breadth on the same schema, cost data walled off behind views.

Stack

Next.jsSupabaseInngestRLS

Want one like this?

We ship builds like Thor Lighting in days, not months.

Start a build

Next case study

CacaoHub

Usap tayo

Handa ka na bang mag-ship?

Ready to ship? Book a discovery call — we'll tell you honestly whether a build is the right move.