Back

How can I make a Flask API with Appwrite?

  • 0
  • Functions
prtyksh
9 May, 2024, 09:57

Hello everyone, I have built a Python Flask App that acts as a API for my website, it gets requests and returns data from my PostgreSQL Database (that is hosted someplace else). Now I want to deploy that API as a serverless function in Appwrite, I have checked all templates but they all are working with GET and POST Requests, I donot want that, I want to deploy my Flask API as it is. Please any idea how I can I do that? Just point me in the right direction, that's all I want. thank you!

TL;DR
Developers wants to deploy their Flask API as a serverless function in Appwrite. They are facing issues with existing templates for GET and POST Requests. The solution is to use a custom Docker runtime with Appwrite. This allows developers to package and run any code, including Flask APIs, as serverless functions in Appwrite.
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