Demo project for @topkstt/pdf-fill-thai package
- Fill PDF Template Data
- S3 Upload After Fill Completed
- Merge PDF File Using URL
Clone the project
git clone https://github.com/topkstt/pdf-fill-and-merge-service.git
Go to the project directory
cd pdf-fill-and-merge-service
Install dependencies
npm install
Start the server
npm run start
Clone the project
git clone https://github.com/topkstt/pdf-fill-and-merge-service.git
Go to the project directory
cd pdf-fill-and-merge-service
Run Docker Compose
docker-compose up
Access service via 3050 port or set port in .env
POST /fill
Parameter | Type | Description |
---|---|---|
template_name |
string |
Required. Your template file name (in pdf_template folder) |
font_name |
string |
Required. Accept only Kanit,Prompt,Sarabun |
font_size |
float |
Required. Font size to fill data in float |
fill_data |
array |
Required. Your API key |
POST /merge
Parameter | Type | Description |
---|---|---|
lists |
array |
Required. List of pdf url to merge |