https://github.com/nitaking/ts-proto-gen
https://github.com/nitaking/ts-proto-gen
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nitaking/ts-proto-gen
- Owner: nitaking
- Created: 2022-12-17T03:32:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T04:26:06.000Z (over 3 years ago)
- Last Synced: 2025-07-05T20:09:22.680Z (9 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This playground inspired by this article: [Protocol Buffers から TypeScript の型定義を作る
](https://zenn.dev/ryo_kawamata/articles/ts-from-protocol-buffers)
# Getting Started
User -> BFF Client -> gRPC Server
```shell
yarn install
yarn dev
```
call get-posts
```shell
curl http://localhost:9999/get-posts
{"result":{"postsList":[{"id":1,"title":"にたわき","content":"よろしくおねがいします"},{"id":2,"title":"犬","content":"犬をよろしくおねがいします"}]}}
```