Welcome to gRPC Petshop, a hands-on project to learn the basics of gRPC (Google Remote Procedure Call) and Protocol Buffers in a simulated petshop environment.
-
Clone the repository:
git clone https://github.com/raissonsouto/gRPC-Petshop.git
-
Navigate to the project directory:
cd gRPC-Petshop
-
Install dependencies:
go mod tidy
To start the server, run the following command:
go run main.go
The server should start listening on the specified port (default is localhost:9191
).
An example client can be found at ./client/main.go
. To run it, you just need to execute:
go run client/main.go