Important
π One-click demo : No account needed. Click "Live Demo" on the homepage to explore instantly.
Or use: demo@launchfast.com / demo123456
Live Demo URL: https://launchfast-saas.vercel.app
Note: The highly converting Landing Page built for modern SaaS products.
Note: A clean, user-friendly Dashboard for managing tasks and user settings.
Note: Comprehensive system overview with AI usage analytics and user growth tracking.
- β Authentication : signup, login, email verification, password reset
- β Supabase integration : PostgreSQL database with Row Level Security
- β Stripe subscriptions : checkout, webhooks, billing portal
- β Protected routes : middleware-based auth protection
- β Dashboard : stats, activity feed, upgrade prompts
- β User settings : profile update, avatar upload, password change
- β Billing page : subscription management, payment history
- β Dark mode : system preference + manual toggle
- β Fully responsive : mobile, tablet, desktop
- β One-click demo : instant access without registration
- π Google OAuth
- π Team collaboration
- π Usage analytics
| Category | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS + shadcn/ui |
| Database | Supabase (PostgreSQL) |
| Auth | Supabase Auth |
| Payments | Stripe |
| Deployment | Vercel |
| Storage | Supabase Storage |
app/
βββ (auth)/
β βββ login/page.tsx
β βββ reset-password/page.tsx
β βββ signup/page.tsx
β βββ verify-email/page.tsx
βββ (dashboard)/
β βββ dashboard/
β β βββ billing/page.tsx
β β βββ settings/page.tsx
β β βββ page.tsx
β βββ layout.tsx
βββ (marketing)/
β βββ pricing/page.tsx
β βββ page.tsx
βββ api/
β βββ stripe/
β β βββ checkout/route.ts
β β βββ webhook/route.ts
β βββ ...
βββ layout.tsx
components/
βββ auth/
βββ dashboard/
βββ marketing/
βββ ui/
lib/
βββ supabase/
βββ stripe.ts
βββ utils.ts
- Node.js 18+
- A Supabase account (free)
- A Stripe account (free, test mode)
-
Clone the repository
git clone https://github.com/yourusername/launchfast.git cd launchfast -
Install dependencies
npm install
-
Copy environment variables
cp .env.local.example .env.local
| Variable | Description | Where to find it |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL |
Your Supabase project URL | Supabase dashboard β Settings β API |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Supabase anon key | Supabase dashboard β Settings β API |
SUPABASE_SERVICE_ROLE_KEY |
Supabase service role key | Supabase dashboard β Settings β API |
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY |
Stripe publishable key | Stripe dashboard β Developers β API keys |
STRIPE_SECRET_KEY |
Stripe secret key | Stripe dashboard β Developers β API keys |
STRIPE_WEBHOOK_SECRET |
Stripe webhook signing secret | Stripe dashboard β Webhooks |
NEXT_PUBLIC_STRIPE_PRO_PRICE_ID |
Stripe Pro plan price ID | Stripe dashboard β Products |
NEXT_PUBLIC_STRIPE_BUSINESS_PRICE_ID |
Stripe Business plan price ID | Stripe dashboard β Products |
NEXT_PUBLIC_URL |
Your app URL | http://localhost:3000 for local |
- Create a new Supabase project.
- Go to the SQL Editor in your Supabase dashboard and run the contents of
supabase/schema.sql. - Create a storage bucket called "avatars" and set its access to Public.
- Create two products in the Stripe dashboard (Test Mode): Pro ($9/mo) and Business ($29/mo).
- Copy the resulting Price IDs into your
.env.local. - Set up a webhook endpoint (using Stripe CLI for local testing) pointing to
/api/stripe/webhook. - Add these webhook events:
checkout.session.completed,customer.subscription.updated,customer.subscription.deleted.
# Start development server
npm run devOpen https://launchfast-saas.vercel.app in your browser.
Tip
Use Stripe test card: 4242 4242 4242 4242 Β· Any future expiry Β· Any CVC
- Push your code to GitHub.
- Import the repository on vercel.com.
- Add all environment variables in the Vercel dashboard.
- Deploy.
For production:
- Switch Stripe keys from test to live mode.
- Update
NEXT_PUBLIC_URLto your real domain. - Set up Stripe webhook for your production URL.
| Branch | Purpose | Environment |
|---|---|---|
main |
Production - live site | Stripe live keys |
dev |
Development - preview | Stripe test keys |
All development happens on the dev branch. Merge to main only when ready to go live.
- Email/password authentication
- Stripe subscriptions
- Protected dashboard
- Dark mode
- One-click demo
- Google OAuth
- Team workspaces
- Usage analytics dashboard
- API access for paid plans
- Email notifications
MIT License - feel free to use this as a starting point for your own SaaS.