This project is a simple app to understand how to use Prisma ORM with Next.js. The app is a simple CRUD app that allows you to create, read, update and delete posts.
- Clone the project
- Run
npm install
to install all the dependencies - Run
npm run dev
to start the development server
- npx prisma init
- npx prisma generate
- npx prisma db push
- npx prisma migrate dev
- Create a new model in the
schema.prisma
file - Run
npx prisma migrate dev
to create a new migration
- For more information visit the Prisma web site