The client implementation for the same can be found here.
The libraries and technologies used here are-
- Spring Boot Framework.
- Maven.
- Used RestTemplate for the RestFul requests.
- Lombok annotations to simplify the code.
- JPA repositories for the data management.
- Builder Pattern for the microservice implementation.
- Added Bean Validations and wsed a global exception handler for controllers using ControllerAdvice.
- Used MapStruct for mapping the persistence layer (Book) with the DTO (BookDTO).
- Used Jackson library to create JSON objects.