Skip to main content
Case studyApplication Development

From Spreadsheets to a Portfolio Command Center

Concept to real multi-tenant software for a construction and real-estate portfolio

The Executive Portfolio Command Center overview: active projects, schedule tasks and 15 locations across the top, with a portfolio-wide report snapshot showing total budget, recorded costs, forecast at completion and forecast variance.
17
Database tables modeled
47
Row-level security policies
4
Reporting views
0
Data loss risk from a cleared browser

VSF Consulting Services manages construction and renovation projects across a portfolio of properties for its client organizations. That work lived in spreadsheets, then in a single-computer prototype that stored everything in one browser. We were brought in to take the concept the whole way: a secure multi-tenant application where properties, contractors, vendors, projects, schedules, quotes, and an itemized cost ledger all roll up into budget, forecast, and cash-needs reporting, with AI reading contractor quotes and invoices as they arrive.

Services
  • Custom Software Development
  • Product Design
  • AI Document Processing
  • Multi-Tenant Architecture
  • Database Design
Orange fire glowing between cracked black forge coals, the heat stage of this case study, where the project's problems were brought into focus
  1. 01Heat
  2. 02Shape
  3. 03Finish

01HeatAct 1 of 3

Where the heat was.

We turned VSF Consulting Services' portfolio into a shared financial operating record where spending and commitments could be controlled.

We inherited a portfolio trapped in one browser, with overwritten cost totals, disconnected quote approvals, and documents that had to be re-keyed. Its forecast also reported the wrong variance when cash needs were present.

The problem

Five things stood in the way.

What the work had to clear, and how each one was cleared.

  1. Challenge 1: The portfolio lived in spreadsheets, then in a single browser

    Project tracking started in spreadsheets and grew into a working prototype that ran as a single file on one computer, storing the entire portfolio in that browser's local storage. Its own manual advised keeping backups because browser privacy tools could erase everything. Nothing synced between people.

    How we cleared it

    We rebuilt the concept as a real multi-tenant web application on a managed Postgres database, with invitation-only access, per-tenant isolation enforced at the database level, and an explicit rule that the browser stores nothing but the session.

    ResultThe portfolio became durable, shared, and auditable instead of living on one machine.

  2. Challenge 2: Costs were three numbers somebody typed

    A project carried labor, material, and other cost as single figures that were overwritten as work progressed. You could see that thirty thousand dollars of labor had happened, but never what it was, when, or from whom.

    How we cleared it

    We replaced the typed totals with an itemized ledger where every entry carries a vendor, a date, a description, and the source document, rolling up into the same project and property totals.

    ResultSpending became traceable to its source instead of being a number with no history behind it.

  3. Challenge 3: Approving a quote and recording the cost were separate acts of memory

    Contractor quotes came in against upcoming work, one got approved, and from that moment the amount was committed spend. But approval only changed a badge, and somebody had to retype the number into the cost ledger, or forget to.

    How we cleared it

    We moved the rule into the database. Approving a quote creates the committed cost entry, editing an approved quote keeps it in sync, un-approving removes it, and deleting the quote cascades. The same triggers promote an approved upcoming project into an active one.

    ResultBusiness rules hold no matter which path writes the data, because they live below the application rather than inside one screen.

  4. Challenge 4: Quotes and invoices arrive as documents, not data

    Every contractor quote and vendor invoice landed as a PDF or a photo that somebody had to read and re-key, which is slow and is where transcription errors enter a financial record.

    How we cleared it

    We built AI extraction for both. Quotes yield amount, dates, contractor, and scope; invoices yield total, vendor, date, number, and a spending category. Extracted business names are matched to existing contractors and vendors at save time so duplicates are not created, and the extraction is hardened against instructions hidden inside uploaded documents.

    ResultDocuments become structured records on upload, with the numbers already in the ledger.

  5. Challenge 5: A forecast that quietly reported the wrong variance

    The forecast originally added cash needs on top of recorded costs, so any project with cash needs showed a negative variance even when it was perfectly on budget.

    How we cleared it

    We corrected the financial model and moved the authoritative calculation into database views, with the client-side arithmetic kept deliberately in lockstep and money rounded to cents rather than accumulating floating-point error.

    ResultBudget, forecast, variance, and cash needs now mean one thing each, computed in one place.

