yss14 / prisma-reproducible-example-nested-writes-optional-relation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prisma-reproducible-example

Run

Create a .env file and provide a DATABASE_URL environment variable

npm i
npm run prisma:generate
npm run prisma:migrate-deploy
npm start

Setup Demo

  1. Create a .env file and provide a DATABASE_URL environment variable
  2. Create you demo prisma schema in prisma/schema.prisma
  3. Write your code resulting in the bug you want to showcase in src/index.ts

About

License:MIT License


Languages

Language:TypeScript 98.7%Language:Shell 1.3%