Golang implementation for super simple quiz.
- Language: Golang
- Database: Just in-memory
- Communication protocol: gRPC
- Client: CLI using promptui
Protobuf (for development only):
$ brew install protobuf
protoc-gen libraries (for development only):
$ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
Clone repository:
$ git clone git@github.com:gersakbogdan/fasttrackquiz.git
Docker Compose is used to make the testing as smooth as possible.
// build and run quiz server inside docker container
$ make build
// run quiz client
$ make run
// create executable
$ go install ./cmd/quizer
// run server & client
$ quizer server
$ quizer client
- Document code using GoDoc standards (https://blog.golang.org/godoc-documenting-go-code)
- Add unit & integration tests
- Create Rest API client (integrate grpc-gateway)
- Service monitoring