/convert-html-to-pdf-with-nodejs

This module is used for converting static or dynamic html to PDF by using Phantom JS.

Primary LanguageHTML

Convert html 2 pdf with Node JS

Pre-Requisite

Steps

In the root directory of this code, use the following commands: npm install - it will install your project dependencies npm start - it will start your server then open your browser and use http://localhost:3002.

Note: By default your server is going to run on PORT 3002.

Default ports:

- '3002'

How to set Envrionment Variable (If you want to set):

Steps to set Custom Port: Set environment variable port for your server. Just use export port=3002. To verify varialbe is set of not, just run the command: echo ${port}.

This is all you need to deploy this demo Convert html 2 pdf with Node JS application. If anyone wants any further instruction can contact me through email.

Thank you