From 991c86be4538c5a8c3d974edf9609d0f79125d6b Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 18 Dec 2023 23:36:10 +0900 Subject: [PATCH 1/2] Fix --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index eaa3acc7..03b62e2b 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ A utility class to pass the same request options to multiple procedure calls. ## Examples +For all examples, see a [`examples`](examples) directory. + ### Next.js with [Route Handlers][route-handlers] `app/api/foo/route.ts`: From b6637e471a2edf7980d37f7fe541eec022e4542c Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 18 Dec 2023 23:41:21 +0900 Subject: [PATCH 2/2] Fix --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03b62e2b..7c9833b6 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,12 @@ [![npm](https://img.shields.io/npm/v/onerpc?style=flat-square)](https://www.npmjs.com/package/onerpc) [![License](https://img.shields.io/github/license/raviqqe/onerpc.svg?style=flat-square)](LICENSE) -The RPC library for [Next.js Route Handlers][route-handlers]. +The router-less serverless RPC framework. oneRPC is a minimal RPC library to convert a server-side function of a type, `(input: T) => Promise` into `(request: Request) => Promise` and make it callable from the client side in a type-safe way. +Currently, we support [Next.js Route Handlers][route-handlers] and [AWS Lambda](https://aws.amazon.com/lambda/). + ## Features - 🔮 Seamless client-server communication