Test task to show approach how to generate several types of documents in nodejs environment using TypeScript and PDFKit library
You can find cover letter to this project by this link
To clone the repository use the following commands:
git clone git@bitbucket.org:fomazov/document-generator.git
cd document-generator
npm install
build
- transpile TypeScript to ES,build:watch
- interactive watch mode to automatically transpile source files,lint
- lint source files
`npm run build` - transpile TypeScript to EcmaScript
`node build/app.js confirmation` - generate confirmation pdf document
`node build/app.js invoice` - stub for futher creation other types of pdf documents
All generated documents stored in ./public/documents/ directory