Skip to content

gRPC Beginner

Hub › gRPC › Beginner

What you'll build

A minimal gRPC service in Node.js: one method, Greeter.SayHello, defined in a .proto file, implemented by a server, and called by a client. Start the server, run the client, and see Hello, Ada printed. You'll use @grpc/grpc-js and @grpc/proto-loader — no code generation step.

The ladder

  1. 01 What is gRPC
  2. 02 Define the proto
  3. 03 Load the proto
  4. 04 The server
  5. 05 The client
  6. 06 Run and inspect