Content Deep Dive
Building file upload and downloads with Hasura GraphQL
Blog post from Hasura
Post Details
Company
Date Published
Author
Praveen Durairaju
Word Count
1,358
Language
English
Hacker News Points
-
Summary
This tutorial teaches how to manage user-generated files in a Hasura app using a microservice that employs an S3-compatible object storage. The storage microservice handles read and write permissions via JWT claims. It covers file uploads, listings, and downloads, as well as security measures like ensuring the same JWT secret is used by both Hasura and the storage microservice. Finally, it discusses deployment options such as DigitalOcean or AWS Lambda.