- install nodejs, v6 recommended, v4+ supported.
- run
npm run setup
to install the npm and bower dependencies - add
/credly_options.json
to the repository - run
npm start
to run the server, or keepnpm run dev
running 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