Skip to content

izaaklauer/jpotato

Repository files navigation

jpotato

izaak's great potato serving microservice

First clone

Run make start to download go modules and regenerate protobufs.

Local testing

Start your server with make serve

$ make serve

go run cmd/jpotato-api/main.go config/config_local.hcl
starting jpotato.......
2022/12/02 20:58:46 Serving on "localhost:8080"

Then send a request via grpcurl:

$ grpcurl -plaintext -d '{"message": "hello from local development"}' localhost:8080 jpotato.v1.JpotatoService/HelloWorld

{
  "configMessage": "hello from jpotato",
  "requestMessage": "hello from local development",
  "now": "2022-12-03T02:01:19.505743Z"
}

About

izaak's great potato serving microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published