Spring Boot Tutorial - Build a Rest Api with MongoDB

preview_player
Показать описание
In this Spring Boot tutorial you will learn how to create a spring boot api connected with mongo db using spring data mongodb.

#springboot #javatutorial #mongodb

Complete the first stage of your project within the month to extend your free access by 1 month.

Complete your first project within this time to extend it by another month!

Also get 3 months free for IntelliJ using code: Amigo2021

⭐ Table Of Contents ⭐
00:00 - Intro
01:24 - Jetbrains Academy
04:00 - Quick Word
04:53 - Bootstrap with Spring Initializr
08:07 - Exploring the code
15:19 - MongoDB and Mongo Express
19:33 - Connecting to MongoDB
24:15 - MongoDB Collections
25:06 - MongoDB Documents
26:23 - Defining the Model
30:57 - MongoDB @Document and @Id
32:52 - MongoRepository
43:21 - MongoDB Indexes
46:36 - MongoDB Template and Queries
53:02 - Queries From Method Name
01:02:26 - Architecture Diagram
01:04:12 - Lets build the API
01:10:32 - Exercise
01:10:45 - Next steps

🙊 Here are the goods for all my videos video:

► Recommended Books

Clean Code

HTTP: The Definitive Guide

Clean Architecture

► Computer and Monitor

New Apple MacBook Pro

Dell 27 INCH Ultrasharp U2719D Monitor

Double Arm Stand Desk Mount

USB C Hub Multiport Adapter

► Camera Gear

Sony ILCE7M3B Full Frame Mirrorless Camera

Sigma 16 mm F1.4 DC DN

Sigma 33B965 30 mm F1.4 DC DC

Awesome Screen Saver

IDE I use for coding
- Iterm
- VsCode
- GoLand
- IntelliJ
- Sublime

💯 You can also follow me here:

❤️ Thanks for watching
Рекомендации по теме
Комментарии
Автор

Had to build a layered application for uni with spring, react and mongoDB. Your tutorials where excellent, thanks for the help!

lucak.
Автор

The yaml file is not in the description

horyekhunley
Автор

Use the link below for 1 month of free access to JetBrains Academy:
Complete the first stage of your project within the month to extend your free access by 1 month. Complete your first project within this time to extend it by another month!

Enhance your skills on Spring Boot by creating your own code sharing platform with JetBrains Academy:

amigoscode
Автор

Understandable explanation + clear instructions, great tutorial amigo!!😁🎉

JonasKeil
Автор

Dude, thanks for the tutorial! Your channel helps me a lot, keep going! God bless you!

cassianodesouzasantos
Автор

Thank you for your video! I have an issue with the "created" field in the database. I printed the record in the console before the insertion. The field "created" had different value compared to the one in the database.

Console before insertion:
Database value inserted: created: Wed Jun 02 2021 07:03:50 GMT+0000 (Coordinated Universal Time).

For some reason the record in the database was stored with different Timezone.

ainigma
Автор

What a video, thank you so much learned a lot, Spring is a powerful framework

Joseheavy
Автор

This was very awesome and satisfying...It helped master cocepts for my class assignment that involved Spring Boot and Mongo Database. Thumbs for AmigosCode.

EriaPinyi
Автор

Bro you have a knowledge, you're good too but try to add explaination what you're doing why ? what is happening behind the scene. also you mentioned that docker yaml file link is there in description, I couldn't find it. Not everyone is from same background if they are then they don't need to learn from tutorial so be a bit more descriptive. Also good work keep it up, I saw it's helping peole so great job !

Milpatel
Автор

Super tutorial and simple enough to understand! Even 2 years after creation!

qsergii
Автор

Such a fantastic, clear and easy-to-follow tutorial. Your videos are a godsend, thank you so much for all your work!

julias
Автор

yaml File:
version: "3.8"
services:
mongodb:
image: mongo
container_name: mongodb
ports:
- 27017:27017
volumes:
- data:/data
environment:
-
-
mongo-express:
image: mongo-express
container_name: mongo-express
restart: always
ports:
- 8081:8081
environment:
-
-
-
volumes:
data: {}

networks:
default:
name: mongodb_network

WillSkoll
Автор

Great tutorial, which microphone do you use to record the tutorial itself (when you code)?

DouglasWhitcomb
Автор

Exactly what I was looking for, Thankyou !!

saketsourav
Автор

How can i query between 2 databases? Rather than hardcoding the Db name in property file, can we pass that in the query for multiple DB interaction?

seenavijayakumar
Автор

Can you please cover Junits and Mockito in detail? Please cover controller testing, repository testing ( including mockitoentitymanager, mockquery etc)

jasper
Автор

Hi! I don't know if you'd responc, but would some of this be fine to do without Lombok? I'm kinda new to making this api with mongodb, and lombok is something I have not done before

Puzzle-Queen
Автор

Thanks for the opportunity to learn, great work brother

ifham
Автор

One of the best tutorials I have ever followed!!

regirasta
Автор

Thanks a lot for sharing your knowledge.
Your videos are great !!!

TheDutze