projects/indizilla
Projects

Indizilla

The client operations platform behind a marketing agency — orders, jobs, billing, credits, and referrals, running on one Postgres database instead of spreadsheets and a shared inbox.

ROLE
Build & architecture
STACK
Supabase · Razorpay · Vercel
SURFACE
Client + admin, one codebase
STATUS
Live

// The product

The Indizilla homepage, with Marketing OS presented as a product sold on its own.
The homepage. The agency and the product are sold separately, which took three rewrites to admit.
The à la carte services page listing individual pieces of work a client can order.
Work ordered à la carte. A client picks a thing, it becomes a tracked job with a due date, and the invoice writes itself.
A page offering a redesign assessment, headed Name your business and watch.
The hook: name your business and watch it get pulled apart. Cheaper than a pitch and more convincing.
The contact page with a get-started form.
And the one page everything else exists to get you to.
// Why this exists

An ordering system, not just a website

A marketing agency doesn't just need a homepage. It needs a place where a client can order work à la carte, a place where that order becomes a tracked job with a due date, an invoice that generates itself, and a way to reward referrals without a spreadsheet quietly going stale. Indizilla is that system: a static client-facing frontend backed by a single Postgres database that owns every one of those steps.

// What actually happened

The data layer does the enforcing, not the frontend

The client platform covers a dashboard, à la carte ordering, an admin console, and tracked jobs, bills, credits, and referrals. One data module (js/db.js) exposes a single API that runs against either Supabase (when a real key is configured) or local storage in demo mode — so the same frontend runs standalone before a client's account even exists.

The important decision is where the trust boundary sits. Reads come from an in-memory cache filled once at init; writes go through Row-Level Security policies and a small, named set of security-definer Postgres functions. A client's browser can never write a job or an invoice table directly. Placing an order triggers server-side creation of both the job (with its due date) and the invoice (INV-year-seq), and every coupon or credit balance is re-validated in Postgres at order time: the client-side math is display only, never the source of truth.

Admin rights are enforced the same way: by row-level policy in the database, not by a role check in the frontend that a client could work around.

// Where it stands now

Running client work, and still being hardened

Checkout runs against Razorpay; Google sign-in is wired through Supabase Auth rather than hand-rolled, with the OAuth exchange handled entirely on Supabase's side of the boundary. The payment path is being tightened, and the specifics of what is and is not yet in place live in the project's own records rather than on a public page — a running storefront is not the place to publish its own soft spots.

// What I'd do differently now
  • 01Treat a payment as confirmed only once the server has verified it, and build that in the first week rather than the first quarter. Shipping the happy path first is how a gap becomes a habit.
  • 02A demo mode that falls back to the browser was right for early iteration, but it needs a build-time check that fails loudly rather than a note in someone's head. A fallback nobody can see is the one that survives into production.
Credits & scope

Scope of this entry.This page documents the platform architecture only: database design, payment flow, and auth. It intentionally doesn’t describe Indizilla's marketing services or brand positioning, since that content hasn't been written up yet.

Status. Live at indizilla.com, running client work daily.