Skip to content
Init is coming / May 19 - 23
Back

alternative appwrite functions hosting

  • 0
  • Functions
  • Web
SkyQuest
30 Dec, 2023, 15:21

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

TL;DR
The user is looking for an alternative to hosting Appwrite functions and suggests using Cloudflare Workers. They mention that Appwrite functions cannot be hosted on services like Netlify, Vercel, or Cloudflare Workers. They also ask about handling user permissions. TL;DR: Appwrite functions cannot be hosted on services like Netlify, Vercel, or Cloudflare Workers. The user should follow the Cloudflare Workers documentation to write functions for that platform. As for handling user permissions, it is not mentioned in the thread.
SkyQuest
30 Dec, 2023, 15:21

I would prefer If examples are shown using cloudflare workers

Drake
30 Dec, 2023, 18:27

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.

Drake
30 Dec, 2023, 18:27

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

Drake
30 Dec, 2023, 18:29

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

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more