ref: https://youtu.be/29p8kIqyU_Y
- Supabase
- Deno
- VS Code
Setup your OpenAI API key in .env.local
$ cp .env.example .env.local
$ supabase start
$ supabase functions serve --env-file .env.local openai
Starting supabase/functions/openai
Serving supabase/functions/openai
Watcher Process started.
Check file:///home/deno/functions/openai/index.ts
Listening on http://localhost:8000/