To allow services to check whether their dependencies have the correct version, we will make services to expose their version through a RESTful endpoint.
We will follow the example in the Thoughts Backend available in GitHub at this URL: https://github.com/PacktPublishing/Hands-On-Docker-for-Microservices-with-Python/tree/master/Chapter11/microservices/thoughts_backend.
Check the version is available in the Frontend (https://github.com/PacktPublishing/Hands-On-Docker-for-Microservices-with-Python/tree/master/Chapter11/microservices/frontend).
The first step in the process is to properly define the version for each service.