Creator

Quickstart

Get Creator running locally in 5 minutes.

Prerequisites

  • Node.js 18+
  • PostgreSQL database (local or hosted — Neon, Supabase, etc.)
  • A package manager (npm, pnpm, or yarn)

1. Clone and install

cd creator
npm install

2. Set up environment variables

Copy the example file and fill in your values:

cp .env.example .env.local

At minimum, you need these to start the dev server:

NEXT_PUBLIC_APP_URL="http://localhost:3000"
DATABASE_URL="postgresql://user:password@host:5432/dbname"  # Use transaction pooler URL
AUTH_SECRET="generate-a-random-secret-here"
AUTH_URL="http://localhost:3000"

Generate an AUTH_SECRET with:

npx auth secret

3. Set up the database

Generate migration files from the schema and push them to your database:

npm run db:generate
npm run db:push

Then seed the database with an admin user:

npm run db:seed

This creates an admin account:

  • Email: admin@example.com
  • Password: password123

Change these credentials after your first login.

4. Start the dev server

npm run dev

Open http://localhost:3000 to see the landing page. Log in at /auth/login with the seeded admin credentials.

Available scripts

CommandDescription
npm run devStart development server
npm run buildProduction build
npm run startStart production server
npm run lintRun ESLint
npm run db:generateGenerate Drizzle migrations (interactive)
npm run db:migrateRun pending migrations
npm run db:pushPush schema directly to database (skips migrations)
npm run db:studioOpen Drizzle Studio UI
npm run db:seedSeed admin user

Next steps

  1. Update config/app.config.ts with your app name and settings
  2. Configure your billing plans in config/billing.config.ts
  3. Set up your email provider
  4. Set up your payment gateway
  5. Deploy to Vercel

On this page

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.