01 Independent Brand · Multi-Tenant SaaS & AI Solutions
Lucky Cat: AI Solutions
Problem: Independent businesses need their own ordering, operations and AI-assisted sales software on a shared multi-tenant backend without leaking tenant data.
- Brand & suite
- Independent software & AI brand (Ownly owner app, Tillr customer ordering app, PitchPilot & Synergy)
- Role
- Built solo — architecture, Postgres RLS, Edge Functions, frontend & security review
Architecture & technical notes
- 01 INPUT · CLOUDFLARE PAGES Tillr (Customer) & Ownly (Owner) Static ordering & back-office apps
-
02 CONTEXT & POLICY · SUPABASE
PostgreSQL + RLS & Edge Functions
store_idon every row · Store-scoped stock RPC · Locked billing columns - 03 ACTION · PAYMENTS Stripe Connect (Live Mode) Direct charges + app fees · Tested with a real card
Key engineering decisions
Key engineering decisions
-
Row-level multi-tenant isolation: Every row carries a
store_id, and PostgreSQL Row-Level Security keeps each store’s data separate on a single Supabase backend. - Adversarial security review & same-day fixes: Audited the deployed system and fixed two serious bugs the same day: a stock function callable over the REST API against any store, and a client-writable billing column that let a store pick a cheaper plan.
- Live Stripe Connect integration: Deployed static apps on Cloudflare Pages backed by Supabase Edge Functions and Stripe Connect in live mode, testing the card charge end to end with a real card.