Setup service discovery with dummy services and Consul
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.
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.
Actively Maintained
We are always improving our content, adding new resources and adding features to enhance your learning experience.
Join the Community
roadmap.sh is the 7th most starred project on GitHub and is visited by hundreds of thousands of developers every month.
Roadmaps Best Practices Guides Videos FAQs YouTube
roadmap.sh by @kamrify @kamrify
Community created roadmaps, best practices, projects, articles, resources and journeys to help you choose your path and grow in your career.
Login to your account
You must be logged in to perform this action.