This repository accompanies an article on the OpenFaaS blog. You can fork or adapt this example for your own use with OpenFaaS or Astra DB and Node.js.
Read the article: Serverless storage for your functions from the Datastax Astra DB
If you need somewhere to host OpenFaaS, there's a quick-start for Linode, here: Deploy OpenFaaS to Linode with K3sup
Examples in this repository:
- cycling - Node.js example using Astra DB and the Cassandra Driver
- weekly-newsletter - Node.js for Astra DB using the Document SDK
You will need to sign up for an account for Astra DB and managed Cassandra to use the Document SDK example. The cycling example will work with any managed Cassandra service or local/open-source installer such as K8ssandra.
MIT
Subject to raising an issue, and having the suggestion approved by a maintainer.
