CCALI / a2jdat

This repo hosts the distributable production version of the A2J Document Assembly Tool (DAT). The document assembly tool is an optional piece of software used for producing pdf documents at the end of A2J Author Guided Interviews.
https://www.a2jauthor.org
Other
3 stars 1 forks source link

Create /api/preview route to support template previews #101

Closed chasenlehara closed 2 years ago

chasenlehara commented 2 years ago

The /api/assemble route will take templates and convert them into a PDF.

This reuses the assemble logic to create a new endpoint that returns the HTML generated before converting to PDF.

Part of https://github.com/CCALI/a2jdat/issues/94