Create API Route

Generate a server-side Next.js API route for Supabase auth (login, logout, callback, session). These routes manage Supabase SSR cookies and run server-side. Do NOT use this skill to create proxy routes for DaaS data — the UI calls DaaS directly using Authorization Bearer tokens instead. Use when the user needs a new auth endpoint or server-side Supabase route.

buildpad-ai Updated

File contents

buildpad-ai/skills/tree/main/create-api-route commit 564346690f

Frequently asked questions

npx skillmds@latest add buildpad-ai/create-api-route