Supabase and Next.js Starter Template

Supabase Logo
Vercel Logo

The fastest way to get started building apps with Supabase and Next.js

Get started by editing app/page.tsx

Everything you need to started

Examples

Look in the _examples folder to see how to create a Supabase client in all the different contexts

Client Components app/_examples/client-component/page.tsx
Server Components app/_examples/server-component/page.tsx
Server Actions app/_examples/server-action/page.tsx
Route Handlers app/_examples/route-handler.ts
Middleware app/middleware.ts
Protected Routes app/_examples/protected/page.tsx