first build commit

This commit is contained in:
2026-04-19 00:44:43 -04:00
parent bc271b7ce1
commit 55debd082b
82 changed files with 6217 additions and 97 deletions

View File

@@ -0,0 +1,11 @@
import { NextResponse } from 'next/server'
import { prisma } from '@/lib/prisma'
export async function GET() {
try {
await prisma.$queryRaw`SELECT 1`
return NextResponse.json({ status: 'ok' })
} catch {
return NextResponse.json({ status: 'error', detail: 'database unreachable' }, { status: 503 })
}
}