Demo · Mock data only
Project Level · Supabase Edge Functions · Opseer Demo List deployed Edge Functions with version and status; selecting one shows its source. The New Function button is disabled in the demo — deploy from the Supabase Dashboard.
Total Functions: 5Active: 4
Edge Functions
collect-daily-statsActive
https://demo.supabase.co/functions/v1/collect-daily-stats
import { serve } from 'https://deno.land/std/http/server.ts'

serve(async (req) => {
  // collect-daily-stats
  const { method } = req
  if (method !== 'POST') {
    return new Response('Method Not Allowed', { status: 405 })
  }

  const payload = await req.json()
  // … handle collect-daily-stats …

  return new Response(JSON.stringify({ ok: true }), {
    headers: { 'Content-Type': 'application/json' },
  })
})