Event Trigger Samples
Here are a few boilerplates you can use to build and deploy event triggers on different cloud providers:
- Source code: https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/event-triggers
There are 2 types of boilerplates:
Echo Returns the event payload with some augmented data. It helps you in understanding the event payload and parsing it.
Mutation Makes a mutation based on the event payload. It helps in understanding database access inside an Event Trigger.
Here's a notification demo app showcasing sending web notifications using Hasura Event Triggers and FCM.
- Video: https://www.youtube.com/watch?v=nuSHkzE2-zo&feature=youtu.be
- Source code: https://github.com/hasura/graphql-engine/tree/master/community/sample-apps/serverless-push
Data Transformations (ETL)
Here's a serverless ETL demo app built using Hasura event triggers and Algolia search.