Skip to main content
Projects
Active

Lumina

Booking, client and staff software for salons and barbershops — and my second run at the lesson Continuo taught me. The first attempt stalled at 118 commits; this one is a deliberate rebuild where nothing counts as done until a command proves it.

Lumina

What it is

Lumina is vertical SaaS for salons and barbershops — online booking, client records, staff scheduling and the financial side, with every business's data walled off from every other's. A client opens a salon's public booking page, picks a service and a time that's genuinely free, books, and the appointment lands on the owner's calendar with both parties emailed. That loop is what I'm building toward, and I treat it as the definition of done rather than as one feature among many.

It's also the direct sequel to Continuo, for an uncomfortable reason. I started Lumina in July 2025 and it stalled about 118 commits in, for exactly the reason Continuo did: I was producing code faster than I could verify any of it. Coming back a year later and actually measuring it, the build didn't compile, type-check had 686 errors, 101 of 114 test suites failed, coverage was 0%, and it had never once deployed. The seed factory had been broken for months — it computed required fields and then didn't return them — so nobody could run the app with data, so nothing had ever been checked end to end. That's how "86% complete" and 0% coverage managed to coexist for the better part of a year.

So the rebuild isn't a rewrite. It's a revisiting, with Claude Code as the lead developer and me as the owner: it makes the engineering calls and moves the work forward; I make the calls about direction, design, licensing and anything that can't be undone. That split replaced the micromanagement I was doing the first time round.

It's the same product with a feedback loop bolted on: a CI gate that actually passes, one branch per pull request, every piece of work tracked as a GitHub issue, and a rule that written code isn't finished code. Where it stands against where it started:

BeforeNow
npm run buildfailspasses
npm run db:seedfailsworks, and the same every time
npm run type-check686 errors0
npm run lint180 errors, not run at build0, and it gates the build
Tests101 of 114 suites failing, 0% coverage1,031 unit tests, plus end-to-end and screenshot tests in light and dark, green in CI
Deploymentnever happenedauto-deploys on green CI
Booking loopnever completed oncegreen end to end
Production CVEs (high/critical)160

The habit that came out of it is boring but has earned its keep: fix things by measuring them. A recent one looked like a timezone bug — a salon open nine to six was offering four-in-the-morning slots to anyone a few zones away. The real finding was that two services disagreed about what time it was, agreed with each other because both were wrong in the same direction, and the bug lived in the agreement. Fixing one of them turned a wrong answer into no answer at all. Same story with speed: "the booking page feels slow" became "one availability request runs 1,318 database queries and reads the same opening hours 180 times", which is a problem you can actually fix. Caching got it to 391; removing the layer that re-checked every slot got it to 172, and from 1.4 seconds to under half a second.

The redesign

The first version looked like what it was: a light marketing palette stretched over a dense app, then over a dark theme. Rather than patch it screen by screen, I'm rebuilding the interface properly — and doing the design work before the code.

Two review panels of AI agents went first. One set the direction — usability, front end, system design and security. The second studied fourteen products for the look and feel: nine known for their interfaces, among them Linear, Vercel, Raycast, Stripe and Apple's Liquid Glass, and the five salon tools Lumina competes with. Out of it came a direction I approved point by point: gold on near-black ink, dark by default, glass only where it earns its place, motion that's quick and always optional, and a booking page that belongs to the salon rather than to Lumina. The new mark, First Light, is a gold sun rising over a line — the day's appointment book opening.

Everything was a clickable prototype before it was code. The rebuild itself goes in small, screenshot-tested steps: plumbing first, then the look, then the front-desk workflows the first version never had — booking for a walk-in, checking a client in, and a "Today" view for the owner.

Stack

  • Frontend — Next.js 15 (App Router), React 19, TypeScript in strict mode, Tailwind CSS, Radix UI
  • Backend — Next.js route handlers, NextAuth v5, Zod validation at every API boundary
  • Data — PostgreSQL 15 with Prisma
  • Email — Resend, for booking confirmations
  • Testing — Jest for unit tests; Playwright for the end-to-end booking loop and screenshot tests in both themes
  • Hosting — Railway, deploying to staging automatically when CI is green

Design tokens live in exactly one file, and the CSS and Tailwind config are generated from it, so there's no raw hex anywhere in the components. Multi-tenancy isn't a convention either. Every query touching business data filters by tenant, and a test fails the build for any signed-in route that doesn't check the session against the business. When that test first ran, it found 30 routes that didn't.

Where it's at

Live on staging, seeded, and the public booking loop completes end to end — I've taken a real booking through it myself, which after a year of it never once working is a better milestone than it sounds. Six of nine phases are done, and the redesign is under way: the groundwork is in, and Tailwind 4 is next.

One honest gap: the emails. The confirmation code is written, but no email has gone out yet, because the sending domain still needs verifying on my side. Until it does, I'm not calling the loop finished.

Still ahead: the rest of the redesign and the front-desk workflows, then a brand voice, a proper release pipeline with a container image anyone can run, and an actual production launch. No customers yet, and I'm not pretending otherwise.

It's open source under AGPL-3.0 — free to self-host, forever. If there's ever revenue, it comes from running it for people through Effuse Labs, not from locking up the code. Anyone running a modified copy as a service has to share their changes back. That's the point: it keeps the project open no matter who ends up hosting it, including me.

Going public was its own small lesson. A secret scan over the full history turned up an API key for the issue tracker I'd used during the first attempt. It was committed inside an IDE's config directory and left behind in history when that directory was deleted. Harmless in the end — the account was long gone — but rewriting history wasn't enough to remove it, because GitHub keeps the original commits of every pull request forever. The only clean fix was rebuilding the repository from scrubbed history, which is why Lumina now lives under the Effuse Labs organization and its history starts where it does. Worth knowing before you publish something, rather than after.