Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wzslr321/grpc-go-flutter
Flutter mobile app which communicates with Golang server over gRPC
https://github.com/wzslr321/grpc-go-flutter
dart flutter go golang grpc grpc-dart grpc-go
Last synced: 2 months ago
JSON representation
Flutter mobile app which communicates with Golang server over gRPC
- Host: GitHub
- URL: https://github.com/wzslr321/grpc-go-flutter
- Owner: wzslr321
- License: mit
- Created: 2022-11-05T18:02:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T21:26:46.000Z (about 1 year ago)
- Last Synced: 2024-08-22T23:21:20.332Z (5 months ago)
- Topics: dart, flutter, go, golang, grpc, grpc-dart, grpc-go
- Language: Dart
- Homepage:
- Size: 321 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gRPC + Flutter + Golang = 😎
---
This repository is a reference on how to start a Flutter project
with a custom backend based on gRPC and Golang.
It is (at least I believe so) not a spaghetti code, so it should be a great starter, and easy to extend.It allows one to enter a query and send it with a request to the Golang backend server, which then performs it on Wikipedia to scrap information and return it as a result. All via gRPC.
---
Found it useful? Want more updates?
Show your support by giving a :star:---
How to launch it locally?
---In order to make it work, you need to run Golang server `go run cmd/app/main.go` and then run Flutter app.
If you want to make changes to `.proto` file and regenerate the code, I created a small bash script that does it for you.
All you have to do is execute `sh generate.sh` from the `proto` directory.Quick demonstration
---https://user-images.githubusercontent.com/59893892/200149870-75bc2e85-c969-4ddc-9fad-fcc0a27745b9.mp4