Java Spring Boot REST API Tutorial using Spring Boot 3, JPA/Hibernate, MySQL, IntelliJ IDEA, Postman

Welcome to the crash course titled Spring Boot 3 Tutorial for Beginners.
In this crash course, you will learn how to build REST APIs using Spring Boot 3 and Java 17.
Tools and Technologies Used:
- Java 17
- Spring Boot 3
- Spring Data JPA (Hibernate 6)
- MySQL Database
- IntelliJ IDEA
- Maven
- Postman Client
Timestamp:
[00:02:05] Spring Boot Application Three-Layer Architecture
[00:05:07] Create and Setup Spring Boot Project in IntelliJ IDEA
[00:10:22] Configure MySQL Database in Spring Boot Application
[00:14:50] Create Employee JPA Entity
[00:20:55] Create EmployeeRepository
[00:25:44] Create EmployeeDto and EmployeeMapper
[00:29:38] Build Add Employee REST API
[00:40:09] Build Get Employee REST API
[00:48:22] Build Get All Employees REST API
[00:55:17] Build Update Employee REST API
[01:04:38] Build Delete Employee REST API
My Popular Udemy Courses:
👉 [NEW] Full-Stack Java Development with Spring Boot & React - www.udemy.com/course/full-sta...
👉 Spring 6 and Spring Boot 3 for Beginners (Includes Projects)
www.udemy.com/course/learn-sp...
👉 Building Microservices with Spring Boot and Spring Cloud - www.udemy.com/course/building...
👉 Spring Boot Thymeleaf Real-Time Web Application - Blog App
www.udemy.com/course/spring-b...
👉 Building Real-Time REST APIs with Spring Boot - Blog App
www.udemy.com/course/building...
👉 Testing Spring Boot App with JUnit, Mockito, and Testcontainers
www.udemy.com/course/testing-...
#springboot3 #crashcourse #restapi

