Spring Boot Tutorial | Full Course [2023] [NEW]

  Рет қаралды 2,945,435

Amigoscode

Amigoscode

Күн бұрын

Пікірлер: 2 400
@amigoscode
@amigoscode 4 жыл бұрын
This full course can be found here: amigoscode.com/p/spring-boot OTHER RECOMMENDED COURSES ► Java Essentials - amigoscode.com/p/java-essentials ► Spring Data JPA - amigoscode.com/p/spring-data-jpa ► Software Testing - amigoscode.com/p/software-testing Happy coding
@joleDEV
@joleDEV 3 жыл бұрын
Hey Amigos very nice videos you have. I want to build an ecommerce website with backend what should i do? I am a starting developer, i know java, html, css, javascript for now. Love to hear from you !! keep up the good work
@abdulkhadarm6050
@abdulkhadarm6050 3 жыл бұрын
Walekum asalam
@amasha88
@amasha88 3 жыл бұрын
GOD bless you man, you're a great teacher. Alhamdulillah 🙏 🙏
@zakagg4707
@zakagg4707 3 жыл бұрын
Thank you bro u are a life saver .
@arijitroy8390
@arijitroy8390 3 жыл бұрын
Hey Amigos! Pls make a course integrating SPRING BOOT with MONGO DB
@nevillelee6103
@nevillelee6103 Жыл бұрын
I appreciate the time you put into this video!
@raphaelmarietan9322
@raphaelmarietan9322 2 жыл бұрын
For those who still get a White label error page after 16:00, change '@GetMapping()' to '@GetMapping("/")' and it should display the page normally
@camerondudley2
@camerondudley2 2 жыл бұрын
Thank you bro.
@ayeshashakeel
@ayeshashakeel 2 жыл бұрын
Thank you so much!
@jedgraves8399
@jedgraves8399 2 жыл бұрын
Thank you!!
@rvw6377
@rvw6377 2 жыл бұрын
thx!
@masaskitchen6855
@masaskitchen6855 2 жыл бұрын
Thank you!
@trenvert123
@trenvert123 Жыл бұрын
You condensed about a third of what I learned over a 6 month boot camp into an hour and a half. I'm doing a refresher for a technical evaluation with a client. This is quality that so many tutorials on KZbin just can't reach. Thank you!
@LycheeLele-mh2ku
@LycheeLele-mh2ku 3 ай бұрын
You're lucky you were even taught this framework. My college just said, build your endpoints with springboot
@gugigames1337
@gugigames1337 Жыл бұрын
for those who don't get a table generated around 41:00 it helped to configure a name for the table by adding @Table(name = "students")
@alexanderayala-palacin5723
@alexanderayala-palacin5723 11 ай бұрын
at first I didn't see this, added the code you suggested, stop and restarted the server- still didn't see the table. Then I refreshed the database with the icon found once you click open the database tab, and it showed
@eislessthanpi
@eislessthanpi 7 ай бұрын
Your tutorials are always top quality-- thanks!
@goodgamershow6505
@goodgamershow6505 2 жыл бұрын
If you're missing Database tool window shown in 44:30, it's probably because you have IntelliJ Community Version. Only paid version of IntelliJ has access to that Database window. The alternative would be to use 3rd party database tools: 1. Go to View 2. Settings 3. Plugins 4. Type Database Browser and install it 5. Restart ide Now in tools - windows - Database Browser you can do almost the same thing but 3rd party one is kinda limited
@nyxielia
@nyxielia 2 жыл бұрын
Thank you!! 😄
@datboi1861
@datboi1861 Жыл бұрын
Thanks.
@kexell
@kexell Жыл бұрын
there is no Database Browser...
@sankalan7
@sankalan7 Жыл бұрын
@@kexell Go for "Database Navigator"
@bashiratgiwa523
@bashiratgiwa523 Жыл бұрын
@@kexell Plugin name is Database Navigator
@gabrielsales311
@gabrielsales311 3 жыл бұрын
Because of your videos I got an internship at a company here in Brazil. Thank you very much for all the knowledge transmitted, i wish you all the best my friend.
@slamislife74
@slamislife74 3 жыл бұрын
Congrats! Proud of you :)
@KadekBr
@KadekBr 3 жыл бұрын
Me ajuda a conseguir também, por favor, me passa os passos necessários? And congratulations for your conquist!
@BrunoidGames
@BrunoidGames 3 жыл бұрын
@@KadekBr pegue um stack que o mercado gosta como Spring Boot + Angular e estude bastante. Arrume bem sua página do LinkedIn com essas informações e você vai ficar sabendo de processos seletivos pra vagas. É preciso também dominar aspectos como dbs relacionais e não relacionais, autenticação, autorização, versionamento com git e outros. Firebase também é muito bem-vindo.
@KadekBr
@KadekBr 3 жыл бұрын
@@BrunoidGames obg pelo seu tempo, eu tenho algumas dessas habilidades já, tenho tb python, pascal, eletrônica, programação em C para Arduino. Estou tentando ficar mais experiente, a eu tb tenho habilidades matemáticas pois estou na metade do curso de Física. E somente não me dedico mais pela falta de tempo que a faculdade me consome.
@BrunoidGames
@BrunoidGames 3 жыл бұрын
@@KadekBr fera demais, irmão. Formei em física ano passado pela UnB e sei o quanto nos consome. Boa sorte no curso e na carreira! Tmj.
@rlmclaughlinmusic
@rlmclaughlinmusic 3 жыл бұрын
I can't thank you enough for putting this together. This is easily the most coherent tutorial I've found for spring boot. A truly brilliant execution!
@user-rl5pb5un2f
@user-rl5pb5un2f 2 жыл бұрын
Helpline📲📥⬆️ Questions can come in⬆️
@一叶斩鬼泣
@一叶斩鬼泣 2 жыл бұрын
It's my honor to see your tutorial. Thank you. I'm from a Chinese student. I hope to finish spring boot first in college. I hope I can also help others and become an excellent software engineer. Thank you! Amigoscode😀😀😀
@momnashafqaat1589
@momnashafqaat1589 Ай бұрын
how are your studies going?
@hameedferoz8804
@hameedferoz8804 Жыл бұрын
Masha Allah. Watched till 32:00 minutes, and I am loving it. Great and Simple Explaination. Thank you Brother. May Allah Bless you.
@harvinqueen6468
@harvinqueen6468 2 жыл бұрын
I have to say this class is EXCELLENT. Simple enough to not get lost but powerful enough with clear explanations to show case things quickly
@guitarman813
@guitarman813 4 жыл бұрын
There aren't many Spring Boot courses out there. Thank you Nelson for making the former possible!
@amigoscode
@amigoscode 4 жыл бұрын
You're very welcome Ben. I always look forward to see your comments.
@theswarajdeshmukh
@theswarajdeshmukh 4 жыл бұрын
Agreed
@yeruv1
@yeruv1 3 жыл бұрын
@Abigail Jones V
@reddaboinavasista4166
@reddaboinavasista4166 3 жыл бұрын
Bro do we need to learn spring MVC at first or can I start from spring boot without knowing spring MVC.
@teahelli9489
@teahelli9489 3 жыл бұрын
@@reddaboinavasista4166 No
@LucaAzalim
@LucaAzalim 3 жыл бұрын
Your english is very easy for brazilians to understand. At least in my opinion. Thank you for the awesome course!
@guilhermestabachsalustiano5357
@guilhermestabachsalustiano5357 3 жыл бұрын
O "Amigos" do nome me fez até pensar que era BR
@viniciusguimaraes117
@viniciusguimaraes117 3 жыл бұрын
Verdade
@deepakgowda742
@deepakgowda742 3 жыл бұрын
@@viniciusguimaraes117 What are the prerequisites for this course I know core java and Mysql is it enough ?
@LucasAlmeida_xx
@LucasAlmeida_xx 3 жыл бұрын
@@deepakgowda742 Yes dude. It's enough. This course requires basic java knowledge. Keep on trying and practicing, and you'll learn, I'm sure. ;)
@LucasAlmeida_xx
@LucasAlmeida_xx 3 жыл бұрын
@@deepakgowda742 This channel have SQL courses, to complete your studies.
@SiciidQaran
@SiciidQaran 2 жыл бұрын
I am 4 years android developer experience with fintech company you can't imagine how smoothly I understand this course. I cant thank you with simple words sir. First All thanks deserves Allah then you, thank you from the bottom of my heart you really change my programming world sir.
@vegardlokreim5549
@vegardlokreim5549 6 ай бұрын
This guy is a lifesaver! He manages to compress a ton of knowledge into a short, informative video. And the best part? It's completely free. You learn a valuable skill, then you can use that knowledge to your advantage in the future. The least I can do is like the video, subscribe to his channel, and share it with a friend who would also benefit from this knowledge. Thanks a lot man! You do make a difference!
@onke
@onke 3 жыл бұрын
Amigos Code is so flipping under rated. This guy is really good
@aiduongvo7510
@aiduongvo7510 2 жыл бұрын
! For those who are having the problem with establishing the connection to the Postgres server. Inside the application.properties file, the username and the password, you need to type exactly like the one you created in the PostgreSQL server, i mean the default username and your default password that they requries you when you install Postgres. Then run again, you will see that you have the same console print out like Nelson. Otherwise, you will get "drop database student if exist" and then another error "Unable to open JDBC Connection for DDL execution". To make it short, whatever account you have in PostgreSQL, you need to type in the exact credential of that account for IntelliJ
@tadeuszpaprocki8378
@tadeuszpaprocki8378 2 жыл бұрын
I try to find but i can't. Do you know how to check username and password? I try everything and nothing works. As i know I did't set any username and password, also i have only one role - postgresql
@aiduongvo7510
@aiduongvo7510 2 жыл бұрын
@@tadeuszpaprocki8378 ok i will show you, you can try to re-install postgresql again(delete it and install again), because i also could not find my password as well. So here is how, you reinstall postgresql, then: - When they ask password, type in your own - they ask port number, just leave it 5432 or you can choose something else - they ask server after port number, i live in Vietnam so i select Vietnamese Finally, they will ask you about Stack Builder, you need to install one more driver which is the database driver, choose the "pgJDBC" and then install it. This driver helps you to connect Postgresql with Java Language Then try connect Postgresql and IntelliJ again, it will work.
@aiduongvo7510
@aiduongvo7510 2 жыл бұрын
@@tadeuszpaprocki8378 About the role, after you have installed postgresql and set up password,port number, server, like finish the installation phase i mean. PostgreSQL will give you 1 default Super Admin, which is the "postgres" user. So thats why you only found 1 role. To continue like in the video, you need to search google find a way to create a user
@friederikeland3972
@friederikeland3972 2 жыл бұрын
Also if you are on ubuntu, then there is apparently no password for the default postgres user created, therefore run ALTER USER postgres PASSWORD 'root'; in the psql client to set password to 'root'.
@genarodistilio8441
@genarodistilio8441 2 жыл бұрын
For me, I just restarted my pc and it started to work again.
@Ownig3
@Ownig3 3 жыл бұрын
I am loving your course man! Amazing. I've been trying to learn some spring boot for 2 years and every time got stuck, didn't get answered, and resigned learning. This time I had my anterior experience plus your patience and explanations and I am getting it good. Thank you!
@OliverPlummer905
@OliverPlummer905 Жыл бұрын
Thanks!
@genzomatiker
@genzomatiker Жыл бұрын
Thanks, nice tutorial
@hoagy_ytfc
@hoagy_ytfc 3 жыл бұрын
Hi Nelson. I'm an experienced dev in many areas, but not in Spring Boot and JPA. I had frustrations trying to learn these from services like Udemy. But I found this course to be well paced, well presented, clear in voice and clear in content, and it's the first one I've got all the way through! I'll pick up the JPA course next. Thank you for this super content. But can I make one suggestion to make it even better? When teaching "getting started" courses, I think it's best to start with free tools. So I would suggest perhaps using either IntelliJ community, or something like VS Code. I used the latter, succesfully. Using a £399/year tool for a getting-started course isn't ideal. Similarly, I would have shown the API calls being made in the free version of Postman. Everything else was bang on though, so thank you.
@jaimesantaflorez7056
@jaimesantaflorez7056 Жыл бұрын
Totally agree, Udemy is always out of date
@CoreDump451
@CoreDump451 Жыл бұрын
Nothing he did in the video really requires IntelliJ Ultimate. I used IntelliJ Community to follow along. As for VSCode, while I like using text and compile from the command-line, I think it's going to get into the way of the tutorial if he has to keep building from the command-line every time. By using an IDE, he gets rid of all the unnecessary work that can distract from the content and focuses only on Spring Boot. Plus IntelliJ helps A LOOT when it comes to importing the correct classes, so you don't have to keep looking at what classes he is importing, you can just let IntelliJ do that for you.
@varununofficial6967
@varununofficial6967 Жыл бұрын
@@CoreDump451 I think the Database Tools and SQL plugin requires IntelliJ Ultimate. Do you know how to connect to a database in Community Edition?
@ayapharalasi278
@ayapharalasi278 3 жыл бұрын
This is the best tutorial for Spring boot. I just wish Nelson really left the promised links in the description of the video. Other than that, thanks for a great lesson Amigo!
@Dobbybcn
@Dobbybcn 3 жыл бұрын
I don't use to comment on youtube videos but this time I would like to thank you for sharing your knowledge in a great and understand way. Thanks a million from Spain!
@kevinmit9088
@kevinmit9088 Жыл бұрын
The world benefits from your lessons sir, I am a colleague of yours. I am very proud to spend time learning from you. Thank you for this course, and I appreciate so much this is free. I will stay in touch with your channel from now on. Free is not useless, free is heartful. Thank you very much for your work.
@89Valkyrie
@89Valkyrie 2 жыл бұрын
This is an EXCELLENT clear cut (and short) explanation of the basic structure for a Spring Boot project. Specially in the abstract parts, such as explaining dependency injection and the layering.
@JeffMaigemu
@JeffMaigemu 3 жыл бұрын
Been using this tutorial to practice for a Spring job interview. I will update you all if I succeed 🤞🏿
@NeerajLakkapragada
@NeerajLakkapragada 3 жыл бұрын
All the best man!
@Someone-uw7je
@Someone-uw7je 3 жыл бұрын
did you????
@andrewaghoghovwia1948
@andrewaghoghovwia1948 3 жыл бұрын
Did you succeed?
@Someone-uw7je
@Someone-uw7je 3 жыл бұрын
I think he didn't, because he said: "I will update if I SUCCEED"
@francorueta3332
@francorueta3332 3 жыл бұрын
Same here :) we're going to get it done my man!
@3asoom11
@3asoom11 3 жыл бұрын
I need to say that you're the only one out there whom I watched their courses to the end! Very helpful, fun, and on point. Thank You Nelson! وعليكم السلام ورحمة الله وبركاته
@Griefed_
@Griefed_ 3 жыл бұрын
Your tutorial helped wrapping my head around dependency injection in Spring Boot. Thank you so much! A lot of the information one can find out there is outdated and no longer works, but yours worked like a charm!
@GrowsDrummer
@GrowsDrummer 6 ай бұрын
Danke!
@WayneEnterprise2008
@WayneEnterprise2008 Жыл бұрын
ive never actually studied Spring Boot and found this clip but honestly i got overwhelmed lol i got surprised with that ppl here say its easy to follow. i feel like i need to have more foundational knowledge first and come back to this video.
@quangvanduy1151
@quangvanduy1151 10 ай бұрын
It does require some knowledge of the concepts, in which Spring Boot uses though. Did you comeback and find it helpful now?
@germyu
@germyu 3 жыл бұрын
I haven't seen any spring course as helpful as this! Absolutely fantastic!
@kysakexpress
@kysakexpress 3 жыл бұрын
This is pure developer gold, I can't even tell you how much these tutorials help. As to learn or refresh knowledge this is great material. Keep it up.
@HakiDRuphy
@HakiDRuphy 3 жыл бұрын
NOTE: For anyone who have already got a database with some data and watching this video (43:05) , change spring.jpa.hibernate.ddl-auto to "update" will solve ' table "Student" exists ' error.
@chilly2171
@chilly2171 2 жыл бұрын
he didn't add hibernate as dependency though
@pedrocostalins8041
@pedrocostalins8041 2 жыл бұрын
Saved my life, many thanks!
@angelitodisco
@angelitodisco 7 ай бұрын
My friend! It is true that this course may be a bit thin when it comes to details and concepts, but I found it to be an excellent guide if you are willing to put in the work and read the actual documentation. I learned a lot by doing this! Sometimes the documentation is so massive that you don't know where to start and end up frustrated, so it's amazing to have this kind of courses to show you what's what. Keep on the great work, my dear friend!
@ItsLukeDude
@ItsLukeDude 4 жыл бұрын
Can you explain more why you are putting the code in each class and the data flow of what is supposed to happen. What data gets passed where otherwise it gets confusing as you dont know where to start. (Need more concepts as said in your other video)
@kabugaj2002
@kabugaj2002 3 жыл бұрын
This is the best introduction course on Spring Boot that I've come across. Thank you Nelson for enlightening the world
@robtea3941
@robtea3941 2 ай бұрын
Sping Boot is so big I was scared to start, but you break it down introduce concepts bit by bit which makes it much easier to learn, thank you
@TheSebdizzle
@TheSebdizzle 3 жыл бұрын
This is so helpful and a super-easy introduction to Spring Boot! Had to figure out Postgres on my own because I'm on Windows, but it was pretty much smooth sailing after that. I'm looking to get back into software engineering after taking 3 years off and you're making my life much easier. Thank you Nelson for the course!
@tiagomartins553
@tiagomartins553 2 жыл бұрын
how u did it? im blocked there please
@emmanuelu
@emmanuelu 2 жыл бұрын
@@tiagomartins553 incase you still need help just enter postgres as username and what ever your password is. took me like an hour to figure out. Wish the tutorial guy mentioned about it
@mrmi_
@mrmi_ Жыл бұрын
@@emmanuelu Thanks, you saved me a bunch of time.
@MrHanditar
@MrHanditar 3 жыл бұрын
Once again, I'm so glad this youtube channel exists. Thank you
@pierrelaurensflorez2273
@pierrelaurensflorez2273 3 жыл бұрын
I'm from Colombia, and I understood everthing about this course, thank you Nelson, for take the time to explain this kind of stuff :D
@ahmadsalehuddin
@ahmadsalehuddin 2 жыл бұрын
Had to complete a project within a short period and which requires me to apply this framework. Already searched for spring boot tutorial all over the Internet but this tutorial, this tutorial is a lifesaver. This is by far the shortest yet comprehensive spring boot tutorial and it is easy for those who are very new to spring boot to follow along and at the same time, want to get grasp of the basic quickly. I cannot see a reason to not subscribe to this channel. Kudos to Amigoscode 🙌
@kibdara
@kibdara Жыл бұрын
I’m not a huge fan of the tutorial so far because most of what you say is “do this, add this, then this, and that’s it” which doesn’t really teach anything. All it does is show that “hey I finished doing a project”. Instead you should explain why certain annotations are placed there, where in the documentation you found them, and how you can validate if it’s the right thing to do.
@Abstractor21
@Abstractor21 Жыл бұрын
Exactly... I know that we must search things on our own but if this is a tutorial and not a presentation of a project then it has to provide the basics. And it's not doing it.
@TechwithKB
@TechwithKB Жыл бұрын
Well I think it depends on the audience. If its addressing general annotations for CRUD operations for beginners it has served the purpose
@Rithari
@Rithari Жыл бұрын
Yeah unfortunately the tutorial leaves a lot to be desired.
@deepakmishra3693
@deepakmishra3693 11 ай бұрын
This is not for absolute beginners.
@mathivanant8398
@mathivanant8398 11 ай бұрын
@@TechwithKB yes.. Ur exactly right
@gshard14
@gshard14 3 жыл бұрын
This youtube channel is seriously underrated.
@herbert-kenumera960
@herbert-kenumera960 3 жыл бұрын
I legit love the fact that youve sliced all the info into easily consumable chunks.
@myildizz
@myildizz 3 жыл бұрын
Probably the best Spring Boot video I have ever seen. Your courses will definitely be one of the best on each platform. Thanks a lot Amigo for this great video.
@VTV-M
@VTV-M Жыл бұрын
Man.. from all the forums online & the other KZbin videos out there, this one takes the cake. When I first watched a bit of this video, I noticed I did not understand any of the terms used, mainly because I did not understand the purpose of the annotations (everything with @ in the vid). I took a few days to look up what the most important ones do & now I can watch this video & basically fully understand what's going on. It's only so complicating. This is one of my very few breakthroughs, only so long until I go back to imposter syndrome, lol. Thanks so much for this video! Truly helped me.
@DaDudeMan
@DaDudeMan Жыл бұрын
Brilliant tutorial Nelson, appreciate it! very clear and well paced.
@ivory404
@ivory404 3 жыл бұрын
The best Spring Boot tutorial on KZbin!! I had been working on my course project, and this is super clear and helpful!!
@Renato-ul3mb
@Renato-ul3mb 3 жыл бұрын
Hi, I get lost in the MyShell part, How can I sett up the Postgres DB in Windows? 37:08
@reubenmwangikibara4434
@reubenmwangikibara4434 2 күн бұрын
me too, how can you advice someone, i am using windows
@reach9318
@reach9318 3 жыл бұрын
One of the best Spring Boot tutorials. Well done!!!
@gurjitsingh-ff3ll
@gurjitsingh-ff3ll 2 жыл бұрын
Great tutorial! I am new to SpringBoot and this course provided a good foundation of Spring Web Framework using a simple REST API and also a good overview of additional things like (e.g. Spring JPA) required to master SpringBoot.
@tannuchoudhary4082
@tannuchoudhary4082 Жыл бұрын
Really appreciate that you've put so much of hardwork in this video and provided it to us for free
@mcnairymichael
@mcnairymichael 2 жыл бұрын
You're like a personal trainer for coders. Well done!
@SaifaldeenSAH
@SaifaldeenSAH 4 жыл бұрын
The best Spring tutorial available. Thanks!
@ArmandoDelRio-ue6gv
@ArmandoDelRio-ue6gv Жыл бұрын
Loved the video mate! Thank you very much! Been wanting to learn about Spring and this has been super straigt forward and very clear.
@amedeekreuzer9190
@amedeekreuzer9190 2 жыл бұрын
Thank you very much Nelson, so far everything worked!
@amitnijsure1918
@amitnijsure1918 2 жыл бұрын
This course was fantastic. Just what I wanted before my Java Developer interview. Thank you so much @Amigoscode!
@natedietel4968
@natedietel4968 3 жыл бұрын
Let me start by saying these videos are incredible and generally very accurate which saves so much time. I will absolutely be watching your videos for the unforeseeable future. That being said, I have an issue with updating where I use the exact same code but get a status 400, error: Bad Request, message: Required request body is missing. Does anyone know what I may have done wrong or is this a change that perhaps someone can guide me through? Thank you!
@kushalpoudel7029
@kushalpoudel7029 10 ай бұрын
same issues
@alexandermejia3839
@alexandermejia3839 3 жыл бұрын
Hi, I only have a question. What is the command you used in minute 1:06:33?
@shenukaranawaka7051
@shenukaranawaka7051 2 жыл бұрын
Simple but concise and a definitive go-to video for anyone who wants to crack a Java, Springboot interview in the shortest time.
@kdbwiz
@kdbwiz Жыл бұрын
You are a superb teacher! Will do other courses with you. Thanks!!
@iamblackdollar
@iamblackdollar 4 жыл бұрын
Always giving us great content. Thank you, Nelson. Could you please make a course on Apache Kafka?
@GWinsight
@GWinsight 3 жыл бұрын
Would love to see Kafka in action as well! thanks for raising that request
@chabbe76
@chabbe76 3 жыл бұрын
I can just say "THANK YOUUUUUUUUU"
@aGamer40
@aGamer40 Жыл бұрын
Excellent work explaining Spring Boot to rookies! Highly appreciated!
@beultimatefreelancer3166
@beultimatefreelancer3166 2 жыл бұрын
This is such a very straightforward and informative tutorial about Springboot! I have background with Java OOP and an average background in restful services, Fast API, Laravel, Django and have used Android Room as well and your tutorial allowed me to kick start my journey into Spring Boot development! Thanks a lot!
@maxd7228
@maxd7228 3 жыл бұрын
@Amigoscode there seems to be something borked here, at 52:43 I get a null pointer exception, debugging the code, seems that spring @Autowired is not injecting the StudentRepository into the studentRepository field inside the StudentService class. I followed the tutorial to the T, and getting this message. I see it works in your vid, but cannot replicate the same when I try. When the studentService.getStudents() method is executed, it calls on on the studentRepository.findAll() but the studentRepository is null and cannot execute .findAll() method. I did annotate the StudentService constructor with @Autowired. From what I can tell is the .findAll() method is executed before the StudentRepostory is injected. I doubt that Nelson will see this comment, but curious on the issue.
@karimplaysguitar1373
@karimplaysguitar1373 3 жыл бұрын
i didn't even compile for me , an error says there is an incompatibility in studentRepository.findall() and what i did is imorted java.util.* instead of com.sun.tools.javac.util.List;
@learnerslab7635
@learnerslab7635 2 жыл бұрын
I am also facing the same issue in my code, did you got the solution for this ?
@learnerslab7635
@learnerslab7635 2 жыл бұрын
it's resolved for me. I have not given the default constructor in the model class because of which I was facing the problem
@fatihkocapnar7707
@fatihkocapnar7707 4 жыл бұрын
I'll watch this course as soon as I'm available. I also watched your old course about Spring Boot and it was amazing. Pretty sure this is amazing too. THANK YOU IN ADVANCE.
@amigoscode
@amigoscode 4 жыл бұрын
thanks
@SosetaFurioasaJr
@SosetaFurioasaJr 2 жыл бұрын
Redid this tutorial 4 months later, everything worked like a charm, thank you very much for this resource.
@dufreebell
@dufreebell Жыл бұрын
Thank you for your time in making & sharing this video. Your instructions are well organized and structured that is super easy to follow and learn. Very impressive 👏🏼👏🏼👏🏼 that I can’t leave without subscribing.
@jazzdestructor
@jazzdestructor 3 жыл бұрын
Yo Bro, your explanation is pretty good but please give links to application.properties etc files in the description. i tried all your links most are your code links, even Initialzr file link was not there. i did google and get ur github and stuff but please add it in future courses.
@cucu2212
@cucu2212 2 жыл бұрын
yea its confusing to dont have a possibility to have a look in source code , but thanks for a great course
@salscachi9337
@salscachi9337 3 жыл бұрын
This is the best course by far for spring boot I found after some weeks looking at different ones. Nice work, I learned a lot of basics. Thank you for the course!!
@tapalsikandar
@tapalsikandar 2 жыл бұрын
One of the best spring boot tutorial for beginner with all service levels(API, Business Services, DB services). Thank you very much.
@KawaiiPowerRUS
@KawaiiPowerRUS 3 жыл бұрын
The best course that exists. Thank you very much. I'll become a real programmer just because of you. Also please make more courses on popular frameworks and technologies :) It would be cool to have the 3rd version of that course, but where you show how to make controller (not the RestController) that returns html pages instead of json. I really want to make a whole site with a spring framework.
@bahibrahim101
@bahibrahim101 Жыл бұрын
I think that what you demonstrated in the the dependency injection part of the video, at min 29:08, is not really a dependency injection but only an example of inversion of control. My reason is that it's still tightly coupled and we can't change the service with another unless we change the code in the controller directly; which doesn't adhere to the definition of dependency injection as a SOLID principle. Thank you for the good work!
@vitastasingh3682
@vitastasingh3682 5 ай бұрын
hey can I add this tutorial in my resume as a project named student api
@bahibrahim101
@bahibrahim101 5 ай бұрын
@@vitastasingh3682 wrong comment my friend, I am not the owner of this course material.
@ateshrampersaud2664
@ateshrampersaud2664 2 жыл бұрын
For anyone who has trouble getting the JSON to display at the API Layer section of the video, try adding: "@ComponentScan(basePackageClasses = StudentController.class" in the line immediately after "@SpringBootApplication" in the "DemoApplication.java" file.
@jaumearmengol7164
@jaumearmengol7164 2 жыл бұрын
Thank you so much! I was confused because it was not showing anything
@maciejbortnowski350
@maciejbortnowski350 2 жыл бұрын
You saved my life dude.
@Jack.2001
@Jack.2001 Жыл бұрын
Thanks buddy. I was banging my head for almost half an hour on what is wrong 😂
@the_gift_of_Allah
@the_gift_of_Allah 4 жыл бұрын
جزاك الله خيراً May Allah reward you bountifully
@kantatanahashi3240
@kantatanahashi3240 3 жыл бұрын
At around 43:00, when I try to run a code, I get a PSQLException saying that "the server requested password-based authentication, but no password was provided". Could you please help me with how to fix this?
@ryanwhitman7698
@ryanwhitman7698 2 жыл бұрын
I am also getting the same exact exception despite doing everything exactly the same as in the video, I now have no way to proceed
@sanjanasrinivas3758
@sanjanasrinivas3758 2 жыл бұрын
@@ryanwhitman7698 hey i have the same issue , did you find a solution for this?
@sanjanasrinivas3758
@sanjanasrinivas3758 2 жыл бұрын
@@ryanwhitman7698 hey figured the solution (user and password fields have to be filled in your application.properties file )
@BilalAhmed-uv5ou
@BilalAhmed-uv5ou 2 жыл бұрын
Thanks to Sanjana I solved it. There is an empty spring.datasource.username= spring.datasource.password= in the application.properties file. changing it to spring.datasource.username=MYUSERNAME spring.datasource.password=MYPASSWORD solved it for me
@mouradjaafar6013
@mouradjaafar6013 8 ай бұрын
i have a issue also in this part but it doesn't show me create table and the rest , do you have any solution
@ruy8421
@ruy8421 3 жыл бұрын
Only two words for you. Amazing, good job ! And thank you so much for these tutorials which guide me not only knowledge about Spring framework but also JPA, Hibernate and Testing
@orhanakykildiz8545
@orhanakykildiz8545 Жыл бұрын
Perfect teaching. Thanks for your effort. We saw this lesson our boot camp for 4 days but you give me this knowledge in 2 hours more than this course. The only question is ı don't know about spring boot and its methods,if you could teach us the international way and methods without too many comments and neutral this will be perfect.(I want to earn like this => my code can be work most of environments and system)If you already did these things no problem then. Thanks again!
@bariskaraer3516
@bariskaraer3516 2 жыл бұрын
Some problems i've faced while following this tutorial (im coding on windows)=> if the "psql" command is not working, add it to the environment variables "SYSTEM PATH" and it should be working fine ive accidentaly imported the wrong "List" class so i was getting cannot resolve "method ""of" in list. Import the correct List class to avoid this problem. If you're using intellij community edition the database sidebar is not visible, you have to upgrade it to the ultimate edition. hope i was helpful to the beginners who are starting out.
@tomasriabovas2732
@tomasriabovas2732 7 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 *🚀 Introduction to Spring Boot Course* - Overview of the course structure and content. - Explanation of the importance and popularity of Spring Boot. - Encouragement to subscribe, join the community, and practice along for better learning. 02:19 *🔍 Features and Advantages of Spring Boot* - Spring Boot's versatility for building various types of applications. - Highlights of Spring Boot's features, including security, logging, database connectivity, and metrics. - Emphasis on its beginner-friendly nature and production readiness. 03:42 *🎓 Setting up a Spring Boot Project with Dependencies* - Overview of setting up a Spring Boot project using Spring Initializr. - Guidance on selecting project metadata, dependencies, and packaging. - Detailed demonstration of selecting dependencies for web development and database connectivity. 08:02 *💻 Setting up IntelliJ IDEA for Spring Boot Development* - Introduction to IntelliJ IDEA as the preferred IDE for Spring Boot development. - Recommendation of JetBrains Toolbox for managing IDEs. - Instructions for opening and setting up a Spring Boot project in IntelliJ IDEA. 10:28 *🚀 Running and Debugging a Spring Boot Application* - Demonstration of starting and debugging a Spring Boot application in IntelliJ IDEA. - Troubleshooting common errors, such as database connection issues. - Explanation of the application startup process and interpreting logs. 14:17 *🌐 Implementing RESTful Endpoints in Spring Boot* - Introduction to building RESTful APIs in Spring Boot. - Explanation of creating a simple API endpoint and testing it using a web browser. - Demonstrating how to return JSON responses from the API. 18:23 *📚 Modeling Data and Structuring the Application* - Guidance on structuring a Spring Boot application according to the API, service, and data access layers. - Demonstration of creating a model class (Student) to represent data entities. - Introduction to creating a service class (StudentService) for business logic handling. 24:25 *⚙️ Implementing Service Layer for Business Logic* - Creation of a service class (StudentService) to manage business logic related to students. - Transition of API methods from the controller to the service layer. - Explanation of the separation of concerns between the API and service layers. 27:53 *📊 Setting Up Data Access Layer for Database Operations* - Introduction to creating a data access layer for database operations. - Demonstration of moving methods from the service to the data access layer. - Explanation of the flow of data between the API, service, and data access layers. 28:52 *🏗️ Setting Up Dependency Injection and Annotations* - Implementing dependency injection using `@Autowired` annotation. - Declaring a class as a Spring bean using `@Component` annotation. - Distinguishing between `@Component` and more specific annotations like `@Service`. 32:44 *🗃️ Configuring and Connecting to a Real Database* - Configuring application.properties for database connection. - Installing and setting up PostgreSQL for local development. - Creating a new database and granting privileges to users. 39:26 *🔄 Mapping Entities to Database Tables with Spring Data JPA* - Using `@Entity` and `@Table` annotations to map Java classes to database tables. - Defining primary keys with `@Id` and `@GeneratedValue` annotations. - Understanding the magic of Spring Data JPA repositories for database operations. 47:44 *📊 Implementing Data Access Layer with Spring Data JPA* - Creating repository interfaces that extend `JpaRepository` for database operations. - Utilizing Spring's `@Configuration` and `@Bean` annotations for configuration and bean creation. - Saving data to the database using repository methods like `saveAll()`. 58:47 *🛠️ Implementing Transient Field for Calculating Age* - Utilizing `@Transient` annotation to exclude a field from database columns. - Removing the "age" field from constructors and ensuring its exclusion from database operations. - Implementing logic within the entity class to calculate age based on the date of birth. 01:03:13 *📝 Implementing POST Request to Save Students* - Creating a POST endpoint to add new students to the database. - Mapping JSON payload to a Java object using Spring's `@RequestBody` annotation. - Invoking service layer methods to save the student entity. 01:08:08 *🔄 Implementing Logic to Check Existing Email before Saving* - Defining a custom repository method to check for existing email. - Handling the scenario where the email already exists with appropriate exception handling. - Saving the student entity only if the email is unique. 01:15:47 *🗑️ Implementing DELETE Method for Removing Students* - Creating a DELETE endpoint to remove students from the database by ID. - Verifying the existence of the student before deletion to avoid errors. - Handling successful deletion and non-existent student scenarios. 01:21:47 *🛠️ Implementing PUT Method for Updating Student Details* - Designing a PUT endpoint to update student information, such as name and email. - Employing Spring's `@Transactional` annotation for automatic entity management. - Updating entity fields based on provided parameters while ensuring data integrity. 01:27:50 *🧪 Testing in Spring Boot* - Understanding testing fundamentals including assertions and mocking. - Exploring the importance of unit testing, integration testing, and test-driven development (TDD). - Learning how to test external services like Stripe without connecting to real systems. 01:29:48 *📦 Building and Running Spring Boot Application* - Cleaning the project with Maven and generating a JAR file. - Demonstrating the process of running the application from the generated JAR file. - Exploring how to run multiple instances of the application on different ports. 01:34:59 *📚 Concluding Remarks and Future Topics* - Summarizing the Spring Boot tutorial and inviting feedback. - Previewing future tutorial topics, including creating a registration service and incorporating Spring Security. Made with HARPA AI
@Leopoldo-III
@Leopoldo-III 4 жыл бұрын
Thanks AmigosCode!!!
@jaygitonga2026
@jaygitonga2026 Жыл бұрын
At 57:02 , if you run into a White label error page, it may be caused by hibernate InstatiationException No default constructor for entity Student, well at least for me this caused it. What you need to do is add an empty default constructor within the Student entity class like this: public Student(){ } . Also, amigos may have forgotten to mention that you need to remove the id field in the Student entity constructor as it is auto generated.
@somasundarams4172
@somasundarams4172 Жыл бұрын
Thanks bro 😅 I too got an error, now resolved 🤝
@austinchanh3313
@austinchanh3313 Жыл бұрын
adding the empty Student constructor to Student.java did it for me. Thanks!
@skrbomb635
@skrbomb635 18 күн бұрын
thank you my GOAT
@MufasaToday
@MufasaToday Жыл бұрын
I must admit this is the best Spring boot tutorial hands down. I had an easy time following this tutorial and enjoyed every single bit of it.
@timothymbogo5849
@timothymbogo5849 2 жыл бұрын
You are the best in explaining details. Your content is 10/10 man. I used to think java is hard to understand its so easy by following your content.
@mikhailkulak3203
@mikhailkulak3203 4 жыл бұрын
We're waiting for Spring Cloud! :)
@anthot7361
@anthot7361 4 жыл бұрын
This is amazing, I've been recently looking for a good source to learn Spring Boot
@amigoscode
@amigoscode 4 жыл бұрын
Glad you like it!
@miguelrossattobohrz9822
@miguelrossattobohrz9822 3 жыл бұрын
First, I just wanna say congratulations for the crash course. It was awesome and very well executed. Second, I wanna thank you for providing the content for free. And last, do you have the courses on Udemy as well?
@Junkogetsu
@Junkogetsu Жыл бұрын
he has is own website where free and not free courses are available
@kikaze8237
@kikaze8237 Ай бұрын
The best spring boot tutorial I've ever seen! Appreciate!
@carmenbravo8606
@carmenbravo8606 2 жыл бұрын
Man, This course is amazing!!! It's a full course, with a lot of usefull information and you explane all very good. I love it!
@joygeorgiev4131
@joygeorgiev4131 3 жыл бұрын
Thanks for the tutorials bro, I really enjoy watching them. Just, one thing I want to add in the section when you explain about creating and connecting with database, it would be nice to mention that we also need to add dependency for postgres driver into our pom.xml file. org.postgresql postgresql runtime Thanks a lot!
@yusuf-germany3396
@yusuf-germany3396 3 жыл бұрын
Hi Georgie, the dependency for postgres driver is present in pom.xml see video again 9:49
@ArunKumar-ut4rq
@ArunKumar-ut4rq 3 жыл бұрын
The video doesn't explain much. you dont explain why we use different annotations and all. It just seemed like a promotional video for the other courses you have.
@ArunKumar-ut4rq
@ArunKumar-ut4rq 3 жыл бұрын
for example : there is no deep explanation about dependency injection and why we use it and all. It's just a do that, do this, download this database video.
@Sam-vc5pm
@Sam-vc5pm Жыл бұрын
The course is not from 2023, it's more than 2 years old.
@piyushrewatkar6825
@piyushrewatkar6825 Жыл бұрын
this course is not for someone who is learning spring boot from strach
@AndrewOfLewis
@AndrewOfLewis 6 ай бұрын
I mean, you would be more correct in saying Java instead of SpringBoot. If you have built Java applications, this is a good starting point, even if you leave with questions. Half of problem solving is know what questions to ask and what tools exist.
@esnrp
@esnrp 2 жыл бұрын
What an amazing tutorial. Great Work. One thing that I have noticed, however, is that you don't even need to have the `age` variable in your `Student` class. You can simply have a public method called `getAge()` that calculates and returns an integer, and it will be added to your JSON as `age`.
@ajs8391
@ajs8391 2 жыл бұрын
Amazing content! جَزاكَ اللهُ خَـيْراً
@nemanja084dragicevic4
@nemanja084dragicevic4 2 жыл бұрын
not so good, not explaining many things, just coding without saying why
@rezaperdana7
@rezaperdana7 2 жыл бұрын
This is my official fresh start to learn Springboot. Thank you Amigos Code! Thank you brother Nelson. Greet from Indonesia! Assalamu'alaikum
@joshh4234
@joshh4234 Жыл бұрын
You are a fantastic instructor, really like this course so far! I didn't realize how easy Spring Boot is until today...big thumbs up!!!
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Spring Boot Roadmap - How To Master Spring Boot
17:42
Amigoscode
Рет қаралды 431 М.
Learn Java in 15 Minutes (seriously)
19:50
ForrestKnight
Рет қаралды 150 М.
Harsh Truth of Java in 2024! Ft. Ultimate Java Developer @Telusko
28:46
Spring Boot Tutorial - Crash Course
1:16:32
Marco Codes
Рет қаралды 177 М.
Spring Boot Tutorial | Full In-depth Course
3:11:18
Daily Code Buffer
Рет қаралды 547 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,4 МЛН
Spring Boot - Learn Spring Boot 3 (2 Hours)
1:47:53
Amigoscode
Рет қаралды 892 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 899 М.
Spring Boot Tutorial | Spring Data JPA | 2021
1:02:02
Amigoscode
Рет қаралды 721 М.
Building web applications in Java with Spring Boot 3 - Tutorial
3:30:40
freeCodeCamp.org
Рет қаралды 723 М.