src/data/projects/service-discovery.md
The goal of this project is to help you understand how service discovery works and how to setup Consul to manage your services. The learning objectives are:
The project has multiple parts:
You are required to create 3 dummy services, each service will just have a dummy endpoint (e.g. /info) that returns the current timestamp and the service name (e.g. Service A, Service B and Service C). Services should register themselves with Consul on startup.
API gateway acts as a single point of entry for the application. It will be responsible for discovering the services using Consul's DNS interface or the API. The API gateway should be able to route requests to the appropriate service.
Consul will be used to store the service information and to provide a single point of contact for the API gateway to discover the services.
<hr />Once you have completed the project, you should have a basic understanding of how service discovery works and how to setup Consul to manage your services.