Cloud//Supabase//SDK
Supabase's client library — the specific SDK that wraps Supabase's REST API into typed functions. `npm install @supabase/supabase-js` and you're talking to your database in TypeScript.
Supabase's client library — the specific SDK that wraps Supabase's REST API into typed functions. npm install @supabase/supabase-js and you're talking to your database in TypeScript.
Initialize with URL + publishable key: createClient(SUPABASE_URL, SUPABASE_ANON_KEY). That's the whole setup.
Database: supabase.from('contacts').select() instead of fetch('https://xxx.supabase.co/rest/v1/contacts'). Filters, joins, inserts, updates — all typed.
Auth: supabase.auth.signInWithOAuth({ provider: 'google' }) triggers the Auth flow. One line to start the whole OAuth chain.
Real-time: supabase.channel('changes').on('postgres_changes', ...) subscribes to live database updates via WebSockets.
Works everywhere: browser, Node.js server, React Native, Flutter. The SDK is platform-agnostic.
Not the same as helpers: @supabase/ssr is the Next.js-specific layer on top. The SDK talks to Supabase; the helpers manage cookies and server-side session handling. SDK = generic. Helpers = framework glue.