Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 921 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 921 Bytes

gRPC Petshop

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.

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/raissonsouto/gRPC-Petshop.git
  2. Navigate to the project directory:

    cd gRPC-Petshop
  3. Install dependencies:

    go mod tidy

Running the Server

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).

Running the Client

An example client can be found at ./client/main.go. To run it, you just need to execute:

go run client/main.go