+ 5

{ status : "solved" } (Node.js)mongoose or mongodb?

Which module should I use? 🤔

3rd May 2019, 4:15 AM
Gordon
Gordon - avatar
9 Respostas
+ 6
For local machine desktop app, better use sqlite
3rd May 2019, 9:44 AM
Calviղ
Calviղ - avatar
+ 3
Always use mongoose in Nodejs to access mongdb, unless you want to make your life difficult, use mongodb directly..😅
3rd May 2019, 7:58 AM
Calviղ
Calviղ - avatar
+ 2
Tanay Bhatt Thanks for your answer. I am following the mongodb with Node.js tutorial on W3schools and i keep getting the Deprecated Warning : current URL string parser is deprecated. So if I use mongoose, there won't be this problem?
3rd May 2019, 4:23 AM
Gordon
Gordon - avatar
+ 2
Oh Can you elaborate a bit more about why mongoose is better?
3rd May 2019, 4:52 AM
Gordon
Gordon - avatar
+ 2
Sounds cool. Let me dive into the turorials of mongoose later. Thanks, Tanay.
3rd May 2019, 6:01 AM
Gordon
Gordon - avatar
+ 2
Calviղ 🤣 If i create windows desktop app with Electron, do I need to install mongodb server at the client's computer?
3rd May 2019, 9:35 AM
Gordon
Gordon - avatar