Loading repository data…
Loading repository data…
adrianhajdin / repository
This is a code repository for the corresponding article on Medium. In this tutorial, you will learn how to generate dynamic PDFs using HTML code as a template.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This is a code repository for the corresponding article on Medium.
In this tutorial, you will learn how to generate dynamic PDFs using HTML code as a template.
mkdir pdfGenerator && cd pdfGeneratorcreate-react-app client and then move into newly created directory and install dependencies cd client && npm i -S axios file-savermkdir server && cd server && touch index.js && npm init press enter a couple of times to initialize package.json and then run npm i -S express body-parser cors html-pdf to save all the necessary dependencies.“proxy”: “http://localhost:5000/", so you can call the localhost from the client.run npm start
Second one: go into the server directory and run nodemon index.js