PDF Filler is microservice for filling and converting DOCX files to PDF. It uses:
- Gotenbert to convert DOCX files to PDF
- docxtemplater for simple docx filling
- docx-templates for advanced docx filling (images, for example)
- https://pdf.fitnow.io/api/v1/docx
- http://localhost:5000/api/v1/docx (in development mode)
To run local instance of pdf filler run following commands:
git clone https://gitlab.com/fitnow/pdf-filler
cd pdf-filler
cp .env.example .env
npm i
docker-compose up
Additionaly create Google Cloud Service account JSON key and save it on ./google-key.json
location