gRPC WebApp Example

30.06.2022 15:43

Notes for developing a gRPC based web application, for fun and learning.

Use connect-go for server/client transport.

  • supports gRPC, JSON REST and Connect
  • no need for JSON REST translation proxy

Use connect-grpcreflect-go for reflection.

Use OAuth2 with GitHub provider to start. Use React frontend.

Use GitHub actions for linting, building and publishing packages.

  • golangci-lint
  • go build/test
  • go sematic release
  • GH packages release ( docker image to ghcr.io )

Deploy to AWS or Azure, scripts to use CLI to provision resources.

Functionality Considerations

  1. Auth via OAuth2 login.
  2. User generated public and private lists.
  3. Share option for lists w/ shortcode/QR code generation.
  4. Tracing and Metrics emitted via OpenTelemetry.
Tags: Go gRPC server programming

<< Back Top ^^