Skip to content

Proof-of-concept server to learn Protocol Buffers and gRPC.

Notifications You must be signed in to change notification settings

raissonsouto/gRPC-Petshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Proof-of-concept server to learn Protocol Buffers and gRPC.

Topics

Resources

Stars

Watchers

Forks

Languages