How to develop REST CRUD API using Spring Boot ? java Spring Boot Spring Boot REST by devs5003 - November 21, 2023August 6, 202415 It will not be an overstatement if I say that we can't develop an enterprise application without using webservices as an integration layer. Generally, we develop webservices in the form of either a producer or a consumer or both. However Producer is very important for us because we develop it in Java only. Also, we have full control of database interaction logic implementation with us. Now you might have interpreted the significance of our article 'How to develop REST CRUD API using Spring Boot?'. On the other hand, Consumer can be an Angular Application, ReactJS Application, Android Device, iOS Device and many others or even our favorite java based RestTemplate (Spring Boot REST Client). Building a RESTful CRUD (Create, Read, Update,
How to reduce boilerplate code in REST API Spring Data REST java Spring Spring Boot Spring Boot REST Spring Data REST by devs5003 - October 20, 2023July 23, 20245 In previous article on REST API Development, we have already seen that how we can develop a REST API with minimum lines of code. Still, we have more scope to reduce lines of code using a concept called 'Spring Data REST' in Spring Boot. So, our title of the article is 'How to reduce boilerplate code in REST API Spring Data REST'. In Spring Data REST concept we don't have to write even RestController and its methods. The Spring Data REST dependency will take care of it using HATEOAS (Hypertext as the Engine of Application State). HATEOAS project is a library of APIs that we can use to easily create REST representations. Spring Data REST provides hyperlinks to access REST operations