Skip to content
Off-topic for aiqbench

Off-topic for aiqbench

This story was gathered from a source we follow but falls outside AI and quantum coverage, so there is no aiqbench take for it.

Introducing @supabase/server

Supabase5 min read

Stateless auth, RLS-scoped clients, and CORS on the server, without the boilerplate.

Today we're releasing @supabase/server in public beta. This is a new package that handles auth verification, client setup, request context, and common server-side boilerplate for you. It works across Edge Functions, Vercel Functions, Cloudflare Workers, Hono and Bun. We anonymously analyzed 25,000 deployed Edge Functions and saw the same pattern everywhere: developers were rebuilding the same setup code over and over just to get to their actual business logic. Copy/paste the same _shared/*.ts files between functions // Typical Deno.serve usage const { data } = await ctx.supabase.from('todos').select() return Response.json(data) const { data } = await ctx.supabase.from('todos').select() return Response.json(data) Note that export default {…

Excerpt shown under the publisher's RSS terms · 103 words · full text and figures are on the publisher's site

Related coverage