https://github.com/foomo/gotsrpc-playground
playground project to learn https://github.com/foomo/gotsrpc referenced on https://www.foomo.org/docs/projects/gotsrpc
https://github.com/foomo/gotsrpc-playground
Last synced: 12 months ago
JSON representation
playground project to learn https://github.com/foomo/gotsrpc referenced on https://www.foomo.org/docs/projects/gotsrpc
- Host: GitHub
- URL: https://github.com/foomo/gotsrpc-playground
- Owner: foomo
- Created: 2023-04-14T17:01:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T10:18:41.000Z (almost 3 years ago)
- Last Synced: 2025-03-02T03:16:17.771Z (over 1 year ago)
- Language: TypeScript
- Size: 177 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gotsrpc playground
playground project to learn https://github.com/foomo/gotsrpc referenced on https://www.foomo.org/docs/projects/gotsrpc .
## use the playground
In case you have not installed it, install `gotsrpc` by following the instructions https://github.com/foomo/gotsrpc#installation
The playground comes with a Makefile, that supports mutliple use cases:
### run to play with the client
If you want to run the server untouched and want to play around with the frontend:
```shell
# will run client and server
make run
```
### run to play with client and server
Open first terminal to run the client:
```shell
# will run client only - client is hot reloading and does not need to be
# restarted as it runs yarn dev and all of it's Next.js magic
make run-client
```
Open a second terminal to iterate on the server:
```shell
# 1 run gotsrpc and regenerate gode
make gotsrpc
# 2 will run server only
make run-server
# change code
# goto 1
```