Badge Lab is a simple website that makes it easy for people to experiment with creating "hand-made" badges to learn more about Open Badges.
$ git clone https://github.com/toolness/badgelab.git
$ cd badgelab
$ npm install
$ node app.js
Then visit http://localhost:3000.
-
PORT
is the port to serve the website on. Defaults to 3000. -
ORIGIN
is the origin that the website is served from. If unspecified, it defaults tohttp://localhost:
followed by the value ofPORT
. -
MONGO_URL
is the MongoDB URL to the MongoDB database to use for persistent storage. The documents contained here will only be stored for a maximum of 1 day via MongoDB's TTL functionality. If unspecified, the website will store all user data in-process. -
MONGOHQ_URL
is a synonym forMONGO_URL
, useful as a zero-configuration solution if you're hosting the website on Heroku and use the MongoHQ addon.
This website was influenced by the following prior work:
-
Billy Meinke's Want to Make Your Own Badges by Hand? blog post.
-
Mike Larsson's badgebadger (also see its Github repository).
MIT.