Spring Boot Tutorial - Build a Rest Api with MongoDB

Spring Boot Tutorial - Build a Rest Api with MongoDB

Amigoscode

2 года назад

219,431 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Agathesh M
Agathesh M - 16.09.2023 08:35

Can we implement ACID property in Springboot for mongoDB. If so, how can we implement it.

Ответить
SG
SG - 06.09.2023 14:00

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

Ответить
Milan K Budha
Milan K Budha - 05.09.2023 05:44

in every video u say configuration file is in the description,but it is not available there.why??

Ответить
Atharva Pethkar
Atharva Pethkar - 01.09.2023 16:29

Can anyone please share the docker-compose.yaml file data or link?

Ответить
Santhosh Kumar V S
Santhosh Kumar V S - 15.06.2023 09:53

Good Tutorial - If we use both MongoRepository and MongoTemplate will it create different connections against mongodb ?

Ответить
Dunay Qudretli
Dunay Qudretli - 09.06.2023 15:08

thanks man <3

Ответить
Regirasta
Regirasta - 12.05.2023 20:56

One of the best tutorials I have ever followed!!

Ответить
Sam Agr
Sam Agr - 06.05.2023 19:49

Awsome video and explanation, thanks !!! :D

Ответить
OkPain
OkPain - 29.04.2023 14:48

GOD Bless You for such amazing Courses

Ответить
NFS
NFS - 28.04.2023 20:07

i got an error saying "Error creating bean with name 'studentRepo' defined in com.example.amigos_mongo.StudentRepo" while running with Command runner to add student in database.
can anyone say why i am getting it..?

Ответить
David
David - 04.04.2023 10:00

Thank you, great tutorial! 😄

Ответить
Devin Lin
Devin Lin - 29.03.2023 09:42

If we don't have intellj express can we still get the database to work?

Ответить
Devin Lin
Devin Lin - 29.03.2023 08:53

where do you see the yaml file?

Ответить
skowollon84
skowollon84 - 22.03.2023 00:51

Very Well done and explained!

Ответить
Kelvin Kirwa
Kelvin Kirwa - 18.03.2023 14:41

i cant find the docker-compose info for the mongo db amgose .

Ответить
Gabriel Alves
Gabriel Alves - 11.03.2023 04:24

Another great video! Thanks for sharing knowledge!!!

Ответить
Fadi Salameh
Fadi Salameh - 17.02.2023 02:16

thank you very much brother

Ответить
Pain
Pain - 16.02.2023 06:36

Can we have a repo for this?

Ответить
Kevin Sivaperumal
Kevin Sivaperumal - 08.02.2023 08:03

Fantastic explanation 👌

Ответить
Hendrx
Hendrx - 08.01.2023 13:22

I died laughing when he created the enum with two genders, great tutorial my guy.

Ответить
Arvand Kaveh
Arvand Kaveh - 04.01.2023 13:48

Dude, where's the yaml file for docker-mongo? You said it's in the comment section, but it's not

Ответить
Mohammed Kubur
Mohammed Kubur - 29.12.2022 01:58

Can't connect to DB, I get the error: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='rootuser', source='admin', password=<hidden>, mechanismProperties=<hidden>}
I tried changing the port to 8082, also tried adding this to my application properties file : spring.data.mongodb.uri=mongodb://rootuser:rootpass@localhost:27017/mydb?authSource=admin
Nothing worked! any help please...

Ответить
Arthur Miranda
Arthur Miranda - 28.12.2022 01:56

eu te amo amigoscode

Ответить
Julia S
Julia S - 26.12.2022 14:32

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

Ответить
Adroaldo Ferreira
Adroaldo Ferreira - 22.12.2022 15:51

Amigo muito obrigado por compartilhar conhecimento conosco. Amigo thank you very much for sharing knowledge with us.

Ответить
John Glenn Eligio
John Glenn Eligio - 21.12.2022 09:27

How to add autocompletion on the named queries under MongoRepository?

Ответить
Данила Фомин
Данила Фомин - 18.12.2022 19:11

useless simple information

Ответить
Jibril Kalifa
Jibril Kalifa - 09.12.2022 10:18

where do i get the code for mongodb that will be paste in dockers file

Ответить
SeinVater
SeinVater - 02.12.2022 15:42

