updated codegen, fixed tsconfig, added prisma
added login, registration and session check
This commit is contained in:
parent
9518787206
commit
04b606b7fa
24 changed files with 740 additions and 1747 deletions
8
app/server/prisma/client.ts
Normal file
8
app/server/prisma/client.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { PrismaClient } from '@prisma/client';
|
||||
import { v4 } from 'uuid';
|
||||
|
||||
export const prisma = new PrismaClient();
|
||||
|
||||
export function uuid() {
|
||||
return v4();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue