Spring Data Mongodb Tutorial | ft. Mongock

preview_player
Показать описание
Welcome to the Spring Data Mongodb Tutorial.
In this video , we are going to learn how to build a REST API using Spring boot and MongoDB.

00:00 Introduction
00:23 Initializing the project
02:34 Creating the model class
04:12 Creating the repository
06:44 Implementing the service layer
09:29 Implementing the controller layer
13:17 Implementing MongoDB migrations
15:03 Installing Mongock library
16:08 Configuring the project
18:02 Creating the database changelog
20:31 Testing the database migration

✍️ Link for Source code and written tutorial:

📜 Mongodb installation documentation:

📜 MongoCompass:

⭐️⭐️ You can follow me in Social Media through below Links⭐️⭐️
Рекомендации по теме
Комментарии
Автор

This is great! Thank you for this tutorial, very informational and understandable

tsddzcn
Автор

Great tutorial!! Thanks for your work and explication 😄

salvadorortizbazaga
Автор

Awesome tutorial, a little bit fast, but I can manage by pausing the video.

divaharm
Автор

this is awesome. A bit fast, but its ok. (I dont have java background so pausing a lot) - subscribing. Thanks

geld
Автор

Thanks for the good tutorial. For me it was giving "JsonParseException: JSON reader was expecting a name but found '0'" for findByName(String name) method.
I have changed the Query to { 'name' : { '$in' : ['?0'] } } and after that it worked fine.

therajarshighosh
Автор

Greate refresher man! Just one suggestion why aren't you using lombok 🤭

__nitinkumar__
Автор

Hello, Sir! Thank you for the video! I'm a bit confused about it. You've added testcontainers dependency in 2:13, but did you actually use it?

amb
Автор

why do you using random tools ?
better to use compass for mongodb

ztdsvfj
Автор

Hello, when i run the code i get: " required a bean named 'mongoTemplate' that could not be found."any hints?

valdompinga
Автор

Can you make tutorial for Adding new fields, updating existing fields, adding new entity ?

shahjadealam
Автор

If you run the program twice, Will the data be entered at each start?

toto_frs
Автор

@enablemongock is not coming in the eclipse ide even after adding dependencies

AmitGupta-bglz