Do you know any tutorial for mongoDB in nodeJS? [closed]


Do you know any tutorial for mongoDB in nodeJS? [closed]

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?


Solution 1:

These should help you get started:

Hope this helps.

[UPDATE] 2/14/2012
Via – it’s supser short but gives you the basics and is current (as this question is months old now).

[UPDATE] 7/25/2012
Also uses coffee-script and express and goes into testing with mocha and should.js.

Solution 2:

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:

Solution 3:

Solution 4:

This is a link to a very nice series of video to get started on node and mongo.

Hope it helps.

Solution 5:

try Mike Wilson’s Building Node Applications with MongoDB and Backbone book.

Solution 6:

Just for the people who will see this later, at first since in the time I posted this question, I wasn’t used to node.js coding style, but what helped me was this tutorial: