Company
Date Published
Aug. 27, 2021
Author
Jesse Martin
Word count
906
Language
English
Hacker News points
None

Summary

In this tutorial, we learn how to integrate Hasura with Retool to create a moderator interface for flagging images and training tag accuracy. We modify the data layer shape and access controls in Hasura by adding a "flagged" column and defining new role permissions for updating tag ratings, deleting tag associations, and updating images. In Retool, we create an elegant UI with tabbed views, tables, and action buttons to handle flagging/unflagging, tag training, and deletion operations. We leverage Hasura's GraphQL support and Retool's features like resource triggers and tabs for a seamless integration.