Skip to content

Get Started ​

NextSaasPilot is an all-in-one SaaS boilerplate for rapidly building modern applications.

NextSaasPilot - Next.js stater kit boilerplate

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 ​

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 ​

bash
npm run dev

Built with NextSaasPilot