开发者

How to install mongoose driver on nodejs?

开发者 https://www.devze.com 2023-02-10 02:31 出处:网络
I have just started working with nodejs. I am a java script newbie. I have nodejs and mongodb running on my ubuntu. Now I downloaded the mongoose driver. Do I install it using npm or just copy the mon

I have just started working with nodejs. I am a java script newbie. I have nodejs and mongodb running on my ubuntu. Now I downloaded the mongoose driver. Do I install it using npm or just copy the mongoose folder that has js files into nodejs lib folder? Also links to any tutorials to start working with this driver will help me a lo开发者_如何学运维t.

Regards, Lalith


Here's an extensive walkthrough: http://dailyjs.com/2011/02/07/node-tutorial-12/

Seems to be very recent.

According to LearnBoost's GitHub site, the suggested method for installation is to use npm.

https://github.com/LearnBoost/mongoose/

$ npm install mongoose


You have to install mongoose on your system or on your node package file by using command

npm install mongoose
0

精彩评论

暂无评论...
验证码 换一张
取 消