This example shows how to implement a concurrent ticket booking system with Prisma and ZenStack.
- install dependencies
npm install
- build
npm run build
- seed the database
npm run seed
- run any of the below example:
- simple approach
npm run simple
- optimistic concurrency control in Prisma
npm run occ
- optimistic concurrency control in ZenStack
npm run zen