Functions Tutorials

Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl), then deploy to a production namespace or App Platform — no servers required. Learn more about functions.

Create a simple Jamstack (JavaScript, APIs, Markup) site using serverless functions that replace traditional backend API CRUD functionality. This tutorial series deploys a Jamstack site using App Platform’s functions components and a DigitalOcean Managed MongoDB Database.
This community tutorial covers best practices for writing a serverless function.
Tutorials about serverless deployments and serverless functions from the DigitalOcean Community.