Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/doseofted/prim-rpc-examples

Short, example usages of Prim+RPC.
https://github.com/doseofted/prim-rpc-examples

examples ipc javascript rpc typescript

Last synced: 11 days ago
JSON representation

Short, example usages of Prim+RPC.

Awesome Lists containing this project

README

        

# Prim+RPC Examples

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/github/doseofted/prim-rpc-examples)

Examples of Prim+RPC usage. Referenced in
[Prim+RPC documentation](http://prim.doseofted.me/docs/examples):

- [Simple Testing](./simple-test/)
- [Client/Server Example](./client-server/)
- [Serverless](./serverless/)
- [Web Worker](./web-worker)
- [Monorepo Setup](./monorepo-setup)
- [Custom JSON Handler](./custom-handler)
- [Server Context](./server-context)
- [Fullstack Framework](./fullstack-framework)
- Electron IPC[^1]

You can [download examples individually](http://prim.doseofted.me/docs/examples)
from the documentation website or you may
[download the repository](https://github.com/doseofted/prim-rpc-examples) for
all examples.

You can install dependencies in all examples with `npm install`

## Other Examples

The examples in this repository are kept short and simple. You may find more
complete examples that use Prim+RPC below:

- [Todo App in Nuxt](https://github.com/doseofted/todo-nuxt-prim-rpc-demo)

You may also reference some experiments that I've created for fun:

- [Form Submission Using Only Prim+RPC](https://stackblitz.com/edit/prim-rpc-form-submit?file=README.md)
- [Synced Tab Drawings with Prim+RPC](https://stackblitz.com/edit/prim-rpc-connected-tabs?file=README.md)
- [Simple Authentication using Prim+RPC](https://stackblitz.com/edit/auth-with-prim-rpc?file=README.md)

## License

These example usages are licensed under the [MIT license](./LICENSE.md). Since
these examples may be used as a starting point, each project's `package.json`
license field is left as `UNLICENSED`.

[^1]: Example yet to be created