-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The basic idea of our code is to first extract the JWT Bearer token, for then to forward it to our GraphQL endpoint at Hasura. Then we add whatever payload the client supplied to us to our [http.post] invocation going towards Hasura. When the invocation returns, we return to the client whatever Hasura returns to us. At this point, the only remaining question is if we should send the email before or after invoking the GraphQL endpoint. We could expand upon our gateway easily by for instance checking if Hasura returned a success status code or not, but that’s an exercise I will leave to the reader.
To get started, first sign up for a low-code Hyperlambda cloudlet here. Then watch the above video, and find the code at the bottom of this article. Notice, I haven’t actually tested the GraphQL send email logic, since I don’t have a Hasura project, and I personally for obvious reasons prefers Hyperlambda – But I suspect it should work out of the box as is.