SpringBoot REST API CRUD Operations using Spring Data JPA | Postman | MySql

Поделиться
HTML-код
  • Опубликовано: 30 июн 2024
  • Hello All,
    In this video we have created SpringBoot project and created some rest end points to perform CRUD operations.
    Git URL for source code : github.com/sjprogramming/spri...
    Rest end points :
    Get All students : localhost:8080/students
    Get student based on rollNo : localhost:8080/student/1
    Create Student : localhost : localhost:8080/student/add
    Update the student details : localhost:8080/student/update/2
    Delete student based on id : localhost:8080/student/delete/1
    This are the dependecies added in the pom.xml file :
    Spring data JPA
    Mysql connector
    devtools
    Spring web
    How to develop REST CRUD API using Spring Boot?
    What is the CRUD operation in spring REST?
    What are the CRUD methods in REST API?
    How to write simple REST API in Spring Boot?
    How do I create a CRUD app in spring boot?
    How to create API for CRUD operations?
    00:00:00 How to create spring boot project in STS
    00:07:41 How to create schema in MySQLWorkbench
    00:08:40 Create student Entity
    00:15:52 How to connect springboot application to MySQL database
    00:23:14 Create Student Controller
    00:25:28 How to create Student Repository
    00:30:18 Get all students rest end point
    00:34:20 Test Get request in postman
    00:35:56 what is @PathVariable annotation
    00:39:50 PostMapping to create new student
    00:46:16 @ResponseStatus annotation
    00:47:40 @PutMapping update student details
    00:53:35 @DeleteMapping delete student based on id
    #sjprogrammingsolutions #springboottutorial #springbootrestapi #studentmanagementsystem #postmanclient #crudoperations #springprojects #javaproject

