Files
strudel/supabase
2025-06-14 00:35:13 +02:00
..
2025-06-13 13:55:04 +02:00
2025-06-14 00:35:13 +02:00
2025-06-14 00:35:13 +02:00

supabase

this folder will contain one or more supabase edge functions to talk with the database

usage

pnpx supabase functions serve --no-verify-jwt # serve locally, requires docker
pnpx supabase functions deploy # deploy function(s)

test

when running locally, you can test an endpoint with curl:

curl -L -X POST 'http://127.0.0.1:54321/functions/v1/hello-world' \ 
  -H 'Content-Type: application/json' \
  --data '{"foo":"bar"}'