Template
Nuxt coursework boilerplate: Tailwind, Drizzle (MySQL), Redis, Pug page, Vercel deploy workflow
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { db } from "~~/server/db";
|
||||
import { notes } from "~~/server/db/schema";
|
||||
|
||||
export default defineEventHandler(async () => {
|
||||
return db.select().from(notes);
|
||||
});
|
||||
Reference in New Issue
Block a user