Skip to content

Case study · Certificate designer and bulk generator

Serenity

A web app to design certificates on a canvas, generate them in bulk from spreadsheet data and verify each one by QR code. Built with Next.js, Fabric.js and Firebase.

By · Updated

Serenity landing page reading “Create Certificates at Lightning Speed”, with buttons to start creating or verify a certificate

The problem

Events, workshops and courses often need hundreds of personalised certificates. Making them one by one is slow, and a certificate on its own is hard to verify later. Serenity puts a visual editor, bulk generation and public verification in one app.

What it does

  • A drag and drop canvas editor (Fabric.js) with variable fields such as {{name}}, Google Fonts, shapes, image filters, element locking and undo/redo.
  • Excel or CSV import that generates one certificate per row, with progress tracking and high resolution PDF export.
  • A unique QR code on every certificate, linking to a public verification page.
  • Batch email delivery.
  • Email, Google and GitHub sign in, a personal template library, and light and dark themes.

Architecture

Editing and generation run in the browser: Fabric.js renders each certificate from the template and a data row, and jsPDF and JSZip package the results, so bulk generation needs no render server.

Next.js route handlers cover the server side (templates, certificate records, verification, email, autosave, image uploads), backed by Firebase Auth, Cloud Firestore with security rules, the Firebase Admin SDK and Vercel Blob.

Implementation details

  • Custom Fabric.js objects for variable text and QR codes, so both can be positioned like any other element.
  • Each certificate gets an ID, encoded in its QR code and resolved by the /verify/[id] page and API.
  • An autosave service keeps work in progress in the editor.