Files
zeekay c01e5afcae refactor: own the module path (github.com/hanzoai/grpc-web)
Per the standing fork rule, a hanzoai fork declares its OWN module path and
is required directly -- never resolved via a `replace` against the upstream
path. Keeping the upstream path meant every consumer's import line carried
the upstream brand.

  module github.com/traefik/grpc-web -> module github.com/hanzoai/grpc-web

All occurrences were import paths (package self-imports plus the test
servers and the react example server). go/grpcweb -- the package Hanzo
Ingress links -- is green.
2026-07-25 12:27:26 -07:00
..
2021-02-01 13:31:52 +00:00
2021-11-04 13:48:43 +00:00

gRPC-Web-Example: A simple Golang API server and TypeScript frontend

Get started (with HTTP 1.1)

  • npm install
  • npm start to start the Golang server and Webpack dev server
  • Go to http://localhost:8081

Using HTTP2

HTTP2 requires TLS. This repository contains certificates in the ../misc directory which are used by the server. You can optionally generate your own replacements using the gen_cert.sh in the same directory. You will need to import the ../misc/localhostCA.pem certificate authority into your browser, checking the "Trust this CA to identify websites" so that your browser trusts the localhost server.

  • npm run start:tls to start the Golang server and Webpack dev server with the certificates in misc
  • Go to https://localhost:8082