We have an NodeJS API, that is used to generate PDF\'s. We use the Handlebars API server side to bind data to HTML templates (i.e. header, footer, content), then we use Pupp