I am quite new to gRPC but I wish to use it in my current application.

I am building the Backend Server in NodeJS

I have created my Service Definition file as below:

```syntax = "proto3";

package location;

import "protos/auth.proto";

service LocationManager{
    rpc updateLocation(LocationUpdateRequest) returns (LocationUpdateResponse);
}

enum LocationUpdateTarget{
    CUSTOMER = 0;
    RIDER = 1;
}

message Location{
     double longitude = 3;
     double latitude = 4;
}

message LocationUpdateRequest{
    auth.AuthParams authParams = 1;
    LocationUpdateTarget locationUpdateTarget = 2;
    Location location = 3;
}

message LocationUpdateResponse{
    int32 statusCode = 1;
}
```
How do I generate the NodeJS Client Libraries for My Server and The Client.

The Documentations isn't clear about this.

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/77ab97c1-497f-48bc-9320-356af46b683dn%40googlegroups.com.

Reply via email to