Skip to content

Commit

Permalink
fix: adds marquee png and ToC to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
morgs32 committed Aug 11, 2023
1 parent eab1538 commit 8c4db78
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# `zod-sdk`
![zod-sdk](./zod-sdk.png)

Zod SDK is an RPC library. Like TRPC it's going to reflect types from your backend. Of course, it does more than that. Here's what:

- [What and why](#what-and-why)
- [Type narrowing your payloads](#type-narrowing-your-payloads)
- [Asynchronous context tracking in Node](#asynchronous-context-tracking-in-node)
- [Where does zod come in?](#where-does-zod-come-in)
- [Getting Started](#getting-started)
- [On the server, make a router](#on-the-server-make-a-router)
- [On the client, make a dispatcher](#on-the-client-make-a-dispatcher)
- [useQuery in React](#usequery-in-react)
- [server](#server)
- [server.makeService](#servermakeservice)
- [server.makeRouter](#servermakerouter)
- [server.makeQuery](#servermakequery)
- [client](#client)
- [client.makeDispatcher](#clientmakedispatcher)
- [client.query](#clientquery)
- [client.command](#clientcommand)
- [FAQ](#faq)
- [To do](#to-do)

<br />

# What and why

## Type narrowing your payloads
Expand Down
Binary file added zod-sdk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8c4db78

Please sign in to comment.