filmov
tv
Creating Java REST API with Spring Boot , Spring Data JPA and MySQL | REST API CRUD Operations
![preview_player](https://i.ytimg.com/vi/RfHBm5yRxuw/maxresdefault.jpg)
Показать описание
Connecting Spring Boot Application with Database can be daunting for Java developers.
Hence, let us learn how to build and connect Java REST API with Spring Boot , Spring Data JPA and MySQL, extremely helpful for backend java developers. In this session, CRUD will be implemented and data will be stored in MySQL database. Data will also be updated, fetched and deleted from mysql.
Some key Spring Boot and Spring JPA annotations -
@SpringBootApplication , @RestController , @RequestBody , @RequestMapping , @GetMapping , @PostMapping , @PutMapping , @DeleteMapping , @Entity , @Table, @Id , @Service, @Override
Spring Boot REST API project with data persistence in the MySQL for Cloud Vendor Information Service with all 4 CRUD operations are developed in this session.
Spring data JPA and Spring Boot methods save() , findById(), findAll(), deleteById() are used.
CRUD operations will be implemented in this session with saving, fetching/ querying and deleting data from MySQL database.
Spring Boot is widely used for developing Microservices.
GitHub repository link for the Cloud Vendor Service Code is -
Session for Controller Layer operations - Create, Read, Update and Delete - All 4 REST API CRUD operations are implemented in below session. Kindly refer below link -
Java Spring Boot with MySQL using Spring Data JPA Tutorial with custom method is mentioned below -
Kindly subscribe to the channel for getting regular updates of the new sessions on Software / Computer Application topics by clicking below link -
Follow me on -
Some Good Books -
Disclosure, I use affiliate Amazon links above. Purchasing through these links gives me a small commission to support videos on this channel -- the price to you is the same.
Chapters
00:00:00 Welcome Note
00:01:07 Recap - Spring Boot, Spring Data JPA and MySQL
00:03:23 Cloud Vendor Scenario , REST API and Client Explanation
00:04:34 Spring Boot REST API Project Structure Explanation
00:08:42 Create Spring Boot Project using Spring Initializer with all Dependencies
00:18:07 MySQL Workbench Schema Verification
00:19:31 Maven Dependency refresh
00:19:53 Add @Entitiy , @Table and @Id Annotations to Model Class
00:22:32 Controller Layer Explanation
00:24:37 Create Repository with JpaRepository
00:27:22 Create Service Interface for CRUD and GetAll
00:31:52 Service Implementation @Service - CRUD and GetAll methods Implementation
00:41:21 Implement Controller CRUD and GetAll methods
00:49:33 Starting Spring Boot Application
00:50:22 Detailed testing Create , Read , Update , Delete ( CRUD ) and ReadAll using Postman and MySQL Workbench
01:00:09 Summary
01:02:57 Thank You Note
#springboot #restapi #java #thinkconstructive #eshapuri
Queries
how to build spring boot application
how to implement rest api using spring boot
how to implement java rest api using spring boot
how to implement crud operations using rest api and spring boot
how to implement crud operations using java rest api and spring boot
how to connect mysql with spring boot
how to connect mysql with spring boot and spring data jpa
how to store data in mysql using spring boot rest api
how to test rest api with postman
how to test crud rest api
how to use spring initializer
what is spring boot
what is rest api
what is postman
what is mysql workbench
how to fetch data from mysql and spring boot
what is spring boot rest api project architecture
how to arrange spring boot rest api code
what is controller layer
what is service layer
what is repository layer
how to write getall rest api with spring boot
how to write get rest api with spring boot
how to write delete rest api with spring boot
how to write create rest api with spring boot
how to write update rest api with spring boot
Hence, let us learn how to build and connect Java REST API with Spring Boot , Spring Data JPA and MySQL, extremely helpful for backend java developers. In this session, CRUD will be implemented and data will be stored in MySQL database. Data will also be updated, fetched and deleted from mysql.
Some key Spring Boot and Spring JPA annotations -
@SpringBootApplication , @RestController , @RequestBody , @RequestMapping , @GetMapping , @PostMapping , @PutMapping , @DeleteMapping , @Entity , @Table, @Id , @Service, @Override
Spring Boot REST API project with data persistence in the MySQL for Cloud Vendor Information Service with all 4 CRUD operations are developed in this session.
Spring data JPA and Spring Boot methods save() , findById(), findAll(), deleteById() are used.
CRUD operations will be implemented in this session with saving, fetching/ querying and deleting data from MySQL database.
Spring Boot is widely used for developing Microservices.
GitHub repository link for the Cloud Vendor Service Code is -
Session for Controller Layer operations - Create, Read, Update and Delete - All 4 REST API CRUD operations are implemented in below session. Kindly refer below link -
Java Spring Boot with MySQL using Spring Data JPA Tutorial with custom method is mentioned below -
Kindly subscribe to the channel for getting regular updates of the new sessions on Software / Computer Application topics by clicking below link -
Follow me on -
Some Good Books -
Disclosure, I use affiliate Amazon links above. Purchasing through these links gives me a small commission to support videos on this channel -- the price to you is the same.
Chapters
00:00:00 Welcome Note
00:01:07 Recap - Spring Boot, Spring Data JPA and MySQL
00:03:23 Cloud Vendor Scenario , REST API and Client Explanation
00:04:34 Spring Boot REST API Project Structure Explanation
00:08:42 Create Spring Boot Project using Spring Initializer with all Dependencies
00:18:07 MySQL Workbench Schema Verification
00:19:31 Maven Dependency refresh
00:19:53 Add @Entitiy , @Table and @Id Annotations to Model Class
00:22:32 Controller Layer Explanation
00:24:37 Create Repository with JpaRepository
00:27:22 Create Service Interface for CRUD and GetAll
00:31:52 Service Implementation @Service - CRUD and GetAll methods Implementation
00:41:21 Implement Controller CRUD and GetAll methods
00:49:33 Starting Spring Boot Application
00:50:22 Detailed testing Create , Read , Update , Delete ( CRUD ) and ReadAll using Postman and MySQL Workbench
01:00:09 Summary
01:02:57 Thank You Note
#springboot #restapi #java #thinkconstructive #eshapuri
Queries
how to build spring boot application
how to implement rest api using spring boot
how to implement java rest api using spring boot
how to implement crud operations using rest api and spring boot
how to implement crud operations using java rest api and spring boot
how to connect mysql with spring boot
how to connect mysql with spring boot and spring data jpa
how to store data in mysql using spring boot rest api
how to test rest api with postman
how to test crud rest api
how to use spring initializer
what is spring boot
what is rest api
what is postman
what is mysql workbench
how to fetch data from mysql and spring boot
what is spring boot rest api project architecture
how to arrange spring boot rest api code
what is controller layer
what is service layer
what is repository layer
how to write getall rest api with spring boot
how to write get rest api with spring boot
how to write delete rest api with spring boot
how to write create rest api with spring boot
how to write update rest api with spring boot
Комментарии