filmov
tv
Spring Boot RESTful CRUD API Tutorial with MySQL database

Показать описание
00In this Spring Boot tutorial, you will learn how to develop RESTful web services APIs for CRUD operations on a MySQL database. The CRUD operations include Create, Retrieve, Update and Delete.
By completing this tutorial, you will be able to build a Spring Boot-based web application that exposes RESTful CRUD APIs to clients. The following technologies will be used:
- Spring Boot: greatly simplifies Java enterprise application and RESTful APIs development by providing default configuration and best practices.
- Spring Data JPA: simplifies programming for the data access layer by implementing most common persistence operations following best practices.
- Hibernate: is the default Object/Relational Mapping framework integrated with Spring Data JPA.
To follow this tutorial, you must have the following software programs installed on your computer:
- Java Development Kit (JDK 1.8 or newer)
- MySQL Database server (including MySQL Workbench and MySQL Command Line Client to manage database)
- A Java IDE (Eclipse IDE, NetBeans or IntelliJ IDEA)
- curl (to test RESTful APIs)
#springboot #springmvc #restapis #webservices #springframework #javaprogramming #springtutorial
Timestamps
00:00:38 Overview
00:02:34 Steps
00:03:47 Class Diagram
00:06:06 Create MySQL Database
00:08:14 Create Maven Project
00:14:35 Configure Data Source Properties
00:16:45 Code Domain Model Class
00:20:44 Code Repository Interface
00:22:37 Code Service Class
00:27:50 Code REST Controller Class
00:30:00 Implement List API
00:35:18 Implement Get API
00:43:07 Implement Create API
00:48:08 Implement Update API
00:56:00 Implement Delete API
By completing this tutorial, you will be able to build a Spring Boot-based web application that exposes RESTful CRUD APIs to clients. The following technologies will be used:
- Spring Boot: greatly simplifies Java enterprise application and RESTful APIs development by providing default configuration and best practices.
- Spring Data JPA: simplifies programming for the data access layer by implementing most common persistence operations following best practices.
- Hibernate: is the default Object/Relational Mapping framework integrated with Spring Data JPA.
To follow this tutorial, you must have the following software programs installed on your computer:
- Java Development Kit (JDK 1.8 or newer)
- MySQL Database server (including MySQL Workbench and MySQL Command Line Client to manage database)
- A Java IDE (Eclipse IDE, NetBeans or IntelliJ IDEA)
- curl (to test RESTful APIs)
#springboot #springmvc #restapis #webservices #springframework #javaprogramming #springtutorial
Timestamps
00:00:38 Overview
00:02:34 Steps
00:03:47 Class Diagram
00:06:06 Create MySQL Database
00:08:14 Create Maven Project
00:14:35 Configure Data Source Properties
00:16:45 Code Domain Model Class
00:20:44 Code Repository Interface
00:22:37 Code Service Class
00:27:50 Code REST Controller Class
00:30:00 Implement List API
00:35:18 Implement Get API
00:43:07 Implement Create API
00:48:08 Implement Update API
00:56:00 Implement Delete API
Комментарии