- install nodejs, v6 recommended, v4+ supported.
- run
npm run setupto install the npm and bower dependencies - add
/credly_options.jsonto the repository - run
npm startto run the server, or keepnpm run devrunning in the background while developing.
The /credly_options.json file should look like this:
{
"headers": {
"x-api-key": "<YOUR API KEY HERE>",
"x-api-secret": "<YOUR API SECRET HERE>"
}
}- url:
/user/$userId/ - $userId: The ID of the user
- url:
/table/$issuerId/$badgeId - $issuerId: The id of the user that created the master badge
- $badgeId: The id of the master badge itself
The master badge is a badge that everyone has.
- url:
/badge-details/$issuerId/$badgeId - $issuerId: The id of the user that created the badge
- $badgeId: The id of the badge itself