gRPC Project | Hello World in gPRC | Connecting Client and Server



gRPC Project | Hello World in gPRC | Connecting Client and Server

gRPC Project | Hello World in gPRC | Connecting Client and Server

Hello everyone. In this video, I am going to show you how you can make a simple hello world application using gRPC to connect the client with the server.

I hope you enjoy this video. Please subscribe for more videos.

Commands To Use šŸ‘‹
——————————————————————————
šŸ‘‰ Download the protoc zip file for your system from the releases page.
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip

šŸ‘‰ Unzip the downloaded file.
unzip protoc-3.17.3-linux-x86_64.zip -d protoc3

šŸ‘‰ Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/

šŸ‘‰ Move protoc3/include to /usr/local/include/
sudo mv protoc3/include/* /usr/local/include/

šŸ‘‰ protoc –go_out=. –go_opt=paths=source_relative –go-grpc_out=. –go-grpc_opt=paths=source_relative /path/to/directory/containing/proto/hello.proto

šŸ‘‰ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
šŸ‘‰ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

šŸ‘‰ protoc –go_out=. –go_opt=paths=source_relative
–go-grpc_out=. –go-grpc_opt=paths=source_relative
proto/hello.proto
——————————————————————————

Connect With Me šŸ‘‹
——————————————————————————
ā€£ Github: https://github.com/ibilalkayy/Small-Projects/tree/main/gRPC
ā€£ Hashnode: http://bit.ly/3U7970Lā€‹ā€‹
ā€£ Twitter: https://twitter.com/ibilalkayy
ā€£ LinkedIn: https://bit.ly/2WQH0It
ā€£ Buy Me A Coffee: https://www.buymeacoffee.com/ibilalkayy
——————————————————————————
#grpc #app #software