You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<palign="center">End-to-end typesafe APIs built quicker & easier</p>
17
-
18
-
> [!NOTE]
19
-
> This project is still in heavy development, please be mindful of breaking changes.
20
-
21
-
**oRPC is a powerful combination of RPC and OpenAPI, offering an exceptional developer experience powered by TypeScript. It's designed to be simple and straightforward to use.**
22
-
23
-
---
24
-
25
-
## Features
22
+
<h3align="center">Typesafe APIs Made Simple 🪄</h3>
26
23
27
-
-**Type-safe 🔒**: oRPC is built on top of TypeScript, which means you get full type safety out of the box.
28
-
-**Easy to use ✍️**: oRPC is designed to be simple and straightforward to use.
29
-
-**Contract first 📝**: Take advantage of a "contract first" approach to developing your API.
30
-
-**Built-in plugins 🔌**: Easily implement into your favourite frameworks.
24
+
**oRPC is a powerful combination of RPC and OpenAPI**, makes it easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards, ensuring a smooth and enjoyable developer experience.
31
25
32
26
---
33
27
34
-
## Documentation & Examples
35
-
36
-
You can find the full documentation & examples [here](https://orpc.unnoq.com).
37
-
38
-
---
28
+
## Highlights
29
+
30
+
-**End-to-End Type Safety 🔒**: Ensure complete type safety from inputs to outputs and errors, bridging server and client seamlessly.
31
+
-**First-Class OpenAPI 📄**: Adheres to the OpenAPI standard out of the box, ensuring seamless integration and comprehensive API documentation.
32
+
-**Contract-First Development 📜**: (Optional) Define your API contract upfront and implement it with confidence.
33
+
-**Exceptional Developer Experience ✨**: Enjoy a streamlined workflow with robust typing and clear, in-code documentation.
34
+
-**Multi-Runtime Support 🌍**: Run your code seamlessly on Cloudflare, Deno, Bun, Node.js, and more.
35
+
-**Framework Integrations 🧩**: Supports Tanstack Query (React, Vue), Pinia Colada, and more.
36
+
-**Server Actions ⚡️**: Fully compatible with React Server Actions on Next.js, TanStack Start, and more.
37
+
-**Standard Schema Support 🗂️**: Effortlessly work with Zod, Valibot, ArkType, and others right out of the box.
38
+
-**Fast & Lightweight 💨**: Built on native APIs across all runtimes – optimized for speed and efficiency.
39
+
-**Native Types 📦**: Enjoy built-in support for Date, File, Blob, BigInt, URL and more with no extra setup.
40
+
-**Lazy Router ⏱️**: Improve cold start times with our lazy routing feature.
41
+
-**SSE & Streaming 📡**: Provides SSE and streaming features – perfect for real-time notifications and AI-powered streaming responses.
42
+
-**Reusability 🔄**: Write once and reuse your code across multiple purposes effortlessly.
43
+
-**Extendability 🔌**: Easily enhance oRPC with plugins, middleware, and interceptors.
44
+
-**Reliability 🛡️**: Well-tested, fully TypeScript, production-ready, and MIT licensed for peace of mind.
45
+
-**Simplicity 💡**: Enjoy straightforward, clean code with no hidden magic.
46
+
47
+
## Documentation
48
+
49
+
You can find the full documentation [here](https://orpc.unnoq.com).
39
50
40
51
## Packages
41
52
42
-
-`@orpc/contract`: Build your API contract.
43
-
-`@orpc/server`: Build your API or implement API contract.
44
-
-`@orpc/client`: Consume your API on the client with type-safety.
45
-
-`@orpc/react-query`: Integration with [React Query](https://tanstack.com/query/latest/docs/framework/react/overview).
46
-
-`@orpc/vue-query`: Integration with [Vue Query](https://tanstack.com/query/latest/docs/framework/vue/overview).
47
-
-`@orpc/vue-colada`: Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
48
-
-`@orpc/openapi`: Generate OpenAPI specs and provide OpenAPI handler for `@orpc/server`.
49
-
-`@orpc/next`: Helpers and hooks for [Next.JS](https://nextjs.org/).
50
-
-`@orpc/zod`: More schemas that [Zod](https://zod.dev/) doesn't support yet.
51
-
52
-
---
53
-
54
-
## Comparison
55
-
56
-
This comparison table helps you understand how oRPC differs from other popular TypeScript RPC and REST solutions.
57
-
58
-
- ✅ First-class, built-in support.
59
-
- 🟡 Lacks features, or requires third-party integrations.
-[@orpc/contract](https://www.npmjs.com/package/@orpc/contract): Build your API contract.
54
+
-[@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
55
+
-[@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
56
+
-[@orpc/react-query](https://www.npmjs.com/package/@orpc/react-query): Integration with [React Query](https://tanstack.com/query/latest/docs/framework/react/overview).
57
+
-[@orpc/vue-query](https://www.npmjs.com/package/@orpc/vue-query): Integration with [Vue Query](https://tanstack.com/query/latest/docs/framework/vue/overview).
58
+
-[@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
59
+
-[@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
60
+
-[@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
77
61
78
62
## References
79
63
@@ -84,4 +68,4 @@ oRPC is inspired by existing solutions that prioritize type safety and developer
84
68
85
69
## License
86
70
87
-
Distributed under the MIT License. See [LICENSE](LICENSE) for more information.
71
+
Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information.
<h3align="center">Typesafe APIs Made Simple 🪄</h3>
23
+
24
+
**oRPC is a powerful combination of RPC and OpenAPI**, makes it easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards, ensuring a smooth and enjoyable developer experience.
25
+
26
+
---
27
+
28
+
## Highlights
29
+
30
+
-**End-to-End Type Safety 🔒**: Ensure complete type safety from inputs to outputs and errors, bridging server and client seamlessly.
31
+
-**First-Class OpenAPI 📄**: Adheres to the OpenAPI standard out of the box, ensuring seamless integration and comprehensive API documentation.
32
+
-**Contract-First Development 📜**: (Optional) Define your API contract upfront and implement it with confidence.
33
+
-**Exceptional Developer Experience ✨**: Enjoy a streamlined workflow with robust typing and clear, in-code documentation.
34
+
-**Multi-Runtime Support 🌍**: Run your code seamlessly on Cloudflare, Deno, Bun, Node.js, and more.
35
+
-**Framework Integrations 🧩**: Supports Tanstack Query (React, Vue), Pinia Colada, and more.
36
+
-**Server Actions ⚡️**: Fully compatible with React Server Actions on Next.js, TanStack Start, and more.
37
+
-**Standard Schema Support 🗂️**: Effortlessly work with Zod, Valibot, ArkType, and others right out of the box.
38
+
-**Fast & Lightweight 💨**: Built on native APIs across all runtimes – optimized for speed and efficiency.
39
+
-**Native Types 📦**: Enjoy built-in support for Date, File, Blob, BigInt, URL and more with no extra setup.
40
+
-**Lazy Router ⏱️**: Improve cold start times with our lazy routing feature.
41
+
-**SSE & Streaming 📡**: Provides SSE and streaming features – perfect for real-time notifications and AI-powered streaming responses.
42
+
-**Reusability 🔄**: Write once and reuse your code across multiple purposes effortlessly.
43
+
-**Extendability 🔌**: Easily enhance oRPC with plugins, middleware, and interceptors.
44
+
-**Reliability 🛡️**: Well-tested, fully TypeScript, production-ready, and MIT licensed for peace of mind.
45
+
-**Simplicity 💡**: Enjoy straightforward, clean code with no hidden magic.
46
+
47
+
## Documentation
48
+
49
+
You can find the full documentation [here](https://orpc.unnoq.com).
50
+
51
+
## Packages
52
+
53
+
-[@orpc/contract](https://www.npmjs.com/package/@orpc/contract): Build your API contract.
54
+
-[@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
55
+
-[@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
56
+
-[@orpc/react-query](https://www.npmjs.com/package/@orpc/react-query): Integration with [React Query](https://tanstack.com/query/latest/docs/framework/react/overview).
57
+
-[@orpc/vue-query](https://www.npmjs.com/package/@orpc/vue-query): Integration with [Vue Query](https://tanstack.com/query/latest/docs/framework/vue/overview).
58
+
-[@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
59
+
-[@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
60
+
-[@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
61
+
62
+
## `@orpc/client`
63
+
64
+
Consume your API on the client with type-safety. Read the [documentation](https://orpc.unnoq.com/docs/client/client-side) for more information.
<h3align="center">Typesafe APIs Made Simple 🪄</h3>
23
+
24
+
**oRPC is a powerful combination of RPC and OpenAPI**, makes it easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards, ensuring a smooth and enjoyable developer experience.
25
+
26
+
---
27
+
28
+
## Highlights
29
+
30
+
-**End-to-End Type Safety 🔒**: Ensure complete type safety from inputs to outputs and errors, bridging server and client seamlessly.
31
+
-**First-Class OpenAPI 📄**: Adheres to the OpenAPI standard out of the box, ensuring seamless integration and comprehensive API documentation.
32
+
-**Contract-First Development 📜**: (Optional) Define your API contract upfront and implement it with confidence.
33
+
-**Exceptional Developer Experience ✨**: Enjoy a streamlined workflow with robust typing and clear, in-code documentation.
34
+
-**Multi-Runtime Support 🌍**: Run your code seamlessly on Cloudflare, Deno, Bun, Node.js, and more.
35
+
-**Framework Integrations 🧩**: Supports Tanstack Query (React, Vue), Pinia Colada, and more.
36
+
-**Server Actions ⚡️**: Fully compatible with React Server Actions on Next.js, TanStack Start, and more.
37
+
-**Standard Schema Support 🗂️**: Effortlessly work with Zod, Valibot, ArkType, and others right out of the box.
38
+
-**Fast & Lightweight 💨**: Built on native APIs across all runtimes – optimized for speed and efficiency.
39
+
-**Native Types 📦**: Enjoy built-in support for Date, File, Blob, BigInt, URL and more with no extra setup.
40
+
-**Lazy Router ⏱️**: Improve cold start times with our lazy routing feature.
41
+
-**SSE & Streaming 📡**: Provides SSE and streaming features – perfect for real-time notifications and AI-powered streaming responses.
42
+
-**Reusability 🔄**: Write once and reuse your code across multiple purposes effortlessly.
43
+
-**Extendability 🔌**: Easily enhance oRPC with plugins, middleware, and interceptors.
44
+
-**Reliability 🛡️**: Well-tested, fully TypeScript, production-ready, and MIT licensed for peace of mind.
45
+
-**Simplicity 💡**: Enjoy straightforward, clean code with no hidden magic.
46
+
47
+
## Documentation
48
+
49
+
You can find the full documentation [here](https://orpc.unnoq.com).
50
+
51
+
## Packages
52
+
53
+
-[@orpc/contract](https://www.npmjs.com/package/@orpc/contract): Build your API contract.
54
+
-[@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
55
+
-[@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
56
+
-[@orpc/react-query](https://www.npmjs.com/package/@orpc/react-query): Integration with [React Query](https://tanstack.com/query/latest/docs/framework/react/overview).
57
+
-[@orpc/vue-query](https://www.npmjs.com/package/@orpc/vue-query): Integration with [Vue Query](https://tanstack.com/query/latest/docs/framework/vue/overview).
58
+
-[@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
59
+
-[@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
60
+
-[@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
61
+
62
+
## `@orpc/contract`
63
+
64
+
Build your API contract. Read the [documentation](https://orpc.unnoq.com/docs/contract-first/define-contract) for more information.
0 commit comments