Adding custom business logic with Hasura
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.
Company
Hasura
Date published
Oct. 30, 2019
Author(s)
Tanmai Gopal
Word count
485
Hacker News points
None found.
Language
English