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
MongoDB is a modern, general-purpose document-oriented data platform that has been widely paired with Node. js in popular tech stacks such as the MEAN stack (MongoDB, Express. js, AngularJS, and Node. js) and the MERN stack (MongoDB, Express.
Unless you absolutely trust your users, you need to have some middleware (such as node. js) that sits on a server (not client-side) whose job it is to say "yes you can do that, no you can't do that."
These should help you get started:
http://howtonode.org/express-mongodb
Based on old version of node, but useful walkthrough of using mongodb-native package.
http://mongoosejs.com A node package you can install using npm (http://npmjs.org)
Useful package for interacting with mongoDB from Node.
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.
[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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With