gRPC-Go-Web-TODO

Interactive TODO App powered by the gRPC-WEB server stream.

    +----------Browser----------+                 +----------Backend----------+
    |                           |                 |                           |
    |                           |                 |    static file serving    |
    |                           |                 |                           |
    |         gRPC-Web          | <-- HTTP/2 -->  | gRPC-Web in-process-proxy |
    |                           |                 |                           |
    |                           |                 |          gRPC-go          |
    |                           |                 |                           |
    +---------------------------+                 +---------------------------+

Prerequisites

Development

# on macOS
brew install mkcert

# root CA install
mkcert -install

# install package & tool
mage install

# generate api & code
mage gen

# livereload development
mage dev

# build & embedding for a single binary
mage build

Top categories

Loading Svelte Themes