To start the backend run ./gradlew api:run
and to start the react app run ./gradlew app:yarn_run_start
, this will make a grpc request as soon as it is loaded up and there is a button to make a new request.
All the necessary protobuf/grpc code should be autogenerated on the respective app startups, and the api:run
command will automatically start envoy with the correct grpc-web config in a docker container so everything should just work with running these two commands.
Note: When using Ctrl+C to terminate the react dev server gradle is forwarding the signal so you will unfortunately have to manually terminate the server. See: srs/gradle-node-plugin#339