Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 562 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 562 Bytes

This is an example of how to use gRPC with NodeJS and NextJS

Getting Started

First: start the NodeJS gRPC server and the Envoy proxy (Docker needed):

cd server && yarn install && yarn start-server & yarn start-proxy

Second: from a new terminal tab, start the NextJS client

cd client && yarn install && yarn dev

Access this endpoint on your web browser:

http://localhost:3000

If you want to re-generate the gRPC classes, just run the following command from the client/ folder

yarn generate-grpc-classes