Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 670 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 670 Bytes

puppeteer-ce-pdf-service

Nodejs app that generates pdf for any given url

Run Locally:

  • Clone the project
  • Run npm-install to install all dependencies
  • Run npm start this will start the server in HTTP://localhost:8080

Test:

  • Test LIVE Send a GET request to HTTP://34.84.156.66/generate-pdf?url=https://[your_desired_url] Eg: HTTP://34.84.156.66/generate-pdf?url=https://www.google.com

  • To test in local project: Send a GET request to HTTP://localhost:8080/generate-pdf?url=https://[your_desired_url] Eg: HTTP://localhost:8080/generate-pdf?url=https://www.google.com

    What's Included:

    • Express
    • Pug (For Templating)
    • Puppeteer