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 App Platform — no servers required. Learn more about functions.

A project is a collection of resources, including a configuration file and one or more packages, which is stored on your local computer or in a GitHub repository. You can deploy a project into a namespace on DigitalOcean to make its functions available in the cloud.

Projects have a prescriptive structure.