Initial commit: Next.js + Prisma setup

This commit is contained in:
ayrisdev
2026-04-02 04:18:25 +03:00
commit aba1ae39b2
21 changed files with 6936 additions and 0 deletions

23
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,23 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
output = "../src/generated/prisma"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model Project {
id String @id @default(cuid())
title String
description String
m2 Int
rooms String
images String[]
status String
createdAt DateTime @default(now())
}