Back

Appwrite deploy Nodejs or python projects

  • 0
  • Functions
  • Web
  • Cloud
Sam
21 Mar, 2024, 09:06

Can appwrite deploy Nodejs or python projects?

Do you have any examples or deployment videos? The official documentation is a bit complex and not very user-friendly for beginners like me

TL;DR
Developers can deploy custom Node.js or Python projects using Appwrite Functions, a serverless feature. While Appwrite does not support deploying Python code with a custom HTTP server due to pricing constraints, services like Railway, Heroku, or Digital Ocean offer alternatives charging per hour of container uptime. For tutorials and examples, check out the documentation on Appwrite's website: https://appwrite.io/docs/products/functions
Meldiron
21 Mar, 2024, 09:19

Heyy 👋 Appwrite Functions allow you to deploy your custom code. Those functions are serverless, which you may know from Vercel functions or AWS Lambda functions.

Serverless functions are written in a specific way to allow manybenefits of this technology. One of the downsides of serverless functions is the onboarding, which is necessary to implement functions that can run serverless. You can refer to our docs to start learning: https://appwrite.io/docs/products/functions

Meldiron
21 Mar, 2024, 09:21

With that said, if you just want to take your python code with your own http server as container, Appwrite at the moment does not allow that. Pricing would need to be much different if we wanted to support this, and free tier would be very very tricky.

For doing that, you can use services such as Railway, Heroku or Digital Ocean, which charge per hour of your container being online. It's a different approach compared to serverless. Benefit of serverless is that it can offer free tiers.

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