[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
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...
- tablesDB.updateRow() properly updates co...
I did not thoroughly investigate, but the issue does not seem to stem from actual permission errors (despite the error message). My tables have table-level perm...