Skip to content

An example of using Flutter with gRPC to control hardware from your phone.

License

Notifications You must be signed in to change notification settings

lapumb/unleashing-grpc

Repository files navigation

Unleashing gRPC

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

Getting Starting

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 the protoc tooling. To regenerate, run the dart_generate_proto.sh script.

unleashing_grpc Library

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.

Running the Examples

To run the examples locally, see the backend and frontend READMEs.

To run the examples on the target device, see the embedded OS README.

Contributing

Want to contribute to this repository? Feel free to open a pull request, file an issue, or make a suggestion!

About

An example of using Flutter with gRPC to control hardware from your phone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published