Getting Started with Feign Client in #spring
▻https://hackernoon.com/getting-started-with-feign-client-in-spring-9ab33d0be152?source=rss----3
In this tutorial, we will take a look at the FeignClient and how to use it in a Spring Boot application.FeignClient is a library for creating REST #api clients in a declarative way. So, instead of manually coding clients for remote API and maybe using Springs RestTemplate we declare a client definition and the rest is generated during runtime for use.The ApplicationWe will build a small command line app, which simulates a full test for our previously created Kanban API. The sample app will create a new user, logs in, retrieves all boards and unregisters the user again. It captures the most common use case (POST, GET, DELETE + AuthN)Pre-requisitesIn this tutorial, we are going to use our Kanban API tutorial project. The RESTful API is showcased on Kanban backend, and we will use the (...)