prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

Flutter support for Prisma golang

Open ghost opened this issue 7 years ago • 5 comments

It would be great to be able to use Flutter for your GUI and golang prisma for your backend. Flutter architecture works very well with real time data from GraphQL subscriptions.

Flutter ( https://flutter.io/) is able to run on mobiles and desktops.

Mobile versions: https://github.com/flutter/flutter

Desktop version: https://github.com/Drakirus/go-flutter-desktop-embedder

There is a Flutter graphql implementation also btw: https://github.com/zino-app/graphql-flutter


Now what are the interesting opportunities ?

  1. You can embed golang inside flutter as a Flutter plugin, and so it could call the DB directly, obviously going through a Reverse proxy to protect the DB.

  2. You can use the current Golang Rest example, and just expose Rest to Flutter. Thats really missing the opportunities of subscriptions i feel.

  3. You can use a new Golang GRPC wrapper for prisma, and talk over GRPC to Flutter. https://github.com/grpc/grpc-dart I have done GRPC between a Golang server and Flutter Client and it works nicely. This has the advantage of speed and ease of data binding on both side.

Happy to answer any questions if i can...

ghost avatar Oct 29 '18 21:10 ghost

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '19 23:01 stale[bot]

Would really love to see this being implemented for prisma!

Tata1993 avatar Mar 21 '19 21:03 Tata1993

+1

Matthewjarredondo avatar Jun 06 '19 02:06 Matthewjarredondo

Yes!

johanguse avatar Sep 29 '19 17:09 johanguse

+1

dennis-szymanski avatar Mar 20 '20 21:03 dennis-szymanski