Example: Hello Netlify Functions

A hello world example of using Netlify Functions to add serverless functions to your project.

To add Netlify Functions, create a JavaScript, TypeScript, or Go function to your project in a netlify/functions directory. You can customize the address for your functions using Netlify's Redirects API

Examples

More information

Deploy your own

A great place to start is to clone and deploy your own copy of this example. You can do that by clicking the button below.

Try it! 👉 Deploy to Netlify

Clicking the button will clone this repo and deploy it as a new site on Netlify