The world of websites gave way to the world of web services, and this eventually spawned the world of microservices, which are small reactive applications, with a REST API, that respond to HTTP commands using JSON or some other serialization language. Since the introduction of the Cro microframework, most needs related to microservices are covered. In this chapter, we will see how to use this microframework in several, different, ways.
Recipe 11-1. Create a Microservice
Problem
You need to create a microservice that acts as an API to a service you are offering.
Solution
Create a layer over your business logic ...