Software · Firebase CRM

Clearline

A Firebase-backed CRM I built to run SC Pressure Point. It's unfinished, and I've stopped working on it, but it's where I made my first real architecture decisions and fixed my first real backend bugs.

Firebase
Firestore Backend
Vanilla
JS PWA · No Framework
Paused
Unfinished · Not Maintained

Why it exists

From texts and
scattered notes

SC Pressure Point ran on text messages and memory. That worked at first, but not once jobs piled up. Off-the-shelf software cost $20 to $100 a month and didn't fit how I worked, so I built my own. Clearline handles customers, jobs, measurements, estimates, and billing in one place instead of scattered across a phone.

It was my first app with a real backend, not just a static page. I used it for SC Pressure Point, then stopped development when I paused the business.


Architecture & decisions

What I
actually built

I chose a no-framework, vanilla-JS PWA on purpose. It has fewer moving parts to break, and I understand it end to end. Firebase Firestore handles the data; GitHub Pages serves the app.

  • Firestore as the live backend for jobs, customers, quotes, and schedules
  • Vanilla JS PWA with no React or Vue, so it stays small, fast, and fully mine
  • GitHub Pages deploy that regenerates config from secrets on every push
  • Access model built on a signed-in accessUids list, plus a backfill tool to grant access to existing records

Real engineering

The bugs were
real too.

Getting it working meant solving real problems, not toy ones:

  • Firestore security rules: the jobs list query broke until I set the rule to signedIn() && uid() in accessUids. A get()/owner check made array-contains queries unprovable.
  • Chasing "permission-denied" errors that were sometimes stale rules, sometimes client bugs. I had to read the full console stack, not just the error text.
  • Deploy discipline: rules publish manually; the deploy script rebuilds config from secrets each push (one unquoted secret once broke the live site)
  • Tradeoffs between simplicity and a clean security model, decided and documented

What it taught me

A product is
more than code.

Clearline is where I learned to think like an engineer instead of a tinkerer: a security model that holds, a deploy that's reproducible, and the discipline to debug at the root instead of patching the symptom. Even unfinished, the decisions I'd make differently next time are the most valuable part.

Firebase Firestore Vanilla JS PWA GitHub Pages CRUD Security Rules CRM

Back to Portfolio