This project gives you an idea of how to integrate 3rd pay API in spring boot by using the RestTemplate. It also gives you high level overview of how to call thymeleaf template and show the data.
This project uses the API of above spring boot project which is loading dummy data from reqres.in and show the details in user module in cards model.