- Prepare the project
git clone https://github.com/bali-dev-camp/02-express-prisma.git
- Install the library
npm install
- 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 themigration
:
npx prisma generate
npx prisma migrate dev