Generating a client card in the Domotekhnika app
Published: 2025-09-03Today I added client card generation to the Domotekhnika store app in Riga. ChatGPT designed it, helped choose the libraries for image rendering (canvas) and barcode (bwip-js), and even suggested the JS code.
The project itself is already morally outdated — although I wrote it only half a year ago in spring (it still uses mustache templates 👻). Even so, the update went quickly: about 2 hours and 40 minutes including AI translations into three languages. The deployment was done via GitHub Actions.
Another hour went into styling with the logo. The visual part always takes more time than coding. Now the app has a full-fledged card with name, ID, barcode, and brand mark.