The fastest way to ship your next dev tool. A production-ready Next.js template with Supabase auth, team management, and dashboard. Deploy in 5 minutes, start building in 10.
🎁 FREE GIVEAWAY - This entire codebase is free. Deploy, customize, and ship your dev tool. Get started →
🏢 Organization (org)
├── 👤 Users (auth.users)
│ └── 🔗 Memberships (org_members)
│ ├── 👑 Owner (can do everything)
│ ├── ⚡ Admin (can manage team)
│ └── 👥 Member (basic access)
└── 📧 Invites (org_invites)
├── 📨 Pending (waiting for response)
├── ✅ Accepted (becomes member)
└── ❌ Expired/Cancelled
- 👤 Users - Authenticated via Supabase Auth (Google OAuth, magic links, etc.)
- 🏢 Organizations - Multi-tenant workspaces (each user gets a "Personal" org by default)
- 🔗 Memberships - Users belong to organizations with specific roles
- 📧 Invites - Team members can invite others via email
| Table | Purpose | Key Fields |
|---|---|---|
org |
Organizations/workspaces | id, name, settings |
org_members |
User-org relationships | user_id, organization_id, role |
org_invites |
Pending team invitations | email, token, status, expires_at |
- Click Deploy → Fork this repo
- Setup Supabase → Run the SQL from
sql/001-initial.sql - Add env vars → Copy from
env.example - Ship it →
yarn devand start building
That's it. Your app is live. No more auth headaches, no more boilerplate. Just build.
🔥 Pro Tip: While you're building, validate your idea by talking to real developers. Try Ask It →
Everything you need to ship fast:
- 🔐 Auth Done Right - Google OAuth, magic links, RLS policies
- 👥 Team Management - Invite members, role-based access
- 🎨 Beautiful UI - Tailwind + shadcn/ui components
- 🏢 Multi-tenant - Organizations with proper isolation
- ⚡ Modern Stack - Next.js 15, TypeScript, Vercel-ready
Plus the secret sauce:
- 📊 Production-ready - Error handling, loading states, responsive
- 🔒 Security-first - Row-level security, proper auth flows
- 🚀 Deploy-ready - One-click Vercel deployment
Automatically creates a "Personal" organization for new users. Called during auth callback.
Returns all organizations the current user belongs to with their role.
Creates a new organization and makes the specified user the owner.
- Row Level Security (RLS) enabled on all tables
- Role-based access (owner > admin > member)
- Secure invites with expiring tokens
- Multi-tenant isolation - users only see their orgs
This template is for you if you're:
- 🏗️ Building a dev tool and need auth + team management
- ⚡ Indie hacking and want to ship fast without boilerplate
- 🎯 Validating an idea and need to talk to real developers
- 🚀 Scaling a startup and need production-ready foundations
This entire template is free:
Stop building boilerplate. Start shipping. This production-ready codebase is yours to customize and deploy. No strings attached.
Perfect for indie hackers, dev tool builders, and anyone who wants to ship fast.
- Supabase Docs - Database & Auth
- Next.js Docs - React Framework
- Tailwind CSS - Styling
- shadcn/ui - Components
Ready to ship? Deploy now →
Need validation? Talk to real developers →
Built by developers, for developers. Ship fast. Validate faster.