/astradb-openfaas

Connect to Astra DB using Node.js and OpenFaaS

Primary LanguageJavaScriptMIT LicenseMIT

Connect to Astra DB using Node.js and OpenFaaS

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.

Usage:

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.

Live stream / walk-through

Serverless Storage for Your Node.js Functions with Astra DB

License:

MIT

Contributions

Subject to raising an issue, and having the suggestion approved by a maintainer.