Thursday, June 12, 2014

node.js + express + mongodb

http://docs.mongodb.org/ecosystem/drivers/node-js/
http://mongodb.github.io/node-mongodb-native/
http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/
http://cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/
http://stackoverflow.com/questions/9232562/mongoose-vs-mongodb-nodejs-modules-extensions-which-better-and-why
http://stackoverflow.com/questions/16380007/why-do-i-need-mongoose-or-mongojs-for-node-js
http://mongoosejs.com/

mongodb's MongoClient can access database
mongoose is ODM (Object-Document Mapping, a counterpart to ORMs from the SQL world)

other driver : mongoskin/mongolia/mongojs/monk

Apply following change to your express project:















































[Note] npm install mongodb monk

No comments:

Related Posts Plugin for WordPress, Blogger...