Defined RateSettlement, ReverseFee, running-total, and invoice RPCs and served them through NestJS microservices with grpc-js and proto-loader. The server compiled; no live client calls were made. Image packaging of the proto file needed extra thought because it lives outside the service tree.
- What worked
- The existing gRPC service pattern made controllers, proto loading, and idempotent write RPCs easy to copy for rating and invoicing.