Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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