← Back to dashboard
Launch prep
How to separate from TeamKit
TeamKit is a starting point. When you launch your SaaS, delete the example features and ship an independent product with no TeamKit code remaining.
The separation flow
1
Build your product in /preview
Replace src/app/(dashboard)/preview/page.tsx with your own UI. Teams, auth, and billing work as-is.
2
Delete example files
Remove the files in the 'Delete' list below. DROP the tasks table in Supabase if you don't need it.
3
Done — an independent SaaS with no TeamKit traces
Add your domain and deploy. No TeamKit branding or example code remains.
✅
Keep (infrastructure)
| File / Directory | Role |
|---|---|
| src/app/(dashboard)/layout.tsx | Auth guard + nav shell |
| src/app/(dashboard)/teams/ | Team create, invite, settings |
| src/app/api/projects/ | Team CRUD API |
| src/app/api/invite/ | Invite accept API |
| src/app/api/stripe/ | Stripe webhook + checkout |
| src/app/login/, src/app/signup/ | Login and signup pages |
| src/app/pricing/ | Stripe billing page |
| src/lib/supabase/ | DB clients |
| src/lib/pro.ts | Owner-pays Pro logic |
| src/lib/stripe.ts | Stripe helpers |
| src/config.ts | App-wide config (change this one file) |
| supabase/schema.sql | DB schema (apply once) |
🗑️
Delete (examples)
| File / Directory | Role |
|---|---|
| src/app/(dashboard)/dashboard/page.tsx | Example task dashboard → replace with your UI |
| src/app/(dashboard)/preview/page.tsx | Build your product here |
| src/components/tasks/ | Task board components |
| src/components/dashboard/StartGuide.tsx | Dev guide — remove before shipping |
| src/components/setup/ | Buyer setup tutorials — remove |
| supabase/schema.sql → tasks table | Example table — drop and add your own |
| src/app/api/tasks/ | Task CRUD — remove or repurpose |
Ready? Start building in /preview
Implement your product UI in src/app/(dashboard)/preview/page.tsx.
Open /preview →