This project demonstrates how to use the @zenstackhq/zod package to generate Zod validation schemas from a ZenStack model.
The ZenStack schema (zenstack/schema.zmodel) defines two models — User and Post. Using createSchemaFactory, the sample derives Zod schemas for reading, creating, and updating these models, then validates data against them.
npm installnpm run dev