[Solved] An example of uploading a Appwrite Cloud Function via the server Node.js SDK?
- 0
- Self Hosted
- Functions
Does anyone have a simple example of how I can create a new function AND pass the code I want it to run?
I'm a bit confused by this because the functions.create() method doesn't seem to have an argument for passing a JS file... Or like, a string of the code or something like that.
Or is this only possible via the CLI and the Cloud interface?
Wow nvm I found it
Marking resolved
[Solved] An example of uploading a Appwrite Cloud Function via the server Node.js SDK?
Thanks a lot :)! This helped me out.
Glad to hear 🙂
Recommended threads
- @napi-rs/canvas in Cloud Function
Has anyone tried rendering images using [@napi-rs/canvas](https://www.npmjs.com/package/@napi-rs/canvas) in Appwrite Functions? I've got a Bun runtime setup for...
- Error: Trying to install appwrite on sub...
``` [Error] Method: POST appwrite | [Error] URL: /v1/account appwrite | [Error] Type: Appwrite\Extend\Exce...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...