Комментарии • 149

  • @hrithikpol8463
    @hrithikpol8463 5 месяцев назад +6

    Thank you ma'am for this amazing beginner friendly tutorial 👍

  • @harshkalita4108
    @harshkalita4108 4 месяца назад +2

    This is an amazing video for refreshing spring boot JPA concepts!!

  • @alea621
    @alea621 4 месяца назад

    Thank you for your help, sister! I finished my first CRUD with Spring Boot with your assistance. :)

  • @chinmaypawar8191
    @chinmaypawar8191 7 месяцев назад +2

    easy to understand

  • @nareshpatil2975
    @nareshpatil2975 21 день назад +1

    This is the best of best tutorial I found, you explained beautifully. Thank you,

  • @karthikalapati2266
    @karthikalapati2266 21 день назад +1

    You are fantastic. Your explanation style is excellent and your teaching style is simple.

  • @-Corvo_Attano
    @-Corvo_Attano 9 месяцев назад +2

    Your teaching is easily understandable mam❤ Thanks for sharing

  • @Platica.Vasile
    @Platica.Vasile 3 месяца назад +1

    Thank you, well explained and straight to the point!

  • @shailasheikh2893
    @shailasheikh2893 9 месяцев назад +2

    you are awsome your teaching is easy and way of explanation is too good..

  • @umasenthil1818
    @umasenthil1818 Месяц назад

    Wow. just amazing. what a talent you are? very thank you for sharing this video...thank you somuch

  • @deepikaradhakrishnan7107
    @deepikaradhakrishnan7107 11 дней назад +1

    excellent video mam.i am a beginner and it is very useful mam..as mentioned in the comment if possible connect with front end and show us a demo video mam

  • @Monish-sn8kv
    @Monish-sn8kv 24 дня назад +1

    Good Explanation

  • @mahesh4u
    @mahesh4u 5 месяцев назад

    i am very happy ma'am you are great your understanding techniques is too good

  • @dhinakarnarasimha4712
    @dhinakarnarasimha4712 4 месяца назад

    This video is so helpful and understandable , the institute sir made it complex ,so while searching other source got this video and made simple of learning . 💯

  • @likkilahari9642
    @likkilahari9642 4 месяца назад +2

    Thank you. Understandable explanation

  • @nityanand9194
    @nityanand9194 4 месяца назад +1

    Thank you so much mam for this valuable tutorial.... I heartly appreciate your effort to make this one and convert it hardest to very simple😊I have cleared each and every point of rest api from this tutorial...really your teaching technique is awesome....thanks again❤😊

  • @tusharkantaswain3987
    @tusharkantaswain3987 5 месяцев назад +1

    Nice mam i understood Rest apis clearly.

  • @Iamthor_07
    @Iamthor_07 5 месяцев назад +1

    Thank you Mam..... I Like Your Way of Teaching

  • @sajithinesh8907
    @sajithinesh8907 9 месяцев назад +1

    Thanks for this content very usefull and easy to understand step by step

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  9 месяцев назад

      Glad you liked it !

    • @JAVA_TECH160
      @JAVA_TECH160 7 месяцев назад

      ​@@SJProgrammingSolutionsspring boot MVC spring boot security spring data jpa and spring boot rest meda mini project emanna cheychu kada

  • @Achandra7
    @Achandra7 9 месяцев назад +5

    Most underrated tutorial found in RUclips

    • @rvsamy80
      @rvsamy80 8 месяцев назад

      Clearly explained as per the need of novice programmers,this level is important

  • @vijaybalaji3945
    @vijaybalaji3945 Месяц назад

    Best ever video for Spring CRUD operations. Thanks mam!👍

  • @262_tatedeshmukh_rutuja6
    @262_tatedeshmukh_rutuja6 4 месяца назад

    Really useful👍Thank you mam🤗

  • @Jagadeesh_Josh
    @Jagadeesh_Josh 2 месяца назад

    Nice video mam, excellent explanation

  • @tvenkatesh3996
    @tvenkatesh3996 2 месяца назад +1

    Nice explanation mam....extremely useful mam..

  • @swajitjadhav9082
    @swajitjadhav9082 5 месяцев назад +1

    Nicely understandable..

  • @meryemOuyouss2002
    @meryemOuyouss2002 2 месяца назад

    Thank you soo much ,wonderful video ❤❤

  • @user-cz7nl8tw6w
    @user-cz7nl8tw6w 9 месяцев назад +1

    amazing tutorial

  • @supriyapeneti2712
    @supriyapeneti2712 15 дней назад +1

    super mam ,easy understanding .

  • @sivajidragon3776
    @sivajidragon3776 Месяц назад +1

    Excellent performance

  • @mowli3885
    @mowli3885 3 месяца назад +1

    super video for a fresher

  • @mowli3885
    @mowli3885 3 месяца назад +1

    great work mam

  • @adanali3652
    @adanali3652 4 месяца назад

    Thank you. Very well explanation. Which software and microphone do you use for recording?

  • @androiddeveloperlpu301
    @androiddeveloperlpu301 3 месяца назад

    Excellent madam
    I have subscribe your channel.

  • @sabir7788
    @sabir7788 5 дней назад +1

    ❤❤

  • @juanparra1996
    @juanparra1996 4 месяца назад

    excellent video!

  • @brrarasaw
    @brrarasaw 3 месяца назад

    Best tutorial 👍🏻

  • @MouryaVeeramachaneni-lq8ev
    @MouryaVeeramachaneni-lq8ev 7 месяцев назад +1

    Superb mam and also explain the entity mapping also

  • @Day-real26
    @Day-real26 3 месяца назад

    banging the head for CRUD API's🥵, literally i faced many errors while API calling, but this video solves my all errors in just one shot😱. Thanks for the video☺

  • @mahesh4u
    @mahesh4u 5 месяцев назад +2

    i request to you please make the simple project video using spring boot

  • @PoojaPatil-fb7xr
    @PoojaPatil-fb7xr 5 месяцев назад

    Thank you ma'am ❤

  • @amitkotwal9787
    @amitkotwal9787 Месяц назад

    nice oneeee....

  • @rahulraj2620
    @rahulraj2620 4 месяца назад +1

    Ur video is superb mam...plzz connect to frontend in this project

  • @chumamkhuseli9316
    @chumamkhuseli9316 3 месяца назад

    Awesome video madam, thanks a lot really appreciate it, you've made lot of things simpler that I was struggling to understand. Just 1 question, how do I connect mySql with IntelliJ community?

  • @timeisnow4890
    @timeisnow4890 2 месяца назад

    Thank you ❤❤❤

  • @nokeshnaidu1562
    @nokeshnaidu1562 6 месяцев назад

    Mam when we delete a record ,id number also deleted then after getting student list ,it is not in order .

  • @deepakt1095
    @deepakt1095 4 месяца назад

    Thank you for clear explanation 🎉

  • @juvvalashiva3580
    @juvvalashiva3580 9 месяцев назад

    Mam if it is possible please make a vedio on restful API consumer application and provider application

  • @shubhamsinghkhichi4095
    @shubhamsinghkhichi4095 15 дней назад

    Why didn't you create service layer

  • @cmknvreddy3044
    @cmknvreddy3044 2 месяца назад +1

    hi mam spring boot and microservices concepts and project

  • @RahulKumar-oy1lh
    @RahulKumar-oy1lh 5 месяцев назад

    Which ide you are using in the video?

  • @sakshammishra2456
    @sakshammishra2456 4 месяца назад

    Which mysql version you are using?

  • @MuthusaravanaMugilan
    @MuthusaravanaMugilan Месяц назад

    Mam, Why did you hard coded a value in put mapping....can we pass via Postman?

  • @codetechknow
    @codetechknow 2 месяца назад

    i am getting empty student JSON [{},{}]values from the database

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi 2 месяца назад +1

    video in 38mint 14 sec r u using on local variable but in my project not came in suggestion how can transfer in local variable please give me suggestion

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  2 месяца назад

      Right click and there will be option " show context option " click on that then you will get assign local variable option

    • @AshuKumar-kw8bi
      @AshuKumar-kw8bi 2 месяца назад

      @@SJProgrammingSolutions please clear it how can came local variable option

  • @gahininathsuryavanshi3786
    @gahininathsuryavanshi3786 9 дней назад

    i phasing j.LocalContainerEntityManagerFactoryBean this error mam

  • @hiteshambre2785
    @hiteshambre2785 9 месяцев назад

    How to update row by entering data in response body itself rather than in controller method

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  9 месяцев назад

      You can use @RequestBody annotation and pass the Student object in request body itself with updated data. you can refer below code @PutMapping("/student/update")
      public Student updateStudent(@RequestBody Student student) {
      repo.save(student);
      return student;
      }

  • @vijaymandloi9024
    @vijaymandloi9024 5 месяцев назад

    Mam why you did not use service layer here?

  • @miriyalavenkateswarlu4558
    @miriyalavenkateswarlu4558 3 месяца назад

    How to retrive data using some string value instead of integer id?

    • @randhirkumar6262
      @randhirkumar6262 Месяц назад

      Suppose you want to get data based in name then you have to create a method like findByName() in repository. Now by using this method you can get the data easily by passing name..

  • @kousarjamadar7339
    @kousarjamadar7339 3 месяца назад

    I am getting WhitaLable error in browser and SErver port 8080 already in use from console
    give me solution

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  3 месяца назад

      may be your application is running on 8080 port already , so stop the application and rerun or in application.properties add different server port this way , server.port=8089

  • @Deepalishinde725
    @Deepalishinde725 2 месяца назад

    Driver class in application property not mentioned thats why project not run

  • @ankitrajkuahwaha905
    @ankitrajkuahwaha905 Месяц назад

    mam why we haven't use service layer in this project

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  Месяц назад

      just for the simplicity I had not added service layer but you can add a service layer as it's good programming practice. Thank you !

  • @venomspider1344
    @venomspider1344 3 дня назад

    how can we make update data records in post man like provide data while add the students
    and one more thing is update data can do any field like if one student name mistake we need to change or marks only need to change only give those information which we need to update can you teach how to achieve this

  • @sahilk6928
    @sahilk6928 4 месяца назад

    Hello why I got Exception during pool initialisation at 21:41 though my surname password of MySql is same

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  4 месяца назад +1

      What is the exception ?

    • @sahilk6928
      @sahilk6928 4 месяца назад

      @@SJProgrammingSolutions Exception during pool initialisation

    • @sabeerrahman9965
      @sabeerrahman9965 3 месяца назад

      @@sahilk6928 in application properties spring.datasource.name to spring.datasource.username

  • @arifshakeel7436
    @arifshakeel7436 24 дня назад

    ma'am plz clear update mapping

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi 2 месяца назад +1

    how can go jparepository inside explain please

  • @svltejaswi
    @svltejaswi Месяц назад

    How to provide update details in the body?/

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi 2 месяца назад

    My table is droped how can solve this problem

  • @gahininathsuryavanshi3786
    @gahininathsuryavanshi3786 12 дней назад

    hlo mam can you send extracted folder of sts tool pls mam it help me lot's

  • @abhishekrathour1695
    @abhishekrathour1695 4 месяца назад

    how to add frontend

  • @phantomgaming5541
    @phantomgaming5541 12 дней назад

    mam hibernate error is coming give me soloution tommorow is my exam

  • @rkff6173
    @rkff6173 3 месяца назад

    Where is service class and why some developers using service class for this same program

    • @SJProgrammingSolutions
      @SJProgrammingSolutions  3 месяца назад

      Service layer was not created for this project but you can create it

  • @prathamstill9422
    @prathamstill9422 2 месяца назад

    Im getting error mam...🥲

  • @rusithmaneesha1449
    @rusithmaneesha1449 2 месяца назад

    fk

  • @bishnubhusal5999
    @bishnubhusal5999 2 месяца назад

    Update operation is very bad and not applicable.

  • @chaitalipatil5592
    @chaitalipatil5592 Месяц назад +1

    I got error is cannot invoke org.hibernate. engine.jdbc.spi.sqlException