Тёмный

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

Подписаться
Просмотров 50 тыс.
% 1 109

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/spring-boot-tutorials/tree/master/SpringBootRestAPIProject
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

Опубликовано:

 

10 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 149   
@hrithikpol8463
@hrithikpol8463 5 месяцев назад
Thank you ma'am for this amazing beginner friendly tutorial 👍
@harshkalita4108
@harshkalita4108 4 месяца назад
This is an amazing video for refreshing spring boot JPA concepts!!
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@alea621
@alea621 4 месяца назад
Thank you for your help, sister! I finished my first CRUD with Spring Boot with your assistance. :)
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Great job! Keep Exploring more !
@chinmaypawar8191
@chinmaypawar8191 7 месяцев назад
easy to understand
@-Corvo_Attano
@-Corvo_Attano 9 месяцев назад
Your teaching is easily understandable mam❤ Thanks for sharing
@SJProgrammingSolutions
@SJProgrammingSolutions 9 месяцев назад
Thank you !
@Platica.Vasile
@Platica.Vasile 3 месяца назад
Thank you, well explained and straight to the point!
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@shailasheikh2893
@shailasheikh2893 9 месяцев назад
you are awsome your teaching is easy and way of explanation is too good..
@SJProgrammingSolutions
@SJProgrammingSolutions 9 месяцев назад
Glad to hear that !
@nareshpatil2975
@nareshpatil2975 22 дня назад
This is the best of best tutorial I found, you explained beautifully. Thank you,
@SJProgrammingSolutions
@SJProgrammingSolutions 21 день назад
Glad it was helpful!
@Monish-sn8kv
@Monish-sn8kv 25 дней назад
Good Explanation
@likkilahari9642
@likkilahari9642 4 месяца назад
Thank you. Understandable explanation
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
You are welcome!
@umasenthil1818
@umasenthil1818 Месяц назад
Wow. just amazing. what a talent you are? very thank you for sharing this video...thank you somuch
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
Thank you ! Keep watching
@Iamthor_07
@Iamthor_07 5 месяцев назад
Thank you Mam..... I Like Your Way of Teaching
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
It's my pleasure ! Keep Watching
@sabir7788
@sabir7788 5 дней назад
❤❤
@nityanand9194
@nityanand9194 4 месяца назад
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❤😊
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Thanks you !
@karthikalapati2266
@karthikalapati2266 22 дня назад
You are fantastic. Your explanation style is excellent and your teaching style is simple.
@SJProgrammingSolutions
@SJProgrammingSolutions 21 день назад
Many thanks!
@tusharkantaswain3987
@tusharkantaswain3987 5 месяцев назад
Nice mam i understood Rest apis clearly.
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
Thank you !
@vijaybalaji3945
@vijaybalaji3945 Месяц назад
Best ever video for Spring CRUD operations. Thanks mam!👍
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
Glad it was helpful !
@pkmkb-69
@pkmkb-69 Месяц назад
Sir is this fully responsive??
@vijaybalaji3945
@vijaybalaji3945 Месяц назад
@@pkmkb-69 Yes 👍
@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 . 💯
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Thank you !
@mahesh4u
@mahesh4u 5 месяцев назад
i am very happy ma'am you are great your understanding techniques is too good
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
Glad to hear that !
@sajithinesh8907
@sajithinesh8907 9 месяцев назад
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 месяцев назад
Most underrated tutorial found in RU-vid
@rvsamy80
@rvsamy80 8 месяцев назад
Clearly explained as per the need of novice programmers,this level is important
@262_tatedeshmukh_rutuja6
@262_tatedeshmukh_rutuja6 4 месяца назад
Really useful👍Thank you mam🤗
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Welcome , Keep Watching 😊
@meryemOuyouss2002
@meryemOuyouss2002 2 месяца назад
Thank you soo much ,wonderful video ❤❤
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
Glad you liked it!
@adanali3652
@adanali3652 4 месяца назад
Thank you. Very well explanation. Which software and microphone do you use for recording?
@swajitjadhav9082
@swajitjadhav9082 5 месяцев назад
Nicely understandable..
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
Glad to hear that ! Thank you !
@tvenkatesh3996
@tvenkatesh3996 2 месяца назад
Nice explanation mam....extremely useful mam..
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
Thank you !
@Jagadeesh_Josh
@Jagadeesh_Josh 2 месяца назад
Nice video mam, excellent explanation
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
Thanks a lot !
@supriyapeneti2712
@supriyapeneti2712 16 дней назад
super mam ,easy understanding .
@SJProgrammingSolutions
@SJProgrammingSolutions 15 дней назад
Thank you !
@user-cz7nl8tw6w
@user-cz7nl8tw6w 9 месяцев назад
amazing tutorial
@SJProgrammingSolutions
@SJProgrammingSolutions 9 месяцев назад
Thank you !
@sivajidragon3776
@sivajidragon3776 Месяц назад
Excellent performance
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
Thank you !
@mowli3885
@mowli3885 3 месяца назад
super video for a fresher
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@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☺
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@mowli3885
@mowli3885 3 месяца назад
great work mam
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
It's my pleasure !
@deepikaradhakrishnan7107
@deepikaradhakrishnan7107 11 дней назад
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
@SJProgrammingSolutions
@SJProgrammingSolutions 10 дней назад
Thank you !
@mahesh4u
@mahesh4u 5 месяцев назад
i request to you please make the simple project video using spring boot
@androiddeveloperlpu301
@androiddeveloperlpu301 3 месяца назад
Excellent madam I have subscribe your channel.
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@brrarasaw
@brrarasaw 3 месяца назад
Best tutorial 👍🏻
@SJProgrammingSolutions
@SJProgrammingSolutions 3 месяца назад
Thank you !
@juanparra1996
@juanparra1996 4 месяца назад
excellent video!
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Thank you very much!
@MouryaVeeramachaneni-lq8ev
@MouryaVeeramachaneni-lq8ev 7 месяцев назад
Superb mam and also explain the entity mapping also
@SJProgrammingSolutions
@SJProgrammingSolutions 7 месяцев назад
Sure I will do
@nokeshnaidu1562
@nokeshnaidu1562 6 месяцев назад
Mam when we delete a record ,id number also deleted then after getting student list ,it is not in order .
@amitkotwal9787
@amitkotwal9787 Месяц назад
nice oneeee....
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
Thank you !
@PoojaPatil-fb7xr
@PoojaPatil-fb7xr 5 месяцев назад
Thank you ma'am ❤
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
Most welcome 😊 Keep Watching !
@rahulraj2620
@rahulraj2620 4 месяца назад
Ur video is superb mam...plzz connect to frontend in this project
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Sure I will
@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?
@gahininathsuryavanshi3786
@gahininathsuryavanshi3786 9 дней назад
i phasing j.LocalContainerEntityManagerFactoryBean this error mam
@timeisnow4890
@timeisnow4890 2 месяца назад
Thank you ❤❤❤
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
Keep watching!
@deepakt1095
@deepakt1095 4 месяца назад
Thank you for clear explanation 🎉
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
Thank you !
@codetechknow
@codetechknow 2 месяца назад
i am getting empty student JSON [{},{}]values from the database
@shubhamsinghkhichi4095
@shubhamsinghkhichi4095 16 дней назад
Why didn't you create service layer
@cmknvreddy3044
@cmknvreddy3044 2 месяца назад
hi mam spring boot and microservices concepts and project
@juvvalashiva3580
@juvvalashiva3580 9 месяцев назад
Mam if it is possible please make a vedio on restful API consumer application and provider application
@SJProgrammingSolutions
@SJProgrammingSolutions 9 месяцев назад
Sure, Thank you !
@Deepalishinde725
@Deepalishinde725 2 месяца назад
Driver class in application property not mentioned thats why project not run
@RahulKumar-oy1lh
@RahulKumar-oy1lh 5 месяцев назад
Which ide you are using in the video?
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
STS
@MuthusaravanaMugilan
@MuthusaravanaMugilan Месяц назад
Mam, Why did you hard coded a value in put mapping....can we pass via Postman?
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
yes we can pass in postman also
@arifshakeel7436
@arifshakeel7436 24 дня назад
ma'am plz clear update mapping
@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
@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; }
@sakshammishra2456
@sakshammishra2456 4 месяца назад
Which mysql version you are using?
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
MySql 8.0
@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..
@venomspider1344
@venomspider1344 4 дня назад
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
@SJProgrammingSolutions
@SJProgrammingSolutions День назад
Sure , will make video to explaine this
@AshuKumar-kw8bi
@AshuKumar-kw8bi 2 месяца назад
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
@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 месяца назад
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
@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 !
@vijaymandloi9024
@vijaymandloi9024 5 месяцев назад
Mam why you did not use service layer here?
@SJProgrammingSolutions
@SJProgrammingSolutions 5 месяцев назад
We can add service layer , Thank you !
@AshuKumar-kw8bi
@AshuKumar-kw8bi 2 месяца назад
how can go jparepository inside explain please
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
will create one video to ecplaine this flow internally
@svltejaswi
@svltejaswi 2 месяца назад
How to provide update details in the body?/
@SJProgrammingSolutions
@SJProgrammingSolutions Месяц назад
yusing @RequestBody Annotation you can pass the details in body
@gahininathsuryavanshi3786
@gahininathsuryavanshi3786 13 дней назад
hlo mam can you send extracted folder of sts tool pls mam it help me lot's
@SJProgrammingSolutions
@SJProgrammingSolutions 13 дней назад
You directly download from internet
@AshuKumar-kw8bi
@AshuKumar-kw8bi 2 месяца назад
My table is droped how can solve this problem
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
Make spring.jpa.hibernate.ddl-auto=update then table will not drop
@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
@phantomgaming5541
@phantomgaming5541 13 дней назад
mam hibernate error is coming give me soloution tommorow is my exam
@SJProgrammingSolutions
@SJProgrammingSolutions 13 дней назад
What is the error can you share on sjprogrammingsolutions@gmail.com
@abhishekrathour1695
@abhishekrathour1695 4 месяца назад
how to add frontend
@SJProgrammingSolutions
@SJProgrammingSolutions 4 месяца назад
You can use React or Angular
@prathamstill9422
@prathamstill9422 2 месяца назад
Im getting error mam...🥲
@SJProgrammingSolutions
@SJProgrammingSolutions 2 месяца назад
What is the error ?
@rusithmaneesha1449
@rusithmaneesha1449 2 месяца назад
fk
@bishnubhusal5999
@bishnubhusal5999 2 месяца назад
Update operation is very bad and not applicable.
@chaitalipatil5592
@chaitalipatil5592 Месяц назад
I got error is cannot invoke org.hibernate. engine.jdbc.spi.sqlException
@SJProgrammingSolutions
@SJProgrammingSolutions 27 дней назад
Can you share the more details about the error on sjprogrammingsolutions@gmail.com
@gahininathsuryavanshi3786
@gahininathsuryavanshi3786 10 дней назад
solved y problm
@jayeshkhairnar2008
@jayeshkhairnar2008 4 дня назад
I gót same error
@jayeshkhairnar2008
@jayeshkhairnar2008 4 дня назад
@@gahininathsuryavanshi3786how is it solved?
@jayeshkhairnar2008
@jayeshkhairnar2008 4 дня назад
How is it solved?