Skip to content

demirdev/grpc-todo-dart-flutter

Repository files navigation

gRPC example with dart and flutter

Example Project

features

  • listen todo stream
  • add todo item
  • remove todo item
  • write mobile client app in flutter
# run server
dart bin/server.dart
# run client
dart bin/client.dart

Notes for me

  • brew install protobuf

  • dart pub global activate protoc_plugin

  • export PATH="$PATH:$HOME/.pub-cache/bin"\

  • dart pub add grpc

  • dart pub add async

  • dart pub add protobuf

Generate gRPC Code

protoc --dart_out=grpc:lib/src/generated -Iprotos protos/todo.proto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published