We.js user certification plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files/public
lib
locales
server
.gitignore
.jscsrc
.jshintignore
.jshintrc
.npmignore
.travis.yml
README.md
install.js
package.json
plugin.js

README.md

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

License

under the MIT license.