flutter-grpc-tutorial
[Tutorial] Asynchronous Flutter chat client with Go chat server which are powered by gRPC (simple and streaming)
File Explorer
Download Latest Version (.zip)- chat.proto
- MainActivity.java
- launch_background.xml
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- styles.xml
- AndroidManifest.xml
- build.gradle
- gradle-wrapper.properties
- build.gradle
- gradle.properties
- settings.gradle
- AppFrameworkInfo.plist
- Debug.xcconfig
- Release.xcconfig
- Contents.json
- Icon-App-1024x1024@1x.png
- Icon-App-20x20@1x.png
- Icon-App-20x20@2x.png
- Icon-App-20x20@3x.png
- Icon-App-29x29@1x.png
- Icon-App-29x29@2x.png
- Icon-App-29x29@3x.png
- Icon-App-40x40@1x.png
- Icon-App-40x40@2x.png
- Icon-App-40x40@3x.png
- Icon-App-60x60@2x.png
- Icon-App-60x60@3x.png
- Icon-App-76x76@1x.png
- Icon-App-76x76@2x.png
- Icon-App-83.5x83.5@2x.png
- Contents.json
- LaunchImage.png
- LaunchImage@2x.png
- LaunchImage@3x.png
- README.md
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- contents.xcworkspacedata
- Runner.xcscheme
- project.pbxproj
- contents.xcworkspacedata
- empty.pb.dart
- empty.pbenum.dart
- empty.pbjson.dart
- timestamp.pb.dart
- timestamp.pbenum.dart
- timestamp.pbjson.dart
- wrappers.pb.dart
- wrappers.pbenum.dart
- wrappers.pbjson.dart
- chat.pb.dart
- chat.pbenum.dart
- chat.pbgrpc.dart
- chat.pbjson.dart
- chat_service.dart
- application_bloc.dart
- bloc_provider.dart
- message_events.dart
- message.dart
- message_incoming.dart
- message_outgoing.dart
- home.dart
- chat_message.dart
- chat_message_incoming.dart
- chat_message_outgoing.dart
- main.dart
- theme.dart
- .gitignore
- .metadata
- pubspec.yaml
- README.md
- launch.json
- main.go
- chat.pb.go
- server.go
- chat.go
- .gitignore
- go.mod
- empty.proto
- timestamp.proto
- wrappers.proto
- protoc-gen.cmd
- flutter-grpc-tutorial.code-workspace
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/amsokol/flutter-grpc-tutorial
Downloads the entire project code from GitHub to your computer.
cd flutter-grpc-tutorial
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd flutter_client/android/app
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
3. Go
MediumPrerequisites
cd go-server
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
