End2End validation using zod schemas
Enjoy2Live opened this issue · comments
Validation is necessary to ensure no user is misusing our API and apps, luckily our codebase is all js/ts which means we can share validation schemas between frontend and backend easily in order to validate on both side.
Zod is a TypeScript-first schema declaration and validation library with type safety & great development experience in mind, but the tools are endless in this regard so feel free to suggest another lib that's better than zod.