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.
Quick Start
$ git clone https://github.com/toolness/badgelab.git
$ cd badgelab
$ npm install
$ node app.jsThen visit http://localhost:3000.
Environment Variables
PORTis the port to serve the website on. Defaults to 3000.ORIGINis the origin that the website is served from. If unspecified, it defaults tohttp://localhost:followed by the value ofPORT.MONGO_URLis 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_URLis a synonym forMONGO_URL, useful as a zero-configuration solution if you're hosting the website on Heroku and use the MongoHQ addon.
Prior Work
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).
License
MIT.