This template demonstrates how to run a Supabase Edge Functions application via Dart Edge.
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.