server

module
v0.0.0-...-8cdf1ed Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0

README

Server for main template

GCP

Set up secrets in your workspace: GKE_PROJECT with the name of the project, GKE_EMAIL with the service account email, GKE_KEY with the Base64 encoded JSON service account key (https://github.com/GoogleCloudPlatform/github-actions/tree/docs/service-account-key/setup-gcloud#inputs). Afteer deployment use kubectl port-forward:

Minikube

Install minikube and then run below command:

eval $(minikube docker-env)

and:

make deploy

Flutter web will be served on minikube IP:

minikube ip

Test Client/Server With nats-streaming-server

  1. start nats-streaming-server:
make nss
  1. start grpc server:
make go-srv
  1. start grpc client:
make go-cli
  1. populate nats-streaming-server with fake data:
make faker

Directories

Path Synopsis
pkg
api
try

Jump to

Keyboard shortcuts

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