gRpc Server Simple for protoc-gen-grpc
and matrixes-lib
.
// install npm modules
npm install
// start gRpc server
node ./build/server.js
// start gRpc client
node ./build/client.js
// start gateway server
node ./build/gateway.js
POST body
{
"isbn":"9",
"type":"GMAIL",
"author":"12345689",
"isNew":"123",
"user":{"id":"123"},
"subTagsMap":{
"1": "string"
}
}
// linux
cd bash && ./gateway.sh
// windows
cd bash && gateway.bat