An inside look at the architecture, tech stack, and engineering decisions behind the modern certificate generation platform.
The hardest part of building Vura was the coordinate mapping system. When a user uploads a blank PDF template, the browser doesn't inherently "know" where the lines are.
I had to build a custom interactive React visualizer using `react-pdf` that calculates exact X and Y percentage coordinates as the user drags markers across the screen.
When generation begins, the Node backend receives these percentage coordinates, inverts the Y-axis (because `pdf-lib` draws from bottom-to-top rather than top-to-bottom like the DOM), measures the exact width of every dynamic string using embedded font tools, and recalculates the anchors so names are perfectly center-aligned on the certificate regardless of their length.
Built from the ground up by Om Narkhede.