You can create and execute your first Appwrite Function in minutes.
Create function
Before deploying your function with Git, create a new function attached to your Git repository.


In the Appwrite Console's sidebar, click Functions.
Click Create function.
Under Connect Git repository, select your provider.
After connecting to GitHub, under Quick start, select a starter template.
Follow the step-by-step wizard and create the function.
The function will be created and a build will begin. Once the build completes, you'll have created your first function.
You can find the code used by the starter template in your newly created Git repository. Each push to your Git repo will trigger a new deployment.
Execute
You can execute your Appwrite Function through many different triggers. The easiest way to execute your first function is to use the Appwrite Console.


In the Appwrite Console's sidebar, click Functions.
Under the Executions tab, click Execute now.
Click Execute to execute the starter template function.
Wait for the execution to be marked completed and click to view the execution logs.
Explore
Use this your first function as a springboard to explore the flexible and powerful features of Appwrite Functions.
Explore | |
Develop | Learn about how to parse request, build responses, and log to Console in Appwrite Functions. |
Response | Learn about function response types, like text, json, html, redirect, and empty responses. |
Deploy | Learn to deploy Appwrite Functions from Git, the CLI, or manual uploads. |
Execute | Appwrite Functions can be executed in a variety of ways, like SDK, domains, schedules, events, and more. Learn about executions. |
Domains | Each Appwrite Function can be executed through it's own domain, generated or custom. Learn about domains. |
Runtime | Appwrite supports over a dozen runtimes to meet your preferences. Learn about runtimes. |
Examples | Enjoy learning from examples? Checkout these examples functions. |