Skip to content

Flutter mobile app which communicates with Golang server over gRPC

License

Notifications You must be signed in to change notification settings

wzslr321/grpc-go-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ⭐



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

2022-11-06.02-30-02.mp4

About

Flutter mobile app which communicates with Golang server over gRPC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published