https://github.com/kevinmichaelchen/some-protos-ts-example
protobufs + ts-proto + typescript + nice-grpc
https://github.com/kevinmichaelchen/some-protos-ts-example
nice-grpc protobufs protos ts ts-proto typescript
Last synced: about 1 month ago
JSON representation
protobufs + ts-proto + typescript + nice-grpc
- Host: GitHub
- URL: https://github.com/kevinmichaelchen/some-protos-ts-example
- Owner: kevinmichaelchen
- Created: 2022-04-01T15:06:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-01T19:46:10.000Z (over 4 years ago)
- Last Synced: 2025-12-01T23:11:52.733Z (7 months ago)
- Topics: nice-grpc, protobufs, protos, ts, ts-proto, typescript
- Language: TypeScript
- Homepage:
- Size: 249 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# some-protos-ts-example
A small demo using [**nice-grpc**](https://github.com/deeplay-io/nice-grpc) and
Typescript protos generated with [**ts-proto**](https://github.com/stephenh/ts-proto).
The ts-proto options we're using are specified in another repo,
[some-protos-ts](https://github.com/kevinmichaelchen/some-protos-ts/blob/main/buf.gen.yaml).
The code where we're instantiating the gRPC channel and client, and performing
the call, can be found in [sayHello.ts](src/sayHello.ts).
### Running
```
yarn && yarn start
```
It depends on [@kevinmichaelchen/some-protos-ts](https://github.com/kevinmichaelchen/some-protos-ts)
```
yarn add @kevinmichaelchen/some-protos-ts
```