In this tutorial, we will discover how to use Hasura events to store a user’s preferences/wishlist and send a triggered email from this event. We will also cover the creation of a React app connected to a Hasura Cloud instance to fully make it work.
Set Up Your Hasura Account With Hasura Cloud
Make Hasura Endpoint Available to public_user Role
Create the users_wishlist Table
Set the Permission for the public_user Role
Configure the React App To Connect to Hasura!
Launch the Mutation and Save the User Preferences
Here Come the Hasura Events!
Triggering Serverless Functions via Hasura Events