← Home

~/projects/estimate-versions

Quote Version Control

An internal system that keeps every version of the Excel quotes staff build, shows any of them instantly, and highlights what changed since the last one.

A quote compared with its previous version: changed, cancelled and confirmed cells in colour (test data)Recent changes: the latest version of each quote (test data)
Example screensThe data on these screens is mock data, for security reasons.

Overview

Period
Jul 2026 – present
Team
Solo
Status
In production
Responsibilities
  • Requirements
  • Design
  • Backend
  • Frontend
  • Infra & CI/CD
  • Operations
Stack
  • Go
  • gin
  • SQLBoiler
  • PostgreSQL
  • React
  • TypeScript
  • Gotenberg
  • LibreOffice
  • Docker
  • GitHub Actions
Process
Built with Claude Code in a "spec → implementation plan → TDD → review" loop.

The problem

Staff built quotes in Excel, and every revision added another file. Which one was the latest, and what had changed since the last version, could only be found by opening the files and comparing them by eye.

Before and now

Before

  1. Staffedit the quote in Excel
  2. More and more files“final_2.xlsx”, “final_3.xlsx”…
  3. Changes found by eyeprices checked cell by cell

Between a traveller's first request and the final quote there are several versions. Staff needed a history of what changed, to show the client when needed and to keep track themselves.

Now

  1. Upload the Excel filethe same Excel as always
  2. Version historynumbered and saved automatically
  3. PDF previewrendered by LibreOffice in the background
  4. Changes at a glancechanged, cancelled and confirmed in colour

The interface borrows from GitHub — quotes are like repositories and versions like commits — without showing any of those words.

Architecture

  1. BrowserReact SPA
  2. TraefikTLS
  3. Go backendgin · SQLBoiler · serves the SPA
  • PostgreSQLversions and sheet snapshots
  • Gotenbergxlsx → PDF
  • Object Storageoriginals and PDFs

One process serves both the API and the SPA; there is no nginx.

Technical highlights

  • Diffs from stored snapshotsEach upload saves its sheets as JSONB, so comparing never re-opens the Excel files.
  • Upload now, render laterA version shows up at once; the PDF is made separately, and unfinished renders resume after a restart.
  • Keeping .xls numbers intactLibreOffice breaks some calculated values; a Python step puts back the ones stored in the original file.

Outcome

Any version of a quote can be checked at once, without opening a file.

Changes since the last version show in colour, so checking prices is faster.

Excel stays exactly as people use it; the history is simply added behind it.

3D avatar of Eric Bamba