feat: Initialize NestJS project with configuration files and basic structure

This commit is contained in:
Thibault Pouch
2026-05-01 10:57:17 +02:00
parent 2f7417c7fb
commit 86840e0021
12 changed files with 181 additions and 0 deletions

24
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,24 @@
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(cuid())
email String @unique
username String @unique
password String
role Role @default(MEMBER)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
enum Role {
ADMIN
DEV
MEMBER
}