6 ms·
I've written a few blog posts about using FaunaDB from FaaS functions, the steps should be the same for any FaaS provider: 1) Provision a (free) connection sec
by jchrisa 8y ago
I've written a few blog posts about using FaunaDB from FaaS functions, the steps should be the same for any FaaS provider:
1) Provision a (free) connection secret from fauna.com
2) Import the FaunaDB driver (npm install faunadb)
3) Create a client object using your connection secret.
After that you are using FaunaDB, which is purely pay-as-you go, with ACID transactions, joins, indexes, etc.
It would be simple to write a tutorial like this for Cloudflare. Hello world on Azure functions: https://blog.fauna.com/azure-functions-with-serverless-node-js-and-faunadb https://blog.fauna.com/azure-functions-with-serverless-node-... and on Lambda: https://blog.fauna.com/serverless-cloud-database https://blog.fauna.com/serverless-cloud-database
- zackbloom 8y agoThat would be great, please do!