Hello World!

PDF Generation Microservice

Welcome to the Likewatt PDF service. This microservice generates beautiful PDFs using React SSR, Tailwind CSS, and Puppeteer.

📡 Available Routes

GET
/

This page - displays API information and available routes

POST
/generate-pdf

Generate a PDF from uploaded image and text data (multipart/form-data: title, description, image)

POST
/generate-pdf-from-zip

Generate a multi-page PDF from a ZIP containing images - one image per page (multipart/form-data: title, description, zipfile)

POST
/generate-consent-pdf

Generate the data-collection consent letter PDF (application/json: customerFullName, operator, companyName, city, date, userLogo?)

🚀 Tech Stack

Fastify
React 19
Tailwind 4
Puppeteer
TypeScript
Zod
Pino
Node 24

Built with ❤️ by Likewatt • May 16, 2026