Skip to content

xs1za/grpcService1

 
 

Repository files navigation

grpcExampleService

gRPC's Python Example services.

Overview

  1. How install and start
    1. Windows
    2. Linux
  2. Work and API

Windows


Execute following scripts:

generate_file.bat
install.bat
start.bat

Linux


Execute following scripts:

generate_file.sh
install.sh
start.sh

Work and API


The database is created (on local PC) at the first start, to fill it with data, use the API AddClient After the start, the message GrpcExample service start will be displayed in the console The service is running on localhost and is now listening on the port 50051 You can connect to the server using any grpc clients, for example postman

API

AddClient

Example image

GetClients

Example image

GetClientByLogin

Example image

Response error

Example image

About

gRPC's Python Example services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.0%
  • Batchfile 4.5%
  • Shell 3.5%