项目作者: ettaibi

项目描述 :
React example for managing a guest book, using hooks and grpc-web
高级语言: JavaScript
项目地址: git://github.com/ettaibi/react-manage-guest-book.git
创建时间: 2019-11-15T14:41:02Z
项目社区:https://github.com/ettaibi/react-manage-guest-book

开源协议:

下载


react-manage-guest-book

React example for managing a guest book, using hooks, and GRPC-WEB with a golang backend

A comment is persisted in local storage, and a log message is shown in backend for CUD operations.

to run the server

  1. cd server
  2. go run main.go

run envoy using docker

  1. cd envoy
  2. sudo -E docker build -t envoy:v1 .
  3. sudo docker run -p 8080:8080 envoy:v1

Generate protos and js grpc web pb

  1. make gen

Before running react app you need to go to the generated files under guestbook-client/src/client/proto/. then add /*eslint-disable*/ at the top of all generated files.

  1. yarn
  2. yarn start