Any suggestion how to create express server in appwrite function. I would like to avoid creating server on each function invocation but rather appwrite handles that for me like AWS use serverless-http library.
Containers stay active for 10/15s of minutes and you really don't have to manage anything around, the executor manages it for you.
I made something that mimics express like logic for appwrite functions, see -
- https://github.com/itznotabug/appexpress
- https://github.com/itznotabug/appexpress-essentials - has some middlewares and stuff
Recommended threads
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...