Skip to content
alinaqi avatar

Supabase Nextjs

Next.js App Router starter that pairs Supabase Auth and Drizzle ORM with server components by default.

CCM score
58 of 100
skills.sh installs
732
GitHub stars
712
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project layout, Drizzle schema and client setup, Supabase browser, server, and middleware clients, and auth helpers
  • Includes drizzle.config.ts, src/db/schema.ts, src/middleware.ts, and src/lib/auth.ts with login and signup page examples
  • Sets prepare: false on the postgres client for Supabase connection pooling and redirects unauthenticated users to /login
  • Designed for Next.js apps that use Supabase as the backend and need Drizzle for type-safe queries

Install

$ npx -y skills add alinaqi/maggy --skill supabase-nextjs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Supabase + Next.js Skill

Next.js App Router patterns with Supabase Auth and Drizzle ORM.

Sources: Supabase Next.js Guide | Drizzle + Supabase


Core Principle

Drizzle for queries, Supabase for auth/storage, server components by default.

Use Drizzle ORM for type-safe database access. Use Supabase client for auth, storage, and realtime. Prefer server components; use client components only when needed.


Project Structure

Details

Repository
github.com/alinaqi/maggy
Categories
Backend & APIs, Databases, Frontend & UI Code
First seen
Jun 3, 2026

More from alinaqi/maggy

All 54

Similar to Supabase Nextjs

More Backend & APIs