Create your FIRST CRUD RESTful API - Java, MySQL, Springboot, JPA, & Maven
ฝัง
- เผยแพร่เมื่อ 21 ธ.ค. 2024
- In this video, we build our first ever REST API. We also take our first look into tools like MySQL, Springboot, JPA, & Maven.
*Download Intellij: www.jetbrains....
*Download MySQL Workbench: dev.mysql.com/...
*Download Maven: maven.apache.o...
*Install Maven: maven.apache.o...
*Download Postman: www.postman.co...
Be sure to subscribe to the channel and leave a like! :)
Follow me on Twitter: / softwarealphayt
Best Rest API video on TH-cam. There are either too many 2 hour long yappers on TH-cam or really short videos that just cover the gist of rest. This may be years ago but I’m glad I found this today
This one needs to go VIRAL. Can't stress this enough. You managed to pack into
This was EXACTLY what I needed. I didn't need the 2 hour I just needed to know the basic hook up and how the structure would be that was needed for my own project. Got me up and running very quickly. Thank you! The addition of Postman was nice as well.
amen
Was stressing out having to do this for a class where the professor doesn't teach anything. Spent hours looking up articles and videos with no success. That is until I found your video. Thank you so much you're a lifesaver!
Wow I've been searching for a springboot project tutorial for hours and found this guy. all the videos iIve seen so far are hours of duration but here he explained all I needed in less then 20 mins. the quality of content is great he even explained all the simple terms. don't know why he stopped making these kind of videos. he should start making these type of content agian. thanks buddy❤
Thank you very much, no bullshittin’ just straight forward, fast and easy to follow 👍🏼
This is the most simplest spring boot restful API crud out there. easy to follow and very straight to the point.
I always heard about Springboot and had no idea why it was needed for in Java and this guys explained in such way that made total sense for me and I learned a lot in a such short video. Thank you very much.
REALLY VERY GOOD VIDEO! You show us (beginners) simply fundamentals of Spring REST API with MySQL connection which many others try to explain it in hours with many unnecessary talking and details for beginners. It is very pity that your channel is underrated and have little subscribers. You deserve much better with your great teaching skills. All the best!
Impressive! You managed to capture all the key points in less than 20 minutes. Your explanation was both succinct and lucid-truly remarkable. Eagerly anticipating additional content on Spring Boot and Maven.
I'm basically a php developer. Recently i got some interest on Spring Boot. Last two days I'm looking for this type of quick starting video. Now i find it. Thank a lot 😊
Thank you for this tutorial. You packed a lot into 18 minutes and yet still managed to explain it all. Looking forward to more videos
You deserve more subscribers, very straight forward tutorial, no more overdoing, direct to the point
Wow you said in 18mins, what a lot of guys say in 1 hour. Very precise, concise and still explicit. Its a great walk through... everything connects. I appreciate... Please make more. Cheers bro
Incredible amount of info packed into a
The best video exaplanation of CRUD that I found until now! And everything from my side went accordingly!
You are awesome! Thanks a lot for explaining so well something that was becoming ridiculously complicated to me!
Thanks! This was awesome. Straight and to the point on the basics of API CRUD operations. For noobs, you'll need to install MySql Server and Workbench before hand if you want to interact with a db interface (2023).
Just started learning java rest Api and so many Udemy courses complicated it for me almost making me lose interest then I find your video so simple at least I now have a stable foundation to continue thank you very much
clear, short, and to-the-point tutorial!
Thank you!
expecting more such on spring boot...
You got me subscribing. Great idea of cutting all this chatting and focusing on what is really needed. Full jpa crud in 18 minutes. I can just stop and rewind.
Could you add source code to the description. It'd be of great help. Thank You
Thanks! This was well put together. Clear and concise. Enough background info to understand the context of what is going on without unnecessary filler. Instant subscribe! Will be looking through your other videos.
Question, why not use the IntelliJ Spring Initializer?
Great video. No bullshit, no fillers. I wish I could upvote it more than once.
Thanks, man! I plan on resuming videos soon. Stay tuned
@TheSoftwareAlpa thanks for the easy way to explain restful Api's.
I have query, after deleting the entry in postman again added new entry but in DB it shows different id not in sequence order. Can you please suggest what i have to do now?
Helped me a lot, thanks! just used this as a example to create a pretty big school project, and it made my week a lot easier tysm
OFFICIALY BEST CRUD JAVA MYSQL VIDEO ON YT! THX BRO
Probably one of the best explanations i've seen, hands down! A beautiful way to kick off any software developer's REST API skills!
I hit a wall... when i create the connection in Mysql, when i get to click test connection it doesent ask me for a password rather it throws an error saying it cant connect. any idea why? or how could i get past this problem?
This is the easiest tutorial I've ever been into for doing REST API for Spring. Thanks and more power! 🙏
Por fin!!. Ayer estuve un día entero tratando de establecer la conexión a la base de datos, busqué y probé muchas cosas y ninguna me sirvió, muchas gracias!!!
Awesome tutorial dude! only difficulty i had was that when u exaplined everything fast and fast input the method instead of writing, got lost a couple of times, but everthing worked out. Thanks again for this tutorial, hope u will do more tutorials like this.
Brilliant! None of the extra faff. Perfect for 30yr C#/VB/SQLServer trying to learn new tricks!
Hey, for some reason the user table dosent show on my mySQL workbench.
Could you please help
Error creating bean with name 'userRepo' defined in com.example.demo.Repo.UserRepo defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar
THis is the error i am getting
Check the controller class under the @Autowired
thank u so much, u have explained very well for how use RestApi save, update and delete, so don't stop to share ur video , i was trying to do and understand Rest Api using Put, Delete, Post and Get , Really u have given video in 18 min sufficient , thanks a lot
Thanks for the Tutorial , i like the style just straight to the point
Wow this was a well put together quick tutorial, which is exactly what I needed! Keep making more videos like these 🙏🏾
The besttt tutorial out there for this concept
thank you very much, i was watched a video on this subject and it was 3 hours long and this video was more more more helpful to me than that 3 hours video.
sir how to give the values in postman .when two tables were connected
Thank you for the amazing video. A question regarding how the java end interacts with the database. Here, you showed how to access the database with Post,Get,Put etc. What if i wanted to run queries from mysql, does the api goes both ways? Or do I have to make changes at the java end to implement the queries into mysql?
Thank you for your video. I have a 500 error while i fetch post on my vps server. On my vps server i have nginx, apache installed. And the fetch use a sub domain to access to the api. Why do i have nothing showed?
Very simple , but extremely effective way of explanation. Thank you
My IntelliJ does not accept the dependencies at 8:40.
Same here man.. Did you solve it?
did anyone solve this problem? 😂🥹
The table is not prepopulated for me even though I followed all the steps neatly. Could you please help here ?
Very fast, but very good. Excellent, thank you. I have subscribed.
I cant import @Entity annotation
did I missing any dependency or there is something wrong in my coding ?
please guide me
Add the following to your pom.xml: javax.persistencejavax.persistence-api2.2
@@reidwatson5875 thanks brother for guidance
Very straight forward guide. Thank you so much again for this super short, well detailed video. you earned a well deserved Sub
did you add mysql and jpa to your maven?
Wow...! Full of swag .. my first CRUD developed
Thanks a lot, it's my first project in java, it's done successfully.
Make more like this man, would be great if you give like a guide to a bigger project where u have a lot of components and how to order and structure them
how do i get the javax i have downloaded the api but i cant find instructions where to put it or how to use it.
Hey, for some reason the user table dosent show on my mySQL workbench.
Could you please help
Hello, sorry for the delay in response. I plan on resuming activity on this channel very soon! Try checking your application.properties… make sure you have the .dd1-auto property set to update. When you run the application, the table should be generated automatically. If it still doesn’t appear, try refreshing the schema one SQL Workbench
@@TheSoftwareAlpha Hey thanks for your response. That did end up working how ever the post request doesn't work for some reason. I have workbench and wampserver both installed on my machine. I'm not sure if that's the reason its not happening
@@nishchalbhardwaj4835 how did you solve the issue ? I am also unable to create the table in crudusers.
Very clear demo and explainations. Thank you so much !!!
Imported into Eclipse but shows a lot of errors. I cannot access Intellij due to need of license
Straight to the point, thank you very much for creating this video!
How could I creata a second table in the database and the CRUD also for it?
What a amazing video I come across... Really nice explained...so many things covered...thank you...looking forward...
Great tutorial !! Loving forward for more tutorials like this
This is the best explanation of rest ful API in java thnx for this I am amazed by this
Thank You Big Dawg! This was much needed.
nice tutorial, any link to the source code?
Supper helpful man you make things so simple for me!
Thanks for the great explanation, my friend, for telling just what's needed, without bullshit 👍🏼
Thank you for this video. This is exactly what I needed.
i am just starting out , how much can i expect to earn in the field of Java, spring boot after 3 years of concrete experience ?
Thanks so much, you're a great man. Please make more course...
That was amazing, man, thank you a lot! where can I learn more about this? any documentation or something you recommend?
No problem! Sorry for the delay- I’m resuming activity on this channel very soon! I definitely recommend looking into the Spring Boot documentation docs.spring.io/spring-boot/docs/current/reference/htmlsingle/
Very useful information! Thanks bro
yay my first CRUD, thanks mate :D
This tutorial hits different.
Great tutorial. Perfectly concise and informative!
Hi This is an amazing video thanks!! How to run it .?as a java application or maven build I am a fresher , would be grateful if someone answer.
This video is exactly what I need.
Thank you for this tutorial. I created with java 17 its work.
Don’t forget to refresh your Maven after importing the JPA and MySQL dependencies 😅
I can't seem to import the javax.persistence.* package or tag the @ annotations at all. Does anyone know the solution? I already check and I do have the JPA added to the dependencies in the pom.xml file
Did you fixed it ? Im having the same problem ...
Try adding the jar to classpath
One thing to note, IntelliJ IDEA Community Edition doesn't support Spring (only the paid version does), so I ended up using Eclipse.
I exactly followed the video but the fields other than id are showing as null in database.. Can anyone tell me the solution
I have the same issue.
Alright you probably don't care as this is an old comment but the issue was forgetting the annotation @RequestBody in your parameter of the save method.
@@kidkyle712 yes.. Thank you. I also observed it later
@@kidkyle712 You are my hero... I spent almost an hour on this...
@@devben2448 No problem, I really liked this video but he forgot to add this annotation himself and it magically appeared at 14:00, but he didn't mention it.
This video helped me to learn alot.. Pls do more videos in spring boot, JPA mapping concepts and massaging services
when I run the APIControllers class I get Error: Could not find or load main class controller.RestApiApplication
Caused by: java.lang.ClassNotFoundException: controller.RestApiApplication
ensure u add web dependency
everytime I add the project from my intellij ide, in the main method of RestApiApplication it shows the error "cannot resolve symbol String"
Sounds like your IntelliJ does not have your Java SDK configured. Check your settings
@@TheSoftwareAlpha yes I resolved that query, thank you. I have another issue, in the latest version of mysql it does not have test connection option, so how do I know it is connected. Also in the application.properties how do you get that specific URL of database??
can anybody tell how to get a single entery with id
Thank you so much, Sir. This video is what I want search
John Doe is a senior developer at 25, I just started studying this stuff at 25 😔
well demonstrated, thank you so much
Thanks ive created my first crud operation using spring thanks
Woa men, this video is great!
This is super cool. Thanks
This is very helpful. Thank you so much
How to search by id ?
You are one of the best.
Great video, thanks very much.
the is amazing thanks for brief but fruitful session
Amazing tutorial!!!!
Thank you bro,great content ...
Great tutorial! Thank you
Glad I could help!
This helped me so much!!!
Thank you so much for this
🥰