Overview
Meridian Instruments is a company that does not exist. It is a portfolio demo: the products, prices, people and blog posts are made up, and a strip at the top of every page says so.
What it shows is real: a complete site for a company that builds products to order. A visitor browses the catalog, builds the exact product they need, saves it and asks for a price. Staff answer in a message thread and run the whole catalog from an admin area.

Try it yourself
The sign-in page has a “Try the demo” box with two one-click logins:
- Demo customer: save configurations and ask for quotes, like a real buyer would
- Demo admin: open every admin page, but read-only. Saving is switched off, and it never shows real people’s data
Every night all data goes back to the samples, so one visitor can’t break the site for the next. The demo customer has spam limits (for example 3 quote requests an hour), and the site says how long to wait when one is hit.

The catalog and the configurators
- 50 products in 6 types, with filters and a search by product code (SKU)
- Three configurators (a heater, an RTD sensor and a thermocouple). Each is a short form, one choice per part of the order code. The rules live in the database, so a choice can open or close the next one, and the server checks the finished code before it is saved
- Quote requests carry a copy of the saved configuration and open a message thread between the customer and staff, with email notices


The owner’s side
The admin area covers products, product types, configurators, quotes, blog posts, tags and users, plus an audit log (a list of every change, who made it and when). There are two roles, admin and customer.

Tech Stack
- SvelteKit (Svelte 5) for the pages, rendered on the server
- NestJS 11 for the API, with PostgreSQL through TypeORM
- A typed contract: the site reads the API’s OpenAPI description, so a change on one side that breaks the other fails the build instead of the live site
- Docker on my own server: the site, the API and the database each in a sealed-off box with a memory cap
- GitHub Actions: every push runs the tests, saves a copy of the database and goes live. If an update fails, the old version comes back by itself
- Playwright: 45 browser tests that click through the site like a person, plus API tests, before every deploy
The rebuild (November 2026)
The first version (2026) ran on four outside services (Vercel, Render, a hosted Postgres and Cloudinary) and had Google login, public sign-up and four roles. I rebuilt it with Claude Code (an AI coding assistant): I set the plan and checked every change.
- Outside services needed: 4 → 0 (pictures now live on the server’s own disk)
- Roles: 4 → 2, and no public sign-up
- A new look, “paper cut-outs”: ultramarine, lemon and coral on off-white paper, with new AI-made product pictures cut out with a white paper edge
- A safety pass: fixed an open redirect (a login link that could send people to another site afterwards), checked uploads, cookies and the admin pages, and added strict browser safety headers (CSP and HSTS)
- A bug sweep: a script opened 70+ pages as a guest, the demo customer and the demo admin, also at phone width. No errors, no broken links or pictures
Lighthouse (Google’s page checker) on the live site: 100 for accessibility, best practices and SEO on every page; speed 97 to 99 on a computer and 88 to 92 on a phone.
Outcome
- A complete company site with a real configurator, quotes and an admin area, that anyone can try in one click
- Safe to leave open to the public: read-only admin, spam limits and a nightly reset
- One server, no outside hosting, tested and deployed by itself, with automatic rollback
- Honest content: a clearly made-up company, with a demo note on every page