html-pdf is used to convert html to pdf
- Nodejs
- Install Serverless globally
npm i -g serverless
Install all dependencies
npm install
Step 1. First deploy the layer.
cd layers/
sls deploy
Step 2. Deploy the main service that will be converting html to pdf
cd htmlToPdf/
sls deploy