Rui Carvalho
← Back to projects

Mynt

Euro coin collection manager that tells you where each coin is stored: binder, page and slot.

Year
2026
Role
Developer — design and development
Stack
React · PWA · Express · PostgreSQL · TypeScript · pnpm · Docker

Context

Existing numismatics tools tell you which coins you own, not where they are. Mynt answers that question: which binder, which page, which slot. It is a personal project built around a collection of euro circulation coins.

What I built

A pnpm monorepo with three parts: a React PWA, an Express API, and a shared package (packages/core) holding types, domain constants and pure logic (binders, completeness, denominations, condition grades).

  • Sign-up with email confirmation, login and password reset.
  • Management of binders, their pages and slots, with drag-and-drop for coins.
  • Collection completeness tracking against a catalogue.
  • Data import.

Technical highlights

  • SQL schema as the source of truth: migrations run by dbmate, with row-level security policies, roles and triggers. The typed schema in code is only a view; the ORM tooling is never allowed to write to the database.
  • Sessions: a fifteen-minute access token kept in memory, an httpOnly refresh cookie, and every session revoked on a password reset.
  • Offline: the app can be browsed without a network (service worker plus a TanStack Query cache persisted in IndexedDB) but deliberately not edited.
  • Internationalisation: English code, displayed text going through i18n, formats handled with Intl.
  • Vitest for tests, oxlint for linting, and Mailpit locally so the full email flow can be tested.
Next project As Delícias da Célia