Let's just say you have 2 services: Books and Customers. Let's say a customer wants to favorite a book. So the customer might make an gRPC request to the next service. How exactly can you make an RPC call from one service to another.
This is the only example on the web. it seems that shows this, but the problem is they use golang to for intraservice request (as a client), and use grpc-node as a server. Is there an example where grpc-node makes a client-side RPC call to a grpc-node server from another service?
checkout service file: https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/src/checkoutservice/main.go Proto file: https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/pb/demo.proto
At the moment, I would assume there would be 2 services in a shared proto file, and in the client file the client would call an RPC call with components of another service.