Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankeos/hono-rpc-examples
🔥 Examples of Hono RPC's lightweight alternative to TRPC.
https://github.com/blankeos/hono-rpc-examples
Last synced: 4 days ago
JSON representation
🔥 Examples of Hono RPC's lightweight alternative to TRPC.
- Host: GitHub
- URL: https://github.com/blankeos/hono-rpc-examples
- Owner: Blankeos
- Created: 2024-02-25T07:56:36.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-16T14:52:23.000Z (7 months ago)
- Last Synced: 2024-05-15T15:31:35.803Z (6 months ago)
- Language: TypeScript
- Size: 241 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hono RPC Examples
These examples mostly use Hono, Hono RPC, and React Query.
Hono RPC is really cool. I want to replace tRPC with this because:
- [x] It's technically still REST endpoints. Not super coupled with the "tRPC" idea.
- [x] Hono is lightweight (I'm not sure if it's more lightweight, I can't benchmark as a scrub)
- [x] Hono is DevX is nice. I think the setup is less tedious than tRPC.### Examples
- [next-app](/next-app/) - Next 14 App Router
- [next-pages](/next-pages/) - Next 14 Pages Router
- [react-codegen](/react-codegen/) - Separate Frontend Host and Backend Host. How do we share types? Codegen. (This assumes client and server are separate repos).
- [svelte4](/svelte4/) - Svelte 4 and Kit