Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexgalhardo/learning-json-rpc
A personal project I created to learn and improve my skills in JSON-RPC to use in Load & Stress Tests benchmarkings
https://github.com/alexgalhardo/learning-json-rpc
bun json-rpc2 json-server jwt rpc
Last synced: about 2 months ago
JSON representation
A personal project I created to learn and improve my skills in JSON-RPC to use in Load & Stress Tests benchmarkings
- Host: GitHub
- URL: https://github.com/alexgalhardo/learning-json-rpc
- Owner: AlexGalhardo
- Created: 2024-04-25T21:36:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-01T16:13:07.000Z (8 months ago)
- Last Synced: 2024-05-02T09:03:47.814Z (8 months ago)
- Topics: bun, json-rpc2, json-server, jwt, rpc
- Language: TypeScript
- Homepage:
- Size: 25.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Learning JSON-RPC
## Introduction
- A personal project I created to learn and improve my skills in:
- [https://www.jsonrpc.org/specification](https://www.jsonrpc.org/specification)
- [https://www.npmjs.com/package/json-rpc-2.0](https://www.npmjs.com/package/json-rpc-2.0)## Development Setup Local
1. Clone repository
```
git clone [email protected]:AlexGalhardo/learning-json-rpc.git
```2. Install dependencies
```
bun install
```3. Run setup.sh
```
chmod +x setup.sh && ./setup.sh
```## [Single-file executable](https://bun.sh/docs/bundler/executables)
- Building Server
```
bun build --compile --minify ./src/server.ts --outfile server
```- Building Client
```
bun build --compile --minify ./src/client.ts --outfile client
```- Building all
```
bun run build
```- Executing binaries
```
./server
``````
./client
```## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) April 2024-present, [Alex Galhardo](https://github.com/AlexGalhardo)