The LegoDatabase project was created as an exercise to learn more about the following technologies: CoffeeScript, Node.js, MongoDB.
The project has two parts:
Run a webserver to display your sets using facets, these are generated using MongoDBs aggregation framework.
You'll need to install nodejs, mongodb and npm on your system. Once done you need to:
npm install -g coffee-script mocha npm install
To put data into MongoDB from Brickset and then start the site, just use:
ops/start-dev-mongodb.sh cat sets.txt | coffee src/server/collector/runcollector.coffee cake dev
To run tests, just do: