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