we-plugin-certification
v1.0.4
Published
We.js user certification plugin
Downloads
16
Readme
We.js user certification plugin
Add suport to generate user certifications in PDF, this plugin use the pdfkit module for render the certifications
Installation
we i we-plugin-certification
Configuration
project config/local.js file
// ...
certification: {
textPositions: {
middle: { l: 30, t: 350 },
left: { l: 30, t: 150 },
right: { l: 400, t: 150 },
// use text positions to add others settings for move texts in your page like:
top: { l: 400, t: 0 },
}
}
URLS:
Get user certifications:
/user/:userId([0-9]+)/certification
API
See plugin.js file
Certification generation process
TODO!
Links
- We.js site: http://wejs.org
License
under the MIT license.