grpc-go-web-todo

module
v0.0.0-...-ca35f81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: MIT

README

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

Directories

Path Synopsis
api
cmd
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL