Graphql-engine: Integrating Hasura with cloud image service

Created on 5 Jan 2019  路  3Comments  路  Source: hasura/graphql-engine

is there a sample or doc for image uploading? I don't know if i miss it. thanks.

server ideas

Most helpful comment

Thanks, is there plans to integrate cloudinary or aws s3 service in Hasura?

All 3 comments

You have a couple of options:

  1. If you are storing very small files (~1MB), you can save it as a base64 encoded text. Please read the caveats here.
  2. Save it using a non-GraphQL interface (your own custom rest endpoint or an external service) and then save the unique id in the database using GraphQL.

There seems to be some community work in making files work with GraphQL with projects such as this but we don't support it yet.

Thanks, is there plans to integrate cloudinary or aws s3 service in Hasura?

@hooopo please find a blog post about building file uploads/downloads here. I'm changing this issue to be a feature request for a possible integration.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fortidude picture Fortidude  路  3Comments

leoalves picture leoalves  路  3Comments

egislook picture egislook  路  3Comments

lishine picture lishine  路  3Comments

shahidhk picture shahidhk  路  3Comments