https://github.com/litsynp/grpc-ts-node-practice
This is a practice project for gRPC with Node.js and TypeScript.
https://github.com/litsynp/grpc-ts-node-practice
grpc grpc-client grpc-server node typescript
Last synced: 5 months ago
JSON representation
This is a practice project for gRPC with Node.js and TypeScript.
- Host: GitHub
- URL: https://github.com/litsynp/grpc-ts-node-practice
- Owner: litsynp
- Created: 2023-01-07T16:42:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T16:58:38.000Z (about 3 years ago)
- Last Synced: 2024-12-27T05:41:40.560Z (over 1 year ago)
- Topics: grpc, grpc-client, grpc-server, node, typescript
- Language: TypeScript
- Homepage:
- Size: 111 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gRPC - TypeScript - Node Practice
This is a practice project for gRPC with Node.js and TypeScript.
## How to run
### Generate proto files
```bash
$ chmod +x ./proto-gen.sh
$ npm run proto:gen
```
### Run the gRPC server
```bash
$ npm run server
```
### Run the gRPC client
```bash
$ npm run client
```
## How to run (with build)
### Build
```bash
$ npm run build
```
### Run the gRPC server
```bash
$ node dist/server
```
### Run the gRPC client
```bash
$ node dist/client
```
## Result
