Create your own REST API using Spring Data JPA, Lombok, and MySQL | Step-by-step Tutorial

preview_player
Показать описание
In this tutorial, you will learn how to create your own REST API using Spring Data JPA, Lombok, and MySQL. We will use Spring Initializr to set up our project and then walk through each step of building our API. You will learn how to set up the database connection, create the entity and repository classes, and use Lombok annotations to reduce boilerplate code. We will also cover how to handle HTTP requests using Spring Web and implement CRUD operations on our API. By the end of this tutorial, you will have a fully functional REST API that you can use as a starting point for your own projects. So, let's get started and create our own REST API with Spring!

@saifi09sameer
Рекомендации по теме
Комментарии
Автор

Good job Sameer, really good effort for beginner, need some improvement:
1. What all classes are getting scanned, it is not full Src folder, it is only the folder and it’s subfolder in which u are defining &springBootApplocation

2. Rest URL format is not in recommended format
3. You are using filter in slightly wrong way, it has to be as query parameter not as pathVariable

MohammadSalman
join shbcf.ru