Bright molten metal flowing between dark, cracked crusts, the shape stage of this case study, where the build took its form
  1. 01Heat
  2. 02Shape
  3. 03Finish

02ShapeAct 2 of 3

Taking shape.

We specified a clean start from the prototype, then built a tenant-isolated database and the operating surfaces around it. We added document extraction, schedule generation, and reporting on top of the shared data model.

Build history

Project timeline.

How the work unfolded, with the decisions, releases, and deliverables recorded along the way.

  1. 01Milestone

    Turning the prototype into a specification

    We took the working single-computer concept and specified what it needed to become: the operating model to preserve, the data model underneath it, and an explicit decision to start clean rather than migrate local browser data.

    Handed over

    • Product specification
    • Data model design
    • Scope boundaries
    • Financial model definition
  2. 02Milestone

    Building the multi-tenant foundation

    We built the database first: portfolios as tenants, invitation-based membership, roles, and row-level security on every table, with reporting views that compute financial roll-ups where the data lives.

    Clearschallenge 01: The portfolio lived in spreadsheets, then in a single browser

    Handed over

    • Postgres schema
    • Row-level security policies
    • Reporting views
    • Invitation and membership system
  3. 03Milestone

    Building the operating surfaces

    We built the day-to-day application: properties, contractors and vendors, projects and upcoming work, a construction schedule with dependencies, quotes, and the itemized cost ledger.

    Clearschallenge 02: Costs were three numbers somebody typed

    Handed over

    • Portfolio and property management
    • Project and schedule tracking
    • Quotes and estimates
    • Itemized cost ledger
  4. 04Milestone

    Adding intelligence and reporting

    We added AI document extraction for quotes and invoices, AI-generated construction schedules that fall back to a template rather than failing, and filterable reporting with saved views for budget, forecast, and cash needs.

    Clearschallenge 04: Quotes and invoices arrive as documents, not data

    Handed over

    • Quote and invoice extraction
    • AI schedule generation
    • Budget, forecast, and cash-needs reports
    • Saved report views

The materials

12 tools in the build.

What the finished site runs on, and what each piece is there to do.

  • R
    React 19
  • T
    TypeScript
  • V
    Vite
  • R
    React Router
  • T
    TanStack Query
  • S
    Supabase
  • P
    PostgreSQL
  • R
    Row Level Security
  • S
    Supabase Edge Functions
  • O
    OpenAI
  • R
    Resend
  • V
    Vercel
A smooth steel ridge reflecting cool light, the finish stage of this case study, where the work went into service
  1. 01Heat
  2. 02Shape
  3. 03Finish

03FinishAct 3 of 3

Put to work.

We gave the portfolio a durable shared home, traceable cost entries, and database-enforced rules for approvals and commitments.

The outcome

What the finished work is doing.

The outcomes the project produced, with the source of each number beside it.

Durable and shared
The portfolio lives in a managed database with per-tenant isolation instead of one browser's local storage.

Answerschallenge 01: The portfolio lived in spreadsheets, then in a single browser

Traceable spending
Every cost entry carries its vendor, date, description, and source document rather than being an overwritten total.

Answerschallenge 02: Costs were three numbers somebody typed

Rules that cannot be skipped
Quote approval, cost commitment, and project promotion are enforced in the database, so every write path obeys them.

Answerschallenge 03: Approving a quote and recording the cost were separate acts of memory

The record

The project, on one sheet.

The facts of the engagement, for the record.

Industry
Real Estate & Construction Management
Start here

Want one of these for your business?

Every project on this site started with the same conversation. Tell us what you're building, or get a free written audit of what you already have.