Boost My AgentGet Boost OS
Supabase

Supabase starter module

Setup

Maps project settings, local configuration, database rules, and the connection points in your app.

Files
15
Lines
871
Languages
Config + Markdown + TypeScript + SQL + JSON

Included files

This page lists paths and purposes, not source contents.

  • .env.example

    Configuration required by this starter pack.

    Config

    34 lines

  • ADAPT.md

    Give these instructions to the coding agent working in the buyer's Next.js project.

    Markdown

    100 lines

  • app/account/route.ts

    A working protected page; Supabase Auth, not the browser, decides who may see it.

    TypeScript

    117 lines

  • app/api/auth/callback/route.ts

    GET /api/auth/callback exchanges Supabase OAuth and email-link codes for a session.

    TypeScript

    10 lines

  • app/api/session/logout/route.ts

    POST /api/session/logout clears this browser's Supabase session and returns to sign-in.

    TypeScript

    10 lines

  • app/api/supabase/verify/route.ts

    GET /api/supabase/verify reports whether the Supabase starter is configured.

    TypeScript

    10 lines

  • app/signin/route.ts

    A working Supabase sign-in page; replace it with your app's real page when ready.

    TypeScript

    185 lines

  • migrations/0001_init.sql

    Configuration required by this starter pack.

    SQL

    46 lines

  • OPERATIONS.md

    The human moments.

    Markdown

    50 lines

  • package.json

    Configuration required by this starter pack.

    JSON

    22 lines

  • README.md

    This starter gives a Next.js App Router application browser sign-in backed by server-verified Supabase cookie sessions, account state and roles kept in sync between Supabase and your own records, repeat-safe auth events, run-once background work, account emails, deny-by-default Row Level Security with an automated schema deploy script, and a readable verification route.

    Markdown

    94 lines

  • src/setup/deploy-schema.ts

    Applies every migrations/*.sql file in name order and records each completed migration.

    TypeScript

    97 lines

  • starter.json

    Configuration required by this starter pack.

    JSON

    6 lines

  • TROUBLESHOOTING.md

    Symptom first, fix first, cause second.

    Markdown

    75 lines

  • tsconfig.json

    Configuration required by this starter pack.

    JSON

    15 lines

Questions about setup

Is this a Supabase Next.js starter?

Yes. It is built around the browser and server boundaries a Next.js app needs for authentication, protected database access, events, emails, verification, and setup.