Пікірлер: 51

  • @JavaGuides
    @JavaGuides9 ай бұрын

    Udemy course: Spring 6 & Spring Boot 3 for Beginners (Includes 5 Projects) Course Description: Spring Framework Core 6, Spring Boot 3, Spring Security 6, REST API, Spring MVC, Spring WebFlux, JPA, Thymeleaf, Docker Link: www.udemy.com/course/learn-spring-boot/?referralCode=C2200F473771CD228695

  • @javatechnology4481
    @javatechnology4481 Жыл бұрын

    Your teaching skill is another level. You deserve more subscribers. Awesome crash course

  • @leozhong9270
    @leozhong92709 ай бұрын

    Omg, you are the teacher I took from Udemy; it's a really good tutorial for spring-boot.

  • @RochaNahuel
    @RochaNahuel Жыл бұрын

    I love all your courses Thank you so much for all the free quality content you give away to the community! I would like if in the future you can do a course on JUnit test applied to a basic crud like this for example. Greetings from Argentina

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 Жыл бұрын

    The best of the Bests !

  • @307waseemtariq5
    @307waseemtariq5 Жыл бұрын

    eagerly waited for this...Now the wait is up! Thank you Dear Ramesh Sir❤

  • @Kishore_p_raj
    @Kishore_p_raj Жыл бұрын

    Beautiful & well Explained tutorial ❤ Thank you Ramesh sir

  • @anjanik7053
    @anjanik7053 Жыл бұрын

    I like your style of teaching.. Thanks

  • @Relaxwithpeter254
    @Relaxwithpeter2549 ай бұрын

    great man, now i will be able to build my backend for my app,

  • @abdulsohel6129
    @abdulsohel6129 Жыл бұрын

    Awesome Video Sir On Spring Boot.

  • @depression_plusplus6120
    @depression_plusplus612011 ай бұрын

    Really good starter. I know spring boot is a lot more than this. But alteast it got me started. Thanks sir

  • @rajusunagar
    @rajusunagar Жыл бұрын

    The way of your teaching level is amazing❤❤

  • @meenajadhav5533
    @meenajadhav5533 Жыл бұрын

    Thanks for video on latest version of spring boot

  • @giangngo3503
    @giangngo3503 Жыл бұрын

    thank you

  • @saihlyanphyoe6863
    @saihlyanphyoe686310 ай бұрын

    thanks

  • @satheeshprabhu6386
    @satheeshprabhu6386 Жыл бұрын

    Can you post the video for login with forget password through email verification in spring boot.....?

  • @user-sapdev
    @user-sapdev Жыл бұрын

    Hi Ramesh. I hope you are doing Great. I'm glad to to share my success with Java Guides for your impeccable efforts in bringing the right content in a simple and clear way for Interviews Preparation and also for Coding Practice.After more than 2 years of career gap . Continuous Practice and Revision of most of your Udemy Courses and youtube Videos for 3-4 months of duration, I was able to grab multiple opportunities in just 3 weeks of duration. I was able to crack most of the interviews if JD is matching to my profile. My Last CTC is around 6LPA But in this tough times also i was able to get more than 150% hike in one Product based Level 3 Company and also in one of the top 5 Indian IT MNC with all your due support and guidance of your Udemy Courses. I really don't have enough words to express my gratitude towards all the good work you have made in this channel and in your Udemy Courses- which helped me a lot during my interviews and during my practice for interviews. Thanks Once again Ramesh. During this tough times Java Guides & Ramesh's Udemy Courses are my first preference to revise or learn any topic related to Java from scratch and also for coding practise as well.👏👏🙏🙏

  • @JavaGuides

    @JavaGuides

    Жыл бұрын

    Wow, that's amazing news. Congratulations. I am glad that my teaching and content helping my students to get job and knowledge. Your kind words and appreciation made my day.

  • @saimanasamadaraju3105

    @saimanasamadaraju3105

    11 ай бұрын

    Hi can you please share which courses you took and flow of courses I mean roadmap for Java guides courses That will helpful my life Thank you

  • @nagaraj.s9089
    @nagaraj.s9089 Жыл бұрын

    Hi Ramesh sir , I have seen your all the spring videos. It's amazing package. Thanks lot ❤. Only one request could you please implement oauth 2.0 in spring boot rest API ?

  • @LearncodewithMuneeb
    @LearncodewithMuneeb10 ай бұрын

    Thanks sir for making useful videos for us. But I request you very respectfully to work in a project in spring boot having at least 6 entities/tables using spring boot in the back end and React/Angular/Next in the front end.

  • @carlosmontes-ui4ri
    @carlosmontes-ui4ri2 ай бұрын

    Thanks My friend

  • @PradeepKumar-sx6ms
    @PradeepKumar-sx6ms Жыл бұрын

    Please discuss spring security changes that are challenging

  • @CuriousVivek
    @CuriousVivek9 ай бұрын

    Make video on spring boot and angular with new sprint security thats helpful

  • @harierigineni6338
    @harierigineni63388 ай бұрын

    Sir please make videos docker and kubernates microservice deployment process

  • @abdulsohel6129
    @abdulsohel6129 Жыл бұрын

    Please Make a Video on Angular Crash course.

  • @acpollazzo
    @acpollazzo Жыл бұрын

    will you make an example using the new spring boot 3.1. docker compose feature?

  • @acpollazzo

    @acpollazzo

    Жыл бұрын

    @Java Guides

  • @RochaNahuel
    @RochaNahuel Жыл бұрын

    Something I did not understand is in the event that our employee entity has the password property, logically our employeeDTO class will not have the password property since it is not information that we want to share. So in the first instance, if we wanted to obtain the user's password data, how would we receive this information? If our disc class, which is the one that works with the client, does not receive such information?

  • @ansar7580
    @ansar7580 Жыл бұрын

    Why not to use @Autowired on field level.? What I mean is even if we just add @Autowired annotation on any class's non primitive field then the spring will inject thar particular class and we can use that class members and methods right. Then why we should go for constructor based DI. If @Autowired way has cons please make a practical video on it if possible.

  • @ankitanarvekar3051
    @ankitanarvekar3051 Жыл бұрын

    It would be really helpful if you could provide the Github Link for this project. Thank you in advance!

  • @actiniumbinary2702
    @actiniumbinary27024 ай бұрын

    Please use dark mode if possible.

  • @AltairSsb
    @AltairSsb10 ай бұрын

    Hi, Why the @AllArgsConstructor in the service and the controller ? (Note: My English is very basic but usually I can understand coments)

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq7 ай бұрын

    hi, does Spring have many templates for ecommerce sites?

  • @wmjabeen
    @wmjabeen5 ай бұрын

    Hello Ramesh - Can we bypass the DTO Objects and use the entity objects?

  • @aryajha4428
    @aryajha442811 ай бұрын

    I have a question, can someone help? What is EmployeeDto? and why do we need it? we are mapping it to employee and then mapping it back to EmployeeDto then why we are we even using it? Can't we just use Employee.

  • @JavaGuides

    @JavaGuides

    11 ай бұрын

    EmployeeDto is the data transfer object. It is widely used design pattern to transfer data between client and server. I have a dedicated video on this topic. Just search for spring boot dto on this channel. Of course, you can Employee but i won't recommend to expose entity directly to the client.

  • @aryajha4428

    @aryajha4428

    11 ай бұрын

    @@JavaGuides okay, I'll look for the video. Thank you !

  • @dhanagovindareddy2956
    @dhanagovindareddy29568 ай бұрын

    Hello sir,custom exception is not coming

  • @LukaPopov
    @LukaPopov10 ай бұрын

    On 32:23, why didn't you use @Autowired annotation with employeeRepository?

  • @JavaGuides

    @JavaGuides

    10 ай бұрын

    We are using constructor-based dependency injection to inject the dependency. Before Spring 4.3, we had to add an @Autowired annotation to the constructor. With newer versions, this is optional if the class has only one constructor. To know more, check out my blog post: www.javaguides.net/2023/01/spring-boot-constructor-injection.html

  • @LukaPopov

    @LukaPopov

    10 ай бұрын

    @@JavaGuides great, thanks!

  • @Anandpasunoori
    @Anandpasunoori11 ай бұрын

    Is code checked for this tutorial,I’m getting errors in my local

  • @avnishkumarkarn5694
    @avnishkumarkarn569410 ай бұрын

    I am getting error in importing get methods in mapper from dto and entity it shows cannot resolve method getId() and other methods as well can you help me

  • @hindsebaoui8960

    @hindsebaoui8960

    10 ай бұрын

    me too i didn't understand

  • @nileshsawant128

    @nileshsawant128

    9 ай бұрын

    ​@@hindsebaoui8960have you got any solution?

  • @user-yv1ms3tu5m
    @user-yv1ms3tu5m Жыл бұрын

    Sir can you please provide spring interview questions

  • @JavaGuides

    @JavaGuides

    Жыл бұрын

    There are already videos on spring and spring boot interviews on this channel.

  • @user-yv1ms3tu5m

    @user-yv1ms3tu5m

    Жыл бұрын

    @@JavaGuides actually i want you to explain about spring architecture , i am facing this questions on many interviews

  • @saumilvachheta
    @saumilvachheta8 ай бұрын

    Hi, I want to enroll in your course available on UDMY. Can you give me an order in which I should take your course? It will be better if you make a video or write a blog in which you explain what each course offers and in which order they should be taken. The courses you offer are almost in the same direction as my area of work. It will be better if you give me a roadmap for this. @JavaGuides

  • @maikhelugames
    @maikhelugames Жыл бұрын

    showing this problem Cannot invoke "java.lang.Long.longValue()" because the return value of "com.myproject.project.dto.UserDto.getId()" is null and i am using eclipse