데브허브 | DEVHUB | Build with Claude as a JavaScript developer - Anthropic API
Get started building with #Claude in a matter of minutes using the @anthropic-ai API and Supabase Edge Functions! You'll be rocking your next #AI #Hackathon for sure! 🤘
CHAPTERS:
00:00 Intro
00:16 Create an API key
00:45 Initialise a new Supabase project
01:23 Create a new Supabase Edge Function
01:44 Create a .env file
02:40 Import the Anthropic SDK from nom
03:23 Create Anthropic client with API key
04:03 Create a new request to Claude 3.5 Sonnet
04:44 Start the Supabase Functions locally
05:33 Make a request to the Edge Function
06:02 Stream messages with Claude
07:07 Create a ReadableStream
07:33 Return a text event stream
💻 Videos to watch next:
▶ • I gave AI full control over my database (p...
▶ • The missing pieces to your AI app (pgvecto...
▶ • OpenAI with Edge Functions
👇 Learn more about Supabase 👇
🕸 Website: https://supabase.com/
🏁 Get started: https://app.supabase.com/
📄 Docs: https://supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
🐙 Github: https://www.github.com/supabase
💬 Discord: https://discord.supabase.com/
🐦 Twitter: / supabase
▶ Instagram (follow for memes): / supabasecom
ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.
Build in a weekend, scale to millions.
#Supabase #AppDevelopment #RealtimeApps #DeveloperTools