Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryardley/rpctest


https://github.com/ryardley/rpctest

Last synced: 21 days ago
JSON representation

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.