- npx express-generator
- npm i nodemon --save-dev
- npm i prisma --save-dev
- npx prisma => get help
- npx prisma init
- npm install @prisma/client
- npx prisma generate
- - const {PrismaClient} = require("@prisma/client")
- - const prisma = new PrismaClient()
- npx prisma db push (COLUMN COUNT ERR=> RUN sudo /opt/lampp/bin/mysql_upgrade)
smartcoding88 / prisma Goto Github PK
View Code? Open in Web Editor NEWPrisma ORM - Databases Switch -- Code reusability