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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...