DEV Community

Tej_Singh_Rana
Tej_Singh_Rana

Posted on

How to learn MongoDB in easiest way?

I would like to know how to learn MongoDB in easiest way. Which books i have to prefer? any references or videos or books that i can prefer?

thanks & regards,

Top comments (2)

Collapse
 
learnwithparam profile image
Paramanantham Harrison

Not just MongoDB but usually most databases are very rich with features, it will be exhaustive to learn through videos or books.

You will almost forget the syntax after few weeks. The best way is create a data model for a product (example., e-commerce site).

By this way, you can search when you have problem to solve and learn chunk by chunk which is essential for you.

You can’t master everything this way but you can master the essentials and understand the database concept this way.

If you still want book or video,

I suggest video and MongoDB themselves provide free video courses which are very powerful

Infact MongoDB is very easy if you already know any other databases and JavaScript

Search these stuff and start learning (practicing)

  • MongoDB basics
  • MongoDB aggregation framework (the most important one, so powerful. You can do almost anything with it)
  • noSQL data modelling concepts (embedding vs referencing) - mental model of noSQL is different from sql. So this topic is very important. There are good videos about this topic in YouTube
Collapse
 
kathrynvargas profile image
kathrynvargas

There are a lot of Udemy courses available depending on what you want to focus on, but Studio 3T's MongoDB 101 course is free and should take you through the basics: studio3t.com/academy/

There's also a ton on YouTube videos, this one's quite good and has been recently updated: youtube.com/watch?v=-56x56UppqQ

In terms of books, MongoDB: The Definitive Guide seems to be a popular one. It's already on its third edition and is written by the folks who work at MongoDB.