I just got started with nodeJS, and don't know much about it. Also I found mongoDB, and I want to use it in my project. I searched for a tutorial, but there are all examples, that I don't completely understand. Do yo know any tutorial that could help me? thanks
These should help you get started:
Based on old version of node, but useful walkthrough of using mongodb-native package.
http://dailyjs.com/tags.html#lmawa The folks at dailyjs.com walk you through building a web-app with node.js and mongoDB (using mongoose). This link is the full series of posts that make up the tutorial.
Hope this helps.
- http://howtonode.org/node-js-and-mongodb-getting-started-with-mongojs Via howtonode.org - it's supser short but gives you the basics and is current (as this question is months old now).
[UPDATE] 7/25/2012 - http://blog.james-carr.org/2012/01/16/blog-rolling-with-mongodb-node-js-and-coffeescript/ Also uses coffee-script and express and goes into testing with mocha and should.js.
Several of the links in the other answers are now outdated. In particular, the docs now recommend using a new top-level class called MongoClient.
10gen includes a tutorial in its documentation that helped me: http://mongodb.github.com/node-mongodb-native/index.html