EDMS/server/api/dms/folder.get.js
shb 52a080e69a Initialized on Shariff system
Added overrides for Luxon to package.json. Luxon had conflicting dependencies when trying to perform `npm install`
2025-06-12 09:31:47 +08:00

14 lines
333 B
JavaScript

import { PrismaClient } from "@prisma/client";
const prisma = new PrismaClient();
export default defineEventHandler( async (event) => {
console.log("This is a test for a GET request to the backend");
const successMsg = "Hello from the backend";
return {
status: 200,
message: successMsg
};
});