silentworks / self-hosted-edge-functions-demo

A demo of how to self-host Supabase Edge Functions on Fly.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to self-host Supabase edge functions on Fly.io

  • Clone this repository.
  • Copy your edge functions to ./functions directory.
  • [Optional] Modify the ./functions/main/index.ts to add custom request handling and routing logic.
  • Open fly.toml and update the app name.
  • Then in the terminal, run fly deploy.

About

A demo of how to self-host Supabase Edge Functions on Fly.io


Languages

Language:TypeScript 98.0%Language:Dockerfile 2.0%