Quickstart
Get Videa running locally in minutes.
Prerequisites
- Node.js 20.9+
- pnpm 10+
- PostgreSQL database (Supabase, Neon, or Vercel Postgres recommended)
Installation
1. Clone and install dependencies
git clone <your-videa-repository-url>
cd Videa
pnpm install2. Configure environment variables
Copy the example environment file and fill in your values:
cp .env.example .envAt minimum, you need:
DATABASE_URL="postgresql://user:password@host/db?sslmode=require"
BETTER_AUTH_SECRET="at-least-32-characters-random-key"
BETTER_AUTH_URL="http://localhost:3000"
NEXT_PUBLIC_APP_URL="http://localhost:3000"See Environment Variables for the full list.
3. Set up the database
pnpm db:pushThis pushes the Drizzle schema to your database. For production, use migrations:
pnpm db:generate
pnpm db:migrate4. Create an admin account
pnpm admin:setup5. Start the dev server
pnpm devVisit http://localhost:3000 to see your app.
What's Next?
- Project Structure — Understand the codebase layout
- Authentication — Configure auth providers
- Payments — Set up billing and subscriptions
- AI Features — Configure AI integrations