Authentication
- Magic link authentication
- OAuth providers (Google, GitHub, etc.)
- Protected routes with middleware
- User session management
Procodinnaaaa! Hey maker, welcome to LaunchKit 👋
Here’s a quick overview of the boilerplate. Follow along to get your app up and running.
Once you’re done, start with the Launch in 5 minutes tutorial to launch your project in 5 minutes. Let’s build that startup, FAST 🚀
Authentication
Payments
UI Components
Email System
Marketing
Security and Performance
LaunchKit comes with a modern, production-ready tech stack:
git clone https://github.com/flyingwebie/LaunchKit.git [YOUR_APP_NAME]
cd [YOUR_APP_NAME]
npm install
npm run dev
pnpm install
pnpm run dev
yarn install
yarn run dev
bun install
bun run dev
git remote remove origin
LaunchKit requires Node 18.17 or greater. Type node -v
in your terminal to check version.
.env.example
to .env
mv .env.example .env.local
Go to the Supabase dashboard, create a new project and paste your 3 Supabase environment variables NEXT_PUBLIC_SUPABASE_URL
, NEXT_PUBLIC_SUPABASE_ANON_KEY
, SUPABASE_SERVICE_ROLE_KEY
in .env.local
Open http://localhost:3000
to see your site. And voila!
You will see errors in the console but nothing important.
LaunchKit uses the latest Next.js 15 with App Router for optimal performance and developer experience:
/app
→ Pages (1 folder + page.tsx = 1 page)/app/api
→ API routes (1 file = 1 API endpoint)/components
→ React components (25+ pre-built components)/libs
→ Libraries helper functions (Stripe, Resend, Supabase, SEO, etc.)/types
→ TypeScript type definitions/public
→ Static assetsThis is the backbone of your LaunchKit app. It centralizes all configuration including:
Each key is documented to know how and why it’s used. Have a thorough look at it as it controls most of your app’s behavior.
Rename the .env.example
file to .env.local
. The file content should look like this:
# -----------------------------------------------------------------------------
# GitHub
# -----------------------------------------------------------------------------
GITHUB_TOKEN=
# -----------------------------------------------------------------------------
# Resend
# -----------------------------------------------------------------------------
RESEND_API_KEY=
# -----------------------------------------------------------------------------
# Database URI
# -----------------------------------------------------------------------------
NEXT_PUBLIC_APP_URL=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# -----------------------------------------------------------------------------
# Stripe
# -----------------------------------------------------------------------------
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=