Login
Docs
Getting started with ZexaNext

Getting started with ZexaNext

Welcome to ZexaNext - A Next.js template for building a SaaS in hours.

Setting up base is easy and takes just few minutes. Follow the steps below to get started.

  1. The first step to getting started with ZexaNext is to clone the repository and install the dependencies.
git clone git@github.com:zexaapp/zexanext.git
cd zexanext
git remove remote origin
npm i
npm run dev
  1. Rename .env.example to .env and update the environment variables.

  2. Open http://localhost:3000 to see the project running. You can now start customizing the template to suit your needs.

.env file

Rename the .env.example file to .env and update the environment variables. Change AUTH_SECRET to something else. The file content should look like this:

DATABASE_URL=
RESEND_API_KEY=
DATABASE_URL=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
AUTH_SECRET=my-auth-secret
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
STRIPE_API_KEY=
NEXT_PUBLIC_APP_URL=http://localhost:3000
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=G-1ZQZQZQZQZ