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 ⭐
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.