How to Connect Node.js App to MongoDB | Node.js & MongoDB Tutorial

preview_player
Показать описание

If you don't know what MongoDB is, MongoDB is a document-oriented database that stores data in JSON-like documents with dynamic schemas. It is most commonly used in the back-end for web applications and is the leading NoSQL database and can be used in many different ways, from a simple key-value store to a complex full-text search engine.

My Programming Gear :

#LearnToCode // #Node // #MongoDB // #Web
Рекомендации по теме
Комментарии
Автор

Finally, someone who writes an accurate title.
Nice and efficient. Great video!

dh
Автор

I struggled with this for hours, watching different tutorials but this was so straight to the point. Thanks.

samuelomotoso
Автор

Took something that most people complicated and then you simplified it. Not too much explaining that's unnecessary. Great video on this!!

kwanelekhumalo
Автор

Very easy to follow along, and no time wasted! Great tutorial as always!

milesthomas
Автор

This helped me a ton after having many headaches trying to connect to mongodb by myself! Thanks!

joelsjunk
Автор

Thanks for this man. 2nd video of yours I'm watching. The other was a beginner nodejs/Express project. This is my first MongoDB project.

Keep up the good work!

traezeeofor
Автор

Thank you for the video idk why but this is the only video that worked for me ? Every other time it wouldn't connect? Thanks again!

m.c
Автор

Very grateful Arpane you split part to be well understood by beginners

ngouendgerard
Автор

Such a simple and Perfect tutorial which I wanted

dushyantyadav
Автор

Hey there what is the visual studio code theme?

tarang
Автор

I love you man. Make my life so much easier

jedryan
Автор

if you get the DeprecationWarning that means you're working in the latest mongodbversion like me so what you do is in the line inside the async function

async function connect(){
try{
mongoose.set('strictQuery', true);
await mongoose.connect(uri);
// await mongoose.connect(uri);
console.log("connected to mongoDB");
}catch(error){
console.error(error);
}

}
connect();

johnrhunor
Автор

Thank You soo much for making this video it is really helpful

rakibhossianraju
Автор

is it mandatory to create an account? What If I just want to test my stuff locally using the ecompass from mongo and my node setup?

tulioerna
Автор

inside one connection if I want to connect to a specific database then how am I supposed to do it??

daughter_of_chitkute
Автор

Please how do I know the terminal to use
I'm quite confused on that part

chidinmaonyeri
Автор

bro what is your vscode theme and font colors?

aghazadajamil
Автор

I guess the interface is different now, could you update

hellogaiz
Автор

am getting an error "URI malformed, cannot be help

devngecu
Автор

contenido extenso y muy útil caballero. enhorabuena y gracias 👌

Quadropheniaspain