This projects helps to generate a PDF resume based on a JSON file. By default two designs are supplied.
Just edit a json, use the command line and you are ready to go.
Install dependenceis with npm install
.
Edit the contents of the data/cv.json
or just use the nullified cv-empty.json
as a starter.
Type npm start
in command line. That will render the default template called "basic". You can render other templates by adding the template name that you can find the the views
folder, like npm start classic
.
DONE :)
For convinence, I've added a dev server that can be launched with the npm start dev
command. npm start dev [templatename]
will launch the desired template.
If you make changes to the template, the dev server needs to be re-launhed.
- Twig template engine
- html-pdf
- Phantom JS