This repository contains an example of a gRPC application that demonstrates the interaction between a bank and a customer's wallet. The application is designed with two main components: a sender and a receiver. This example serves as a practical guide for understanding the implementation of gRPC communication in a real-world scenario.
- Node 20
- Protoc
- Install prerequisites
- Run
./build.sh
to start the protobuf compiler to generate the Typescript code - Start the server:
npm run run:server
- Start the client to request a transfer:
npm run run:client
You can use gRPCurl for testing. I added a simple example in the root folder of this project.