working ish version one with rooms, thx to claude

This commit is contained in:
2026-01-27 20:52:10 -06:00
parent 10cd0b2416
commit e06087e19f
14 changed files with 383 additions and 107 deletions

View File

@@ -0,0 +1,7 @@
import { NextResponse } from 'next/server';
import { createRoom } from '@/lib/rooms';
export async function POST() {
const { code, moderatorId } = createRoom();
return NextResponse.json({ code, moderatorId });
}