first commit

This commit is contained in:
2025-09-07 22:57:43 +00:00
commit 3bd542adbf
122 changed files with 45056 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { PrismaClient } from '../../../generated/prisma/client';
const prisma = new PrismaClient();
export async function GET() {
const notices = await prisma.noticeBoard.findMany({
where: {
isDeleted: false,
},
select: {
id: true,
title: true,
pubDate: true,
tag: true,
// 필요한 다른 필드들도 추가
},
});
return Response.json(notices);
}