Server

Setup

cd server
go mod download

Run

cd server
go run main.go

Generate server stubs

cd server/proto
./gen-server-stubs.sh

Stubs will be generated in server/proto/stubs

Generate client stubs

cd server/proto
./gen-client-stubs.sh

Stubs will be generated in client/src/stubs

Proxy

Run

cd proxy
./start_proxy.sh

Client

Setup

cd client
npm install

Run

cd client
npm run start

The example app will be accessible at http://localhost:3000

GitHub

View Github