The message api is an API service used behind the Micro API gateway.
-
Install Consul
Consul is the default registry/discovery for go-micro apps. It's however pluggable. https://www.consul.io/intro/getting-started/install.html
-
Run Consul
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
-
Download and start the service
go get github.com/micro/message-api message-api
OR as a docker container
docker run microhq/message-api --registry_address=YOUR_REGISTRY_ADDRESS