This project expands my knowledge on how to build GRPC server in PHP.
Make sure you have docker installed on your machine.
git clone https://github.com/Eazybright/GRPC-PHP-SERVER
cd GRPC-PHP-SERVER
into the project folder- Run
docker-compose up --build
to build the docker images and start the containers.
Set endpoint:
curl --request POST \
--url http://localhost:8080/v1/set \
--data '{"Key": "hello","Value": "world"}'
Get endpoint:
curl --request POST \
--url http://localhost:8080/v1/get \
--data '{"Key": "hello"}'