« All work
[ Case study ] — Manufacturing & defense

The system that runs a defense factory’s production floor

Follows every part from supplier delivery to a tested finished unit — on web and a Windows app, online or offline, with an AI assistant that briefs management daily.

Factory ERPA defense manufacturer (name withheld)Business system · web + Windows appLive in production2026
Production today
StoresAssemblyTestingDispatch
Factory ERP illustration of the productPrivate system — shown as an illustration
ClientA defense manufacturer (name withheld)
IndustryManufacturing & defense
ProductBusiness system · web + Windows app
My roleArchitect & lead engineer
[ 01 / 07 ] — About the client

Who it’s for

The client is a precision-assembly manufacturer in the defense sector. Parts arrive from suppliers, are assembled at paired workstations and pass multi-stage testing before delivery.

[ 02 / 07 ] — The challenge

What needed to change

Production, stock, test results and expenses were typed in by hand across spreadsheets, daily progress reports and PDF test reports. Management couldn’t see current stock, how many units could be built right now, or where rejects were happening — and the same output was sometimes recorded twice.

[ 03 / 07 ] — The build

What I built

  1. [01]
    Stores and inventory: every supplier delivery logged as a batch, oldest stock used first, and a live count of how many units can be built — and which part is holding things up
  2. [02]
    Job assignment to workstations, with parts taken all-or-nothing so stock can never go wrong
  3. [03]
    Live full-screen displays for every workstation, showing today’s output and the team
  4. [04]
    Multi-stage quality testing with pass/fail per stage and defect analysis by reason
  5. [05]
    Rejections and rework: every reject has a reason and can be sent back for rework and tracked
  6. [06]
    Workforce roster, bench assignments, fingerprint attendance and leave requests
  7. [07]
    Expenses and budgets with receipt uploads and budget-vs-actual charts
  8. [08]
    Scorecards, production forecasts, batch progress and dispatch tracking
  9. [09]
    An AI assistant that writes a graded report every night, checks the numbers every 30 minutes and assigns follow-ups to the right people
  10. [10]
    Works offline on web and as a Windows desktop app, then catches up automatically
  11. [11]
    17 roles — from assembly worker to COO — each seeing only what they should
  12. [12]
    Nightly backups to two off-site locations, and silent auto-updates for the desktop app
[ 04 / 07 ] — How it works

How it works, step by step

  1. [01]

    A supplier delivery is logged

  2. [02]

    Work is assigned to a workstation

  3. [03]

    Teams assemble and log output

  4. [04]

    Units pass multi-stage testing

  5. [05]

    Dashboards and the AI flag what needs action

[ 05 / 07 ] — Results

Results so far

3

apps: web, Windows desktop and server

17

user roles with their own permissions

15 s

for every device to catch up with the latest data

$0.06

per nightly AI management report

[ 06 / 07 ] — Key decisions

Decisions that mattered

  1. [01]
    Simple sync over clever sync: the server is the source of truth, and devices queue their work offline and replay it on reconnect.
  2. [02]
    Stock accuracy enforced by the database itself — parts are taken all-or-nothing, oldest first — so the numbers can be trusted.
  3. [03]
    AI that only runs when something actually changed, uses a cheaper model for routine checks, and can switch to fully local models.
[ 07 / 07 ] — Under the hood

The technology

React 19 + ViteInstallable web app (PWA, IndexedDB)Electron desktop app (SQLite)Node.js + HonoPostgreSQLRedis + BullMQRailwayClaude (with swappable and local model options)

For the technically curious. You don’t need to know any of this to work with me.

[ Get started ] — Book a call

Have something to build?

Tell me what’s slowing your business down. I’ll tell you honestly what software can fix — and what it can’t.

[01]Project

Product build

From idea to launched product. Clear scope, weekly releases.

[02]Ongoing

Ongoing partner

Your part-time technical lead: new features, fixes and advice every month.

[03]Add-on

Add AI to your business

An AI assistant, automation or private AI added to what you already run.