
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
- Function delayed execution does not exec...
Hi, I’m having issues with scheduled function executions. Sometimes the delayed function triggers, but a lot of the time it doesn’t. For example the status just...
- Deployment Error After Migrating from 1....
Hi Everyone, After recently migrating my self-hosted Appwrite instance from version 1.6.0 to 1.6.2, I’m encountering an issue while deploying a function. The d...
- Getting Cors Error after 2 weeks
TLDR: I've deployed a appwrite function and adding appropriate headers while sending the request back and it was working well and good previous week but today s...
