Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

evgenykobz/node-pdf-generator

Repository files navigation

node-pdf-generator

Node.js service for generating PDF via URL.

Features:

  • Pure Node.js
  • Dockerized to run in production mode
  • Includes Basic Authentication strategy
  • Logging via morgan
  • Log-colouring via chalk
  • Node.js friendly ESLint setup
  • Puppeeter that just works in Docker

How to run:

Install LTS Docker, build the image and run the container with the option -p 8080:8080

API:

Simply send POST request with a correct Authorization header. Currently the service supports only the following query paramater ?orientation=landscape, but you can easily setup your own ones!

About

Node.js service for generating PDF via URL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published