This is a Next.js project bootstrapped with create-next-app
.
npm install
npx prisma migrate dev
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
1. npm i prisma
2. npx prisma init --datasource-provider sqlite
3. create models
4. npx prisma migrate dev --name init
// Elegant way to handle error using zod, clientComponent // https://youtu.be/sdKFEo6978U?t=1840