Settings

Theme

Show HN: Clover – server routes augmented with Zod and OpenAPI

clover.sarim.garden

2 points by sarimabbas 3 years ago · 1 comment · 1 min read

Reader

I worked on a library I hope might be interesting to folks :)

Today, adding type safe wrappers to API routes (in frameworks like Next.js) requires reaching for solutions like TRPC or Zodios. I created a lighter weight alternative called Clover. It uses Zod for input validation and generates an OpenAPI schema. It also provides a type safe client. I welcome any feedback!

felchang 3 years ago

this is the best thing ever. if yalll want great technical writing, go to the explain it like im five page - https://clover.sarim.garden/eli5

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection