Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 zod Open-Source Projects
-
Superforms
Superforms is a SvelteKit library that helps you with server-side validation and client-side display of forms.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
resolvers
📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
openapi-zod-client
Generate a zodios (typescript http client with zod validation) from an OpenAPI spec (json/yaml)
-
express-zod-api
A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
-
fullstack-starter-template
Template for full stack applications based on TypeScript, React, Vite, ChakraUI, tRPC, Fastify, Prisma, zod, etc.
-
t3-blog
Typescript Fullstack forum made with Next.js, tRPC, Prisma, Next Auth, Tailwind CSS, S3 uploads, Zod & more. (by leojuriolli7)
-
zoxy
A small type-safe object proxy around Zod to help you stay safe after your data is loaded while continuing to edit them.
-
nestjs-graphql-zod
A library providing dynamic GraphQL object classes from their zod validation objects.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Cal.com is an open-source event-juggling scheduler for everyone, and is free for individuals.
This next step is probably the easiest. Since you're also sending the select platform template, you can reference that to determine if the data is valid (why not try superforms? I made an adapter for it).
Project mention: React-Hook-Form / YupResolver - Vercel build fails but local build is ok | /r/nextjs | 2023-09-20For anyone that reaches this post trying to obtain an answer, I found this issue in the react-hook-form repository. Specifically the comment that Mihai-github made.
Project mention: A library that generates OpenAPI (Swagger) docs from Zod schemas | news.ycombinator.com | 2023-10-26
Project mention: Next.js and GPT-4: A Guide to Streaming Generated Content as UI Components | dev.to | 2024-01-25Zod and GPT-4 Zod is great for generating typed JSON from GPT-4, because you can easily convert Zod schemas to JSON schemas using zod-to-json-schema and include descriptions for each property. The JSON schemas are passed to GPT-4 as function definitions or in the prompt (when you are using JSON mode).
Project mention: Is there a TS backend development environment similar to what I have for the frontend? | /r/typescript | 2023-07-08They have a lot of cool backend tools these days, but I'm not sure they're all what you're looking for exactly. tRPC is great for communicating with your backend, but you still need to use something like Express, or their Fetch support. Prisma is great for communicating with the database when you need simple CRUD functionality and whatnot, and if I remember correctly you can extend it if that's something you absolutely need. I just found recently in the Zod docs a generator library which takes your Prisma schema and generates Zod schemas, as well as writes your CRUD router based on your Prisma schema with tRPC. At that point, you'd just need to connect with your actual Express (or similar) server, and you're set. But all that said, tRPC has integrations with Nest, Express, even options for SSR, so if you want type-safe calls to the backend, it's a solid option. I also hear good things about Nest, if you're into the Angular-like experience. It really is up to you, there's a lot of options.
Since the OpenAPI specification is language-agnostic, we can use the output to validate data in both our frontend and backend. This approach makes total sense since we can provide uniform validation rules on both sides of our stack. There are a few libraries out there that can help us with this task, such as typed-openapi or openapi-zod-client, which can take an OpenAPI definition as an input and transform it to zod schema definitons.
Project mention: Express-zod-API – Zod based Node.js framework | news.ycombinator.com | 2024-04-17
Project mention: Next.js + Supabase Blog app with built-in user admin panel. | /r/Supabase | 2023-10-05Github: https://github.com/timtbdev/Next.js-Blog-App
I am using it for one of my projects (together with Fastify, Zod, Prisma). I also open sourced the starter template for it: https://github.com/Sairyss/fullstack-starter-template
Since the OpenAPI specification is language-agnostic, we can use the output to validate data in both our frontend and backend. This approach makes total sense since we can provide uniform validation rules on both sides of our stack. There are a few libraries out there that can help us with this task, such as typed-openapi or openapi-zod-client, which can take an OpenAPI definition as an input and transform it to zod schema definitons.
Project mention: With Next-auth, is there a good way to go about re-styling this page? Like add some branding around it or sum, change the colors. | /r/nextjs | 2023-06-18You can make your own pages, it sounds difficult but it's really simple. For example: https://github.com/leojuriolli7/t3-blog/tree/main/src/pages/auth
I have seen something like this in real code, and it led to bugs. ReScript won't allow you to do this, you will have to parse the JSON with a library like rescript-schema (it's like Zod).
zod related posts
- Express-zod-API – Zod based Node.js framework
- A library that generates OpenAPI (Swagger) docs from Zod schemas
- JSON Schema Store
- TypeSafe HTTP Fetch Client
-
zodios VS clover - a user suggested alternative
2 projects | 11 May 2023
- 📰 Next.js Weekly Recap #2: App Router, Background Functions, YakGPT, Vercel KV
- Thoughts on zod
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source zod projects? This list will help you:
Project | Stars | |
---|---|---|
1 | cal.com | 28,645 |
2 | Superforms | 1,865 |
3 | better-commits | 1,829 |
4 | resolvers | 1,591 |
5 | zodios | 1,521 |
6 | zod-prisma | 739 |
7 | zod-to-openapi | 682 |
8 | zod-to-json-schema | 719 |
9 | prisma-trpc-generator | 656 |
10 | houseform | 620 |
11 | openapi-zod-client | 622 |
12 | express-zod-api | 543 |
13 | remix-forms | 471 |
14 | znv | 320 |
15 | Next.js-Blog-App | 193 |
16 | fullstack-starter-template | 157 |
17 | typed-openapi | 141 |
18 | t3-blog | 123 |
19 | zoxy | 117 |
20 | rescript-schema | 116 |
21 | zod-express-middleware | 72 |
22 | nestjs-graphql-zod | 68 |
23 | supervillain | 58 |
Sponsored