Your title should contain "with Docker", this might be too complicated for beginner.

Ответить
Vladan Mikic
Vladan Mikic - 02.12.2022 00:35

I get an authentication error when I try to connect to the database from Intellij or when I try to run the Spring app.
It seems that the rootuser isn't present in the admin database, but I can see it in Mongo Express.

Ответить
Puzzle-Queen
Puzzle-Queen - 23.11.2022 03:57

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

Ответить
Mehmet Alpkaya
Mehmet Alpkaya - 20.11.2022 22:15

application properties are grayed out and unused. How can ı fix it

Ответить
StormShadow p
StormShadow p - 20.11.2022 06:49

I have a MongoTemplate autowire problem. Can someone help me please

Ответить
Cibeles07
Cibeles07 - 08.11.2022 06:00

yaml File:
version: "3.8"
services:
mongodb:
image: mongo
container_name: mongodb
ports:
- 27017:27017
volumes:
- data:/data
environment:
- MONGO_INITDB_ROOT_USERNAME=rootuser
- MONGO_INITDB_ROOT_PASSWORD=rootpass
mongo-express:
image: mongo-express
container_name: mongo-express
restart: always
ports:
- 8081:8081
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=rootuser
- ME_CONFIG_MONGODB_ADMINPASSWORD=rootpass
- ME_CONFIG_MONGODB_SERVER=mongodb
volumes:
data: {}

networks:
default:
name: mongodb_network

Ответить
Thushan
Thushan - 05.11.2022 17:04

guys if you are watching using a linux it is a waste of time do not watch this

Ответить
Thushan
Thushan - 05.11.2022 13:57

Where is the yaml file content you said you shared?

Ответить
Hivemind
Hivemind - 31.10.2022 19:59

where is the yaml file?

Ответить
m ch
m ch - 31.10.2022 12:20

Worst tutorial Ive ever seen. Using random dependencies without explenation. why lombok? why docker? 1h+ video without even telling the basic informations and skipping important informations about your hole project. Stick to your description..
Any1 need a starter in docker and lombok if you wanna go on with this bullshit. Keep it simple, keep it general. If something doesnt work out like in the video, I have to google up so mutch additional shit to get it running. Hillarious.
Same happend to my old company. Its always the same mistake. Everyone wants to use the stuff theyr common with instead of learning it from scratch. We used maven for building docker images. This is fine as long as you dont recruit new people theyr not used to it and are more common to building a docker container the standard-way. Now these people have to relearn all the configuration stuff again because it was easier to "get going". Idiots.

Ответить
Jonas Janaitis
Jonas Janaitis - 03.10.2022 18:21

I not getting these suggestions for method names as queries, is it some extension for IDE? I am using intellij community

Ответить
Ertugrul Kuyucu
Ertugrul Kuyucu - 12.09.2022 15:06

Thanks a lot brother!

Ответить
ege yumlu
ege yumlu - 08.09.2022 20:59

While doing the setup, I kept getting unauthorized error from the MongoDB. Couldnt log into it

Ответить
Sagar Mundhe
Sagar Mundhe - 15.08.2022 14:18

Thanks it’s amazing tutorial

Ответить
vatsal vasoya
vatsal vasoya - 10.08.2022 11:05

where is Mongo Yaml file!?>
at time frame 16minute:15 second....

Ответить
Murad Qadirov
Murad Qadirov - 07.08.2022 22:25

Thank you so much for this simple and detailed tutorial !

docker-compose.yaml on the below

version: "3.8"
services:
mongodb:
image: mongo
container_name: mongodb
ports:
- 27017:27017
volumes:
- data:/data
environment:
- MONGO_INITDB_ROOT_USERNAME=rootuser
- MONGO_INITDB_ROOT_PASSWORD=rootpass
mongo-express:
image: mongo-express
container_name: mongo-express
restart: always
ports:
- 8081:8081
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=rootuser
- ME_CONFIG_MONGODB_ADMINPASSWORD=rootpass
- ME_CONFIG_MONGODB_SERVER=mongodb

volumes:
data: {}
networks:
default:
name: mongodb_network

Ответить
Tommaso Mariotti
Tommaso Mariotti - 06.08.2022 11:28

Where is the yaml content to copy?

Ответить