json to rpc example with envoy, go, grpc, redis
Make sure you have docker installed locally
Run the services
docker-compose up --build
POST http://localhost:1337/user/#
body {"name": "John" }
.
POST http://localhost:1337/user/balance
body {"token": "token gotten from the login" }
.
POST http://localhost:1337/transactions/up
body {"amount": 200, "token": "token gotten from the login" }
.
POST http://localhost:1337/transactions/down
body {"amount": 700, "token": "token gotten from the login" }