This project converts any office documents to pdf using the google drive API. It first uploads the doc on the drive and then exports it in the pdf format.
- Follow the steps from here (https://dev.to/kamalhossain/google-drive-api-in-node-js-3mnm) to get crediantials.json and tokens.json
- Install the libraries
npm install
- Add the document in the root folder and change the name of the file in the code (filePath variable)
- Run the API
node server.js