Brad  Braun

Brad Braun

1619759760

Build an E-commerce Shopping Cart Reminder With Hasura Events

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.

You can try the application on your own. The complete application is available on GitHub.

  1. Set Up Your Hasura Account With Hasura Cloud

  2. Make Hasura Endpoint Available to public_user Role

  3. Create the users_wishlist Table

  4. Set the Permission for the public_user Role

  5. Configure the React App To Connect to Hasura!

  6. Launch the Mutation and Save the User Preferences

  7. Here Come the Hasura Events!

  8. Triggering Serverless Functions via Hasura Events

#javascript

Build an E-commerce Shopping Cart Reminder With Hasura Events