Connect a Spring web server with a MySQL Database - Tutorial

Aneesh Mistry
Aneesh Mistry
5.2 هزار بار بازدید - 3 سال پیش - This video will look at
This video will look at how we can connect our Spring Boot Application with a MySQL Database.
We will use the Spring data-jpa package to leverage a connection and to provide out-of-the-box
methods and functionality to our controller.
At the end of this video, we will have created 2 REST endpoints that obtain data from our MySQL database, and present them to the user as a JSON response.

Link to source code: https://github.com/4neesh/YouTube-Cha...

🕒 Timestamps 🕒

00:00 - Introduction
00:24 - Create a model class
01:49 - Connect MySQL with Spring Boot
03:04 - Create an Entity Class
06:28 - Configuring Spring with MySQL
08:11 - Spring data JPA
09:37 - Create a Controller class
Please like, subscribe and leave a comment to let me know what you think!

Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk

Icon made by FreePik from www.flaticon.com
3 سال پیش در تاریخ 1400/11/21 منتشر شده است.
5,251 بـار بازدید شده
... بیشتر