Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Master Spring boot 3.0 and MongoDB - The full course
Source code
Source code
Refer your friend and get a discount for both of you
Introduction to MongoDB
What is MongoDB? (1:52)
The difference between SQL and NoSQL (2:32)
How to choose between SQL and NoSQL (3:40)
Prepare the Mongo environment
MongoDB UI tools (1:04)
Why using docker for development? (1:29)
Create an empty docker compose (1:31)
Mongo server (docker compose) (4:25)
Mongo express (docker compose) (2:47)
Run docker compose and test (3:24)
Mongo terms
Collections and Documents in Mongo (3:07)
Bootstrapping the application
Create a new Spring boot project (3:37)
Project structure (2:11)
Include docker compose file with the project and run it (3:30)
Project architecture (3:26)
Connect to mongoDB (3:21)
Create a new database (1:23)
Understand Admin - Local and Config databases (4:50)
Create java class (3:36)
Transform the java class to a Collection (2:25)
Create a mongo repository (2:12)
Insert the first data into the collection (5:46)
Create Product service (3:59)
Save product (2:43)
Find Product by Id (0:49)
Find all Products (0:20)
Delete product (0:28)
CRUD operations
Create product controller (2:01)
Save product operation (1:37)
Find all products operation (0:55)
Find product by id operation (1:28)
Delete product operation (1:34)
Test the CRUD operations (6:16)
DBRef and Collections relationships
Extend the Product model (2:41)
Create category java class (1:41)
Use Category as a field (2:35)
Relationship between Category and Product (1:08)
Transform the Category to a Collection (0:54)
Create a Category repository (0:46)
Insert Categories at startup (1:54)
The issue in linking collections (3:09)
Add relationship between collections (3:41)
Open Api integration
Add OpenApi dependency (1:45)
Test and play with Swagger UI (6:06)
Documents queries and Mongo template
Extend the product model (1:50)
Create search service (1:08)
What is MogoTemplate (2:04)
Is() query (7:07)
Testing the Is() query (2:07)
Regex() query (5:57)
Lt() query (3:21)
Gt() query (2:12)
Sorting data (4:42)
Paging and sorting (5:39)
Query methods
Create the query methods service (3:27)
FindByX query (5:37)
FindByX Ignore Case query (1:53)
FindByX starting with (2:30)
FindByX ending with (1:51)
FindByX containing (3:45)
FindByX less than (2:20)
FindByX greater than (1:27)
FindByX between (2:05)
FindByX and SortByY (3:34)
Paging and sorting (6:42)
Find Product by Id
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock