Appearance
Get Started β
NextSaasPilot is an all-in-one SaaS boilerplate for rapidly building modern applications.

Build your SaaS and Launch in a day π β
This documentation will guide you through setting up and customizing the boilerplate to help you quickly launch your SaaS application. Just follow the steps below to begin.
Built-in Features β
NextSaaSPilot comes pre-equipped with all the essential features you need to get started right away:
Authentication
Google OAuth and Credential-based integration
Payments
Stripe-powered subscriptions and checkout experience
Database
MongoDB database managed through Prisma ORM
Emails
Transactional emails via Resend with customizable React templates
Storage
Effortless file and image storage using AWS S3
Install Dependencies β
bash
npm install
App Config File β
- The
src/config.ts
file is where you configure your app. - Each key/property is explained, so read it carefullyβit's important for your app.
Environment Variables β
- Rename the
.env.example
file to.env
- Generate a secret
AUTH_SECRET
using this website https://auth-secret-gen.vercel.app/
txt
AUTH_URL="http://localhost:3000"
# Generate SECRET using this https://auth-secret-gen.vercel.app/
AUTH_SECRET=""
DATABASE_URL=""
AUTH_GOOGLE_ID=""
AUTH_GOOGLE_SECRET=""
AUTH_RESEND_KEY=""
AWS_S3_REGION=""
AWS_S3_BUCKET_NAME=""
AWS_S3_ACCESS_KEY=""
AWS_S3_SECRET_KEY=""
STRIPE_SECRET_KEY=""
STRIPE_PUBLIC_KEY=""
STRIPE_WEBHOOK_SECRET=""
Migrate the Database β
bash
npm run db:generate # Generate the migrations
npm run db:push # Apply changes to the database
Run Development Server β
- Open http://localhost:3000β in your browser to see the app in action.
bash
npm run dev