Back

Is it possible to host node Js backend on Appwrite cloud. I have tried to deploy in Vercel

  • 0
  • Self Hosted
  • Web
HUSKY
27 May, 2023, 15:20

Is it possible to host node js backend on Appwrite cloud. I have tried to deploy in vercel but my api takes more then 5secs and for vercel customizing timing for functions is not available in free trial.

TL;DR
It is not possible to host a whole custom Node.js backend on Appwrite cloud. However, you can replicate the behavior of your routes by creating functions for each endpoint in Appwrite. Appwrite functions allow you to implement custom code and features within Appwrite. Unfortunately, customizing timing for functions in Vercel's free trial is not available.
D5
27 May, 2023, 15:36

You can't host a whole custom nodejs backend in appwrite cloud

D5
27 May, 2023, 15:37

Instead use appwrite functions to implement custom code and features with appwrite

HUSKY
27 May, 2023, 15:47

but I think it is not possible edit custom functions

D5
27 May, 2023, 16:43

Yo can create and edit and customise functions

safwan
27 May, 2023, 18:22

@HUSKY What you can do is this:

In a nodejs backend, you will have routes like /post, /getAll, etc. You can replicate this behaviour in appwrite by creating functions for each of these endpoints, and execute the functions accordingly.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more