Company
Date Published
Oct. 30, 2019
Author
Tanmai Gopal
Word count
485
Language
English
Hacker News points
None

Summary

The text discusses ways to add custom business logic using Hasura, a platform that provides instant real-time GraphQL on Postgres with an authorization engine. It covers three methods for extending Hasura: data-driven logic, bringing your own GraphQL service, and event-driven business logic. Data-driven logic involves using Postgres views and functions to add new types and fields to the GraphQL API. The second method allows users to integrate their own GraphQL API into a unified one using "remote schemas." Lastly, event-driven business logic can be achieved through Hasura Actions, which create custom GraphQL mutation specifications that map to event handlers like microservices APIs or serverless functions.