Skip to content

nkmishra1997/php-grpc-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

  • A simple boilerplate to isllustrate client interaction with various microservices using a GRPC server.
  • PHP Client/ Go Client interacting with a microservice (Go server) using GRPC.
  • Simple CRUD app for restaurant listing.

Setup

  • Setup grpc and protoc-gen-go
  • Run
$ make compile_protos
  • Start the go grpc server
$ cd server && go run main.go
  • Start the go grpc client (If you wish to use Go client)
$ cd go_client && go run main.go
  • Start the php grpc client (If you wish to use PHP client)
$ cd php_client && php -S localhost:3000 index.php

Running with Docker

  • Run
$ docker-compose up --build -d

About

Client and Micro-service interaction using GRPC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published