This repository contains the library, backend application, and frontend application examples that were worked through as part of the "Unleashing gRPC" blog series:
Part 1: Getting Started with Machine Control Using Flutter and gRPC
Part 2: Diving Deeper into Machine Control Using Flutter with gRPC
This repository supports using fvm
to manage the Flutter SDK version so users can stay consistent with the Flutter SDK version this repository was built with. While it is optional to use fvm
, it is recommended. To install fvm
, see the installation instructions.
For gRPC and protocol buffer code generation, this repository uses the protoc
compiler. To install protoc
, see the installation instructions. You will also need to install the Dart protoc plugin.
Please note that installing the
protoc
tooling is not required as the generated code is committed to this repository. However, if you wish to regenerate the code or make changes to the.proto
files, you will need to install theprotoc
tooling. To regenerate, run the dart_generate_proto.sh script.
The unleashing_grpc
library contains the gRPC client and server wrapper implementations to call into simple machine control functionality that is utilized by the example frontend
and backend
applications.
To run the examples locally, see the backend and frontend READMEs.
To run the examples on the target device, see the embedded OS README.
Want to contribute to this repository? Feel free to open a pull request, file an issue, or make a suggestion!