Skip to content

I learnt how to generate dynamic pdf's using javascript, this example is a Receipt, suggested by an interviewer from Softtek

Notifications You must be signed in to change notification settings

SantiagoSiordia/Create-pdf-with-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Create-pdf-with-JS

I learnt how to generate dynamic pdf's using javascript, this example is a Receipt, suggested by an interviewer from Softtek

Tech Stack

NodeJS:

  • Dependencies:
    • body-parser
    • cors
    • express
    • html-pdf
    • phantomjs-prebuilt

React:

  • Dependencies:
    • axios
    • file-saver

Running App

  1. Simultaneously:

    • In /client run "npm start"

    • In /server run "node index.js" or if nodemon run "nodemon index.js"

  2. On localhost:3000/ fill the form

  3. Click the "Download PDF" button

  4. Behold the powerful dynamic receipt

About

I learnt how to generate dynamic pdf's using javascript, this example is a Receipt, suggested by an interviewer from Softtek

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published