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, oryarn)
1. Clone and install
cd creator
npm install2. Set up environment variables
Copy the example file and fill in your values:
cp .env.example .env.localAt 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 secret3. Set up the database
Generate migration files from the schema and push them to your database:
npm run db:generate
npm run db:pushThen seed the database with an admin user:
npm run db:seedThis creates an admin account:
- Email:
admin@example.com - Password:
password123
Change these credentials after your first login.
4. Start the dev server
npm run devOpen http://localhost:3000 to see the landing page. Log in at /auth/login with the seeded admin credentials.
Available scripts
| Command | Description |
|---|---|
npm run dev | Start development server |
npm run build | Production build |
npm run start | Start production server |
npm run lint | Run ESLint |
npm run db:generate | Generate Drizzle migrations (interactive) |
npm run db:migrate | Run pending migrations |
npm run db:push | Push schema directly to database (skips migrations) |
npm run db:studio | Open Drizzle Studio UI |
npm run db:seed | Seed admin user |
Next steps
- Update
config/app.config.tswith your app name and settings - Configure your billing plans in
config/billing.config.ts - Set up your email provider
- Set up your payment gateway
- Deploy to Vercel