Express and Prisma

  1. Prepare the project
git clone https://github.com/bali-dev-camp/02-express-prisma.git
  1. Install the library
npm install
  1. Whenever you make changes to your database that are reflected in the Prisma schema, you need to manually re-generate Prisma Client to update the generated code in the node_modules/.prisma/client directory and update the migration:
npx prisma generate
npx prisma migrate dev