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-SERVERcd GRPC-PHP-SERVERinto the project folder- Run
docker-compose up --buildto 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"}'