A Dart Frog example using Protobuffers

protobuf_play

An example application built with dart_frog using protobuffers.

To Generate Dart Files From .proto

  1. If you haven’t installed the compiler, download the package and follow the instructions in the README.
  2. Install the Dart Protocol Buffer plugin as described in its README. The executable bin/protoc-gen-dart must be in your PATH for the protocol buffer protoc to find it.
  3. Run the complier using this command:
protoc --dart_out=lib/src addressbook.proto

(for more help, visit this guide)

To Run

  1. Download and install the dart_frog_cli
  2. Start the server with
dart_frog dev

GitHub

View Github