TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby sarimabbasabout 2 years ago
I worked on a library I hope might be interesting to folks :)<p>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!

1 comment

felchangabout 2 years ago
this is the best thing ever. if yalll want great technical writing, go to the explain it like im five page - <a href="https:&#x2F;&#x2F;clover.sarim.garden&#x2F;eli5" rel="nofollow">https:&#x2F;&#x2F;clover.sarim.garden&#x2F;eli5</a>