github.com/Rakanixu/flag/srv/proto/flag

Flag micro service based on micro microservices toolkit platform https://github.com/micro


License
Apache-2.0
Install
go get github.com/Rakanixu/flag/srv/proto/flag

Documentation

Flag License Go Report Card

Flag service with fqdn go.micro.srv.flag Flag API with fqdn go.micro.api.flag

Data is stored in Elasticsearch.

Getting Started

Prerequisites

Get Micro Micro

go get github.com/micro

This microservice needs elatiscsearch service up and running.

go get github.com/Rakanixu/elasticsearch
make
docker-compose -f docker-compose-build.yml up

Now we've got Consul, Elasticsearch (DB), micro api, micro web, elasticsearch-srv and elasticsearch-api up and running.

Run Service manually

$ go run srv/main.go

Run API manually

$ go run api/main.go

Run docker containers

Compile Go binaries and build docker image.

make 

Run docker container:

docker-compose -f docker-compose-build.yml up

Usage

API

Microservice