Today's package of the week is grpc. This is the official Dart implementation of the open source general RPC framework. We will set up Protocol Buffers and go over the basic syntax. We will briefly explain Unary RPC, Server streaming RPC, Bidirectional streaming RPC and Client streaming RPC. We will then implement an Album RPC service and interact with it using an auto-generated client.
=== Contents of this video ===
00:00 Intro
00:50 Prerequisites for gRPC
01:42 Project setup and packages
02:20 Explaining Album.proto protocol buffer file
03:51 Generate Dart data classes with protoc compiler
06:40 Define and Generate Remote Procedural Call(RPC) services
08:03 Create gRPC server and client for AlbumService
14:40 Create getAlbumsWithPhotos service method on AlbumService
18:28 Implement Server streaming RPC of Album photos
22:!3 Outro
Please leave us your feedback in the comments, and let us know what you would like us to demonstrate next! You can reach out in the comments below or on Twitter using #Flutter #Dartlang #GrpcTutorial #FullstackDart
Like, Subscribe and Hit the Bell 🔔 if you enjoyed this video 😍
Get the source code → https://github.com/graphicbeacon/dart...
Get started with Dart → https://bit.ly/getstartedwithdart
GRPC Docs → https://grpc.io/docs
Protocol Buffers Documentation → https://developers.google.com/protoco...
Dart documentation → https://dart.dev
Subscribe to the channel → http://bit.ly/2P2N1jC
Read More Dart Tutorials → https://creativebracket.com
Buy me a coffee → https://ko-fi.com/creativebracket
LET'S CONNECT
---
Twitter → / creativ_bracket
Become a Patron → / creativebracket