https://github.com/openfaas/astradb-openfaas
Connect to Astra DB using Node.js and OpenFaaS
https://github.com/openfaas/astradb-openfaas
Last synced: 10 months ago
JSON representation
Connect to Astra DB using Node.js and OpenFaaS
- Host: GitHub
- URL: https://github.com/openfaas/astradb-openfaas
- Owner: openfaas
- License: mit
- Created: 2021-09-14T09:58:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T16:11:12.000Z (almost 5 years ago)
- Last Synced: 2025-01-11T15:46:26.055Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://www.openfaas.com/blog/faas-storage-cassandra-astra/)
If you need somewhere to host OpenFaaS, there's a quick-start for [Linode](https://www.linode.com/openfaas), here: [Deploy OpenFaaS to Linode with K3sup](https://www.openfaas.com/blog/openfaas-linode/)
Examples in this repository:
* [cycling](/cycling/) - Node.js example using Astra DB and the Cassandra Driver
* [weekly-newsletter](/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](https://dtsx.io/2VYD4I4) to use the Document SDK example. The cycling example will work with any managed Cassandra service or local/open-source installer such as [K8ssandra](https://k8ssandra.io/).
## Live stream / walk-through
[](https://www.youtube.com/watch?v=uJyufpJ3204&list=PLlIapFDp305AZCFOOXuXGC_ELWeJMD4m-)
* Watch now: [Serverless Storage for Your Node.js Functions with Astra DB](https://www.youtube.com/watch?v=uJyufpJ3204&list=PLlIapFDp305AZCFOOXuXGC_ELWeJMD4m-)
## License:
MIT
### Contributions
Subject to raising an issue, and having the suggestion approved by a maintainer.