Basically in appwrite they host the functions that are made by you, but is it possible to host the serverless functions on another service like netlify, vercel, cloudflare workers. And how would I handle the user permissions stuff
I would prefer If examples are shown using cloudflare workers
Appwrite functions are not the same as cloudflare workers. It's like how you can't take an AWS lambda and deploy it on Google Cloud Run.
You should follow the docs for how to write a function for cloudflare workers. You can install an Appwrite server SDK to connect to Appwrite
Actually...this might be a bad example. 😅 Regardless, following cloudflare workers docs on how to write a function on their platform is the best approach
Recommended threads
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Cloud Function Deployment Issue – Timeou...
Impossible to deploy a function for more than an hour. My project ID is: 69cc7a82000b42b8f5e2 Here's the error I get after waiting 15 minutes: Synchronous funct...
- Dart runtime functions are timing out an...
My appwrite function is not executing at all and showing the error in error logs: I tried redeploying. Still no luck. I have set the function to ise maximum re...