it's a very basic node.js script which uses the twitter-node and mongodb packet.
step 1 - install node.js
clone git://github.com/ry/node.git and install it with the commands below. $ ./configure $ make $ make install
step 2 - install mongoDB
download the mongoDB binaries from here
head over npmjs.org for instructions on how to install npm
$ npm install twitter-node
$ npm install mongodb
$ git clone git://github.com/philippkueng/nodejs-mongodb-twitter-backup.git
Then start the mongoDB database by typing mongod
After that start the node.js server with the script by typing node get_tweet_and_store_it_in_db.js
start the mongoDB shell with mongo
you then can do a find query with db.wt.find({'user.screen_name','screen_name_im_looking_for'})
you'll find more queries and examples in the mongoDB documentation.