Getting Started

Set up Launchkit in under 5 minutes.

Prerequisites

  • Node.js 18+ installed
  • A Supabase project (free tier works)
  • A Stripe account (test mode)
  • A Resend account (free tier works)

Clone and install

git clone https://github.com/basniakk/launchkit-boilerplate.git my-saas
cd my-saas
npm install

Environment variables

Copy the example file and fill in your credentials:

cp .env.local.example .env.local
.env.local
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key

STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...

RESEND_API_KEY=re_...
NEXT_PUBLIC_APP_URL=http://localhost:3000

Run the dev server

npm run dev

Open http://localhost:3000 and you should see the landing page.