Do you know any tutorial for mongoDB in nodeJS?


Question

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

1
24
8/9/2013 1:28:28 PM

Accepted Answer

These should help you get started:

Hope this helps.

[UPDATE] 2/14/2012
- 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.

34
7/26/2012 5:42:27 AM

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


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon