Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryardley/rpctest
https://github.com/ryardley/rpctest
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryardley/rpctest
- Owner: ryardley
- Created: 2020-03-16T16:24:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T16:28:00.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T04:06:47.318Z (about 1 month ago)
- Language: TypeScript
- Size: 1.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless RPC
This takes code from https://github.com/bufferapp/micro-rpc and https://github.com/bufferapp/micro-rpc-client and fuses it with TypeScript ideas from https://github.com/aiden/rpc_ts to create an example of typesafe client - server RPC based on a [single definition file](https://github.com/ryardley/rpctest/blob/master/definition.ts).
The client and server components are both typesafe. This technique could be modified to create a more dynamic client.
This should work with no special Next.js configuration.