Spring Data REST

Learn how to create a REST API with full CRUD functionality without writing any controller or service layer code using Spring Data REST.

Spring Data REST is a project similar to Spring Data JPA which aims to eliminate boilerplate code. With Spring Data JPA, we get the basic CRUD functionality without writing any code simply by specifying the entity and the type of primary key. Similarly, Spring Data REST provides a REST API based on the repository and entity without us having to write any code in the controller and service layer.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.