Murvin Lai
  • Me
  • Career
  • Tech Blog
  • My Projects
  • Open Source
    • Install Node.js
    • Node.JS + MongoDB on AWS
    • Node.js + MongoDB + Mongoose
    • Node Crypto Performance
    • NPM
    • My Node Tips
    • Dev NoTe
    • Req and Res in Node.js
    • Remote HTTP Request
  • Foodies
    • My Menu
  • lO_Ok

Nodejs - Mongoose



Mongoose is a MongoDB driver for Node.js  
I used node-mongo-native before but find out mongoose is much simpler.  I like it and am using it now.

Website: http://mongoosejs.com/
Installation:  use NPM
$ sudo npm install mongoose

Sample code:


Copyright @2012 Murvinlai.com