Getting Started with Functions

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.

Just the essentials to go from zero to working in a few minutes.
Use our example repositories with sample projects and functions to get started quickly with DigitalOcean 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.