API -service
This is a demo service which is used in the presentation and setup of Kubernetes - Happily in production.
Development
Get dependencies
go get -u google.golang.org/grpc
go get -u github.com/op/go-logging
go get -u github.com/gorilla/mux
Building
./build.sh
Building and Deploying to the GCP Project
export PROJECT_ID=[YOUR_GCP_PROJECT_ID]
./cloud-build.sh
Running
Run the payments-service in another terminal.
./api-service
Do a GET request to http://localhost:8080/payments/status