Prisma1: Flutter support for Prisma golang

Created on 29 Oct 2018  路  5Comments  路  Source: prisma/prisma1

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

kinfeature arecliengo

Most helpful comment

Would really love to see this being implemented for prisma!

All 5 comments

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.

Would really love to see this being implemented for prisma!

+1

Yes!

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sedubois picture sedubois  路  3Comments

Fi1osof picture Fi1osof  路  3Comments

dohomi picture dohomi  路  3Comments

ragnorc picture ragnorc  路  3Comments

tbrannam picture tbrannam  路  3Comments