Skip to content

htsuruo/dart-edge-supabase-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supabase Edge Functions Example

This template demonstrates how to run a Supabase Edge Functions application via Dart Edge.

Getting Started

Install the dependencies:

dart pub get

Set your OpenAI API key.

echo "OPENAI_API_KEY=[YOUR_API_KEY]" >> ./supabase/.env.local
echo "ORGANIZATION_ID=[YOUR_ORGANIZATION_KEY]" >> ./supabase/.env.local

Start the application via Dart Edge CLU & the supabase CLI:

supabase init
edge build supabase_functions --dev
supabase functions serve dart_edge --no-verify-jwt

For more information, see the Dart Edge documentation.

About

This is a playground to run Dart Edge on the Supabase platform.

Topics

Resources

Stars

Watchers

Forks

Languages