Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soulsam480/trpc-hyperexpress
tRPC adapter for HyperExpress
https://github.com/soulsam480/trpc-hyperexpress
Last synced: about 2 months ago
JSON representation
tRPC adapter for HyperExpress
- Host: GitHub
- URL: https://github.com/soulsam480/trpc-hyperexpress
- Owner: soulsam480
- License: mit
- Created: 2022-06-17T17:48:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T12:10:00.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T01:02:14.884Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 60.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## tRPC-HyperExpress
> tRPC adapter for HyperExpress[![codecov](https://codecov.io/gh/soulsam480/trpc-hyperexpress/branch/master/graph/badge.svg?token=oPOjxDkGWr)](https://codecov.io/gh/soulsam480/trpc-hyperexpress) [![Test](https://github.com/soulsam480/trpc-hyperexpress/actions/workflows/test.yml/badge.svg)](https://github.com/soulsam480/trpc-hyperexpress/actions/workflows/test.yml)
### Why ?
- [HyperExpress](https://github.com/kartikk221/hyper-express) is fast, like really fast and has much higher throughoutput than fastify. See the benchmarks
- I freaking love tRPC and the typesafety it brings.### How ?
I just copied everything from [https://github.com/trpc/trpc/tree/main/packages/server/src/adapters/fastify](https://github.com/trpc/trpc/tree/main/packages/server/src/adapters/fastify).### Status
This is far from being used in prod. This was built as a POC. I'll use this in Mirai and see if I can make is better as a lib. I'll also try to add some tests. Also uWebsockets.js is really good as a websockets server, so I'll try to harness the power with tRPC subscriptions.**TODO**
- [ ] Setup WS (tRPC subscriptions)
- [ ] more tests### Credits
- All [tRPC](https://github.com/trpc) contributors and Sir [Alex](https://github.com/KATT) !. Thanks for creating this amazing piece of software.