Isn't created as a Serious Project. Just created to Clear the concepts of the Used Technologies...
- Next JS
- Prisma
- SQLite
- ChatGPT
Designed by ChatGPT. Modified and Described by Your Very Own!
yarn add prisma @prisma/client sqlite3
yarn prisma init
Edit in "prisma/schema.prisma"
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
Edit in "prisma/schema.prisma"
generator client {
provider = "prisma-client-js"
}
model UserTask {
id String @id @default(cuid())
title String
description String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
yarn prisma generate
yarn prisma migrate dev --name init
yarn prisma studio
If you are interested in Checking the Conversation with the ChatGPT, you Can Check Here