Retrofit is a Java library created for the sole purpose of calling REST API easily. As will be shown below, we are basically going to need only some POJO representation of the expected API result, interface to define it, and object repsonsible for using Retrofit.
In this article, you will see, how to use that knowledge to convert class component, which gets data from JSONPlaceholder into functional component based on hooks. Then you will learn, how to separate logic from component into a custom hook!
Dependency mechanism is a core feature of Maven and is very powerful and flexible. And because of Transitive Dependencies included in version 2.0 dependency management becomes easier. But still, when we are talking about managing dependencies, things can be done in two ways: easy/fast one and the right one. In this tutorial I will try to show you the second one.
In the previous article, we've created a Fuel Consumption Api which uses dictionary as a database. The biggest disadvantage of this solution is lack of data persistence. To make our application more useful we'll use SQL database instead of Python dictionary. To achieve this the perfect choice is SQLAlchemy - Python SQL Toolkit and Object Relation Mapper.
How to design a good API is a question that comes from many teams that try to create perfect REST API. This article shows briefly some of good rules to remember and advice that help to avoid future problems doing things right from very beginning.
Tailor is a layout service created by the Zalando team as a part of Project Mosaic which provides a set of libraries that allow frontend developers to decompose monolith applications in the way backend developers split systems into microservices. The libraries also define components interaction and support website scalability.