Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

This tutorial will take you through using Edge Functions on Netlify to build a hello world example, and transform an HTML template using geolocation data at the edge.

Notifications You must be signed in to change notification settings

whitep4nth3r/getting-started-with-netlify-edge-functions

Repository files navigation

Getting started with Netlify Edge Functions

Deploy this site to Netlify

Deploy to Netlify


Tutorial outline

Hello and welcome to the tutorial!

This tutorial will take you through using Edge Functions on Netlify to build the following URLs:

1. Hello, world

We'll write an Edge Function to serve the text Hello, World from the edge!

/hello

2. Serve an HTML template

We'll set up the project to serve static HTML template files from the /public directory.

/hello-template

3. Add location data to the HTML template

We'll write an Edge Function to intercept a static HTML template and update it using geolocation data at the edge.

/hello-template?method=transform

Watch the video tutorial

Getting started with Netlify Edge Functions video thumbnail

Read the supporting blog post

Add personalization to static HTML with Netlify Edge Functions

About

This tutorial will take you through using Edge Functions on Netlify to build a hello world example, and transform an HTML template using geolocation data at the edge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published