Hacker News new | past | comments | ask | show | jobs | submit login

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-... and on Lambda: https://blog.fauna.com/serverless-cloud-database




That would be great, please do!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: