Certificate PDF Renderer
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Server-side utility that renders a styled PDF or image representation of a peer mentor certificate for sharing via Flutter's platform share sheet. Applies organization branding tokens and outputs a binary artifact handed back to the Certificate Service for delivery to the mobile client.
certificate-pdf-renderer
Responsibilities
- Render certificate layout with design tokens and org branding
- Export PDF or PNG artifact from certificate data
- Return binary output for share sheet delivery
Interfaces
renderPdf(certificate: Certificate, orgBranding: OrgBranding): Buffer
renderImage(certificate: Certificate, orgBranding: OrgBranding): Buffer