Всё переделано, разделено на backend и frontend

This commit is contained in:
Georgiy Syralev
2025-09-15 19:23:52 +03:00
parent a7a24dac88
commit f37e85e2e0
16 changed files with 4338 additions and 731 deletions

View File

@@ -0,0 +1,27 @@
// 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"
}
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
}
model User {
id Int @id @default(autoincrement())
username String
email String @unique
password String
createdAt DateTime @default(now())
}
// Пока что у тебя нет других моделей, но ты можешь
// добавить их сюда позже, например:
// model Plan {
// id Int @id @default(autoincrement())
// name String @unique
// price Float
// }