Full MVP implementation: - Next.js 16 + React 19 + TypeScript + Tailwind CSS v4 - LiveKit integration (rooms, tokens, webhooks, moderation) - better-auth (email/password, sessions, roles) - Prisma 7 + PostgreSQL (9 models, 3 enums) - 15 API routes (auth, rooms, lobby, chat, files, moderation, hand-raise) - 7 pages (landing, auth, dashboard, join, video room) - SSE-based waiting room with host approval flow - Security: PIN rate limiting, session fingerprint bans, chat/files auth - Python AI Agent (Deepgram STT + OpenAI summarization) - Docker Compose (local + production with Traefik + Let's Encrypt) - Interactive setup script (setup.sh) - Dev protection middleware (DEV_ACCESS_KEY, ALLOWED_IPS) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "prisma/config";
|
|
|
|
export default defineConfig({
|
|
earlyAccess: true,
|
|
schema: path.join(__dirname, "prisma", "schema.prisma"),
|
|
migrate: {
|
|
async url() {
|
|
return process.env.DATABASE_URL!;
|
|
},
|
|
},
|
|
} as any);
|