Quick Start

Getting started with EasyToLaunch

Introduction

EasyToLaunch is a NextJS boilerplate with all the essential tools you need to launch your SaaS faster and it’s build on top of the latest and most popular technologies in the world:

  • NextJS
  • Typescript
  • Supabase
  • Stripe/Polar
  • Tailwincss

EasyToLaunch currently supports the Next.js App Router only. Pages Router is not supported (yet).


Prerequisites

Before getting started, make sure you have the following:

  • Latest Node.js version recommended. Verify with node -v.
  • A Supabase account and project
  • A Stripe account

Clone the Repository

Run the following commands in your terminal to clone the boilerplate and install dependencies:

Terminal
git clone https://github.com/EasyToLaunch/EasyToLaunch_Stripe.git [YOUR_APP_NAME]
cd [YOUR_APP_NAME]
npm install
git remote remove origin

Replace [YOUR_APP_NAME] with your project name. The last command detaches the project from the original remote so you can connect your own repository.

Rename .env.example file

Rename the .env.example file to .env.local:

Terminal
mv .env.example .env.local

Your .env.local file should contain the following keys:

.env.local
NEXT_PUBLIC_SITE_URL=http://localhost:3000

## SUPABASE API KEYS
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=

## STRIPE API KEYS
STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

Run the Development Server

Start the local development server and open the localhost:3000:

Terminal
npm run dev

You'll see error in the terminal, it´s normal don't worry about it. Follow this guide to setup everything correctly